Hadoop示例中的错误

时间:2013-01-17 15:22:32

标签: java hadoop

我正在使用hadoop1.1.1,而我正在尝试执行wordcount示例,然后我在指定位置的文件中获得eof异常。

  

线程“main”中的异常java.io.IOException:调用   localhost / 127.0.0.1:9100本地异常失败:   java.io.EOFException的           在org.apache.hadoop.ipc.Client.wrapException(Client.java:1144)           在org.apache.hadoop.ipc.Client.call(Client.java:1112)           在org.apache.hadoop.ipc.RPC $ Invoker.invoke(RPC.java:229)           在$ Proxy1.getProtocolVersion(未知来源)           在org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411)           在org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:135)           在org.apache.hadoop.hdfs.DFSClient。(DFSClient.java:276)           在org.apache.hadoop.hdfs.DFSClient。(DFSClient.java:241)           在org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:100)           在org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1411)           在org.apache.hadoop.fs.FileSystem.access $ 200(FileSystem.java:66)           在org.apache.hadoop.fs.FileSystem $ Cache.get(FileSystem.java:1429)           在org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)           在org.apache.hadoop.fs.FileSystem.get(FileSystem.java:123)           在org.apache.hadoop.fs.FileSystem.get(FileSystem.java:238)           在org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)           at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.setInputPaths(FileInputFormat.java:352)           在WordCountDriver.main(WordCountDriver.java:32)           引起:java.io.EOFException           at java.io.DataInputStream.readInt(DataInputStream.java:392)           在org.apache.hadoop.ipc.Client $ Connection.receiveResponse(Client.java:848)           在org.apache.hadoop.ipc.Client $ Connection.run(Client.java:786)

Please help.

0 个答案:

没有答案