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

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,

This works wells in Hadoop but doesn't work for 0.19.

Please help!

Many thanks in advance!

Warm regards

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