Re: hdfsConnect/hdfsWrite API writes conetnts of file to local system instead of HDFS system

2013-06-08 Thread Shahab Yunus
I notice that for fs.default.name, you have in core-site.xml hdfs://127.0.0.1:8020 This is local host address, of your local machine so hdfs is there. Where you are expecting it to be created and where it is being created?fs Regards, Shahab On Fri, Jun 7, 2013 at 10:49 PM, Venkivolu, Dayakar

hdfsConnect/hdfsWrite API writes conetnts of file to local system instead of HDFS system

2013-06-07 Thread Venkivolu, Dayakar Reddy
Hi, I have created the sample program to write the contents into HDFS file system. The file gets created successfully, but unfortunately the file is getting created in Local system instead of HDFS system. Here is the source code of sample program: int main(int argc, char **argv) {