hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanley Shi <s...@gopivotal.com>
Subject Re: How to solve it ? java.io.IOException: Failed on local exception
Date Wed, 05 Mar 2014 08:42:18 GMT
which version of hadoop you are using?
This is something similar with your error log:
http://stackoverflow.com/questions/19895969/can-access-hadoop-fs-through-shell-but-not-through-java-main

Regards,
*Stanley Shi,*



On Wed, Mar 5, 2014 at 4:29 PM, 张超 <chao.zhang@dianping.com> wrote:

> Hi all,
> Here is a problem that confuses me.
>
> when I use java code to manipulate pseudo-distributed hadoop , it throws
> an exception:
>
> java.io.IOException: Failed on local exception: java.io.EOFException; Host
> Details : local host is: "localhost/127.0.0.1"; destination host is:
> ""localhost":9000;
>
> I have imported the "core-site.xml" file, hadoop-common.jar and
> hadoop-hdfs.jar into my project, and also run the  pseudo-distributed
> cluster.
>
> How can I solve the problem ? Please tell me, thank you !
>

Mime
View raw message