Re: create error

2010-07-05 Thread Aaron Kimball
Is there a reason you're using that particular interface? That's very low-level. See http://wiki.apache.org/hadoop/HadoopDfsReadWriteExample for the proper API to use. - Aaron On Sat, Jul 3, 2010 at 1:36 AM, Vidur Goyal vi...@students.iiit.ac.inwrote: Hi, I am trying to create a file in

create error

2010-07-03 Thread Vidur Goyal
Hi, I am trying to create a file in hdfs . I am calling create from an instance of DFSClient. This is a part of code that i am using byte[] buf = new byte[65536]; int len; while ((len = dis.available()) != 0) { if