Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> FileSystem API for 0.19


Copy link to this message
-
FileSystem API for 0.19
Hello,

I am using the FS API to write into files in HDFS.

FileSystem fs = FileSystem.get(jobconf);

Path pt = new Path(some_string);

BufferedWriter wr = new BufferedWriter(new OutputStreamWriter(fs.create(pt,
true)));

C_init.write("Hello!");
This works wells in Hadoop 0.20.203.0 but doesn't work for 0.19.

Please help!

Many thanks in advance!

Warm regards

Arko
+
Harsh J 2011-10-11, 02:34
+
Arko Provo Mukherjee 2011-10-11, 15:42