You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.
The c code like this,
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
int main(int argc, char **argv) {
int fp;
fp= open("/mnt/hdfs/fusetest",O_CREAT | O_RDWR , 0664);
if(fp<0){
printf("error creating...\n");
return -1;
}
}
2. compile the code with gcc and run the executable.
What is the expected output? What do you see instead?
I expect the file can be created successfully.
What version of the product are you using? On what operating system?
hadoop-0.20.2 on ubuntu 9.04 amd64. Kernel version 2.6.28.10
Please provide any additional information below.
fopen works. but open does not work.
Original issue reported on code.google.com by [email protected] on 8 Jul 2011 at 8:04
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 8 Jul 2011 at 8:04The text was updated successfully, but these errors were encountered: