hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Anchlia <mohitanch...@gmail.com>
Subject Re: Writing to SequenceFile fails
Date Tue, 21 Feb 2012 21:45:26 GMT
I am past this error. Looks like I needed to use CDH libraries. I changed
my maven repo. Now I am stuck at

*org.apache.hadoop.security.AccessControlException *since I am not writing
as user that owns the file. Looking online for solutions


On Tue, Feb 21, 2012 at 12:48 PM, Mohit Anchlia <mohitanchlia@gmail.com>wrote:

> I am trying to write to the sequence file and it seems to be failing. Not
> sure why, Is there something I need to do
>
> String uri="hdfs://db1:54310/examples/testfile1.seq";
>
> FileSystem fs = FileSystem.*get*(URI.*create*(uri), conf);      //Fails
> on this line
>
>
> Caused by:
> *java.io.EOFException*
>
> at java.io.DataInputStream.readInt(
> *DataInputStream.java:375*)
>
> at org.apache.hadoop.ipc.Client$Connection.receiveResponse(
> *Client.java:501*)
>
> at org.apache.hadoop.ipc.Client$Connection.run(*Client.java:446*)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message