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


+
Arko Provo Mukherjee 2011-10-10, 21:54
+
Harsh J 2011-10-11, 02:34
Copy link to this message
-
Re: FileSystem API for 0.19
Hi,

Yeah, I fixed the problem, I compiled against the incorrect jars.

The reason I use 0.19 is that the cloud I have access to is still being maintained at 0.19 :(

Thanks much!
Warm regards
Arko

On Oct 10, 2011, at 9:34 PM, Harsh J <[EMAIL PROTECTED]> wrote:

> Arko,
>
> It helps if we know what "doesn't work" means, and if we can see
> stacktraces [0], and what your steps were for execution that lead to
> it 'not working'.
>
> My best guess in the dark would be that you are not using the right
> client jars when communicating with either of the HDFS servers. Due to
> incompatible changes to the HDFS protocols used within, inter-version
> talk between 0.19 and 0.20 isn't possible. You need a separate client
> prepared for each.
>
> Besides, why are you interested in using 0.19, as it is now unmaintained?
>
> [0] - http://imgur.com/jacoj [J/K]
>
> On Tue, Oct 11, 2011 at 3:24 AM, Arko Provo Mukherjee
> <[EMAIL PROTECTED]> wrote:
>> 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