EOFException when running bin/tachyon format

4 views
Skip to first unread message

Costantinos Costa

unread,
Jul 31, 2014, 2:19:50 PM7/31/14
to tachyo...@googlegroups.com
Hello,

I am getting the following exception when i run 'tachyon format'. Could you please provide me with some solution? 
I tried a lot of things in order to fix it but with no luck. If you see the stacktrace the exception occured when tachyon needs to write on hdfs (Path.getFileSystem).
Please find attached the configuration file.

Thanks,
C.

hduser@crowdhood10:/usr/local/tachyon$ bin/tachyon format
Connection to 10.16.30.83... Formatting Tachyon Worker @ crowdhood10
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.83 closed.
Connection to 10.16.30.78... Formatting Tachyon Worker @ crowdhood4
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.78 closed.
Connection to 10.16.30.101... Formatting Tachyon Worker @ crowdhood6
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.101 closed.
Connection to 10.16.30.100... Formatting Tachyon Worker @ crowdhood7
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.100 closed.
Connection to 10.16.30.209... Formatting Tachyon Worker @ crowdhood8
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.209 closed.
Connection to 10.16.30.105... Formatting Tachyon Worker @ crowdhood9
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.105 closed.
Connection to 10.16.30.80... Formatting Tachyon Worker @ crowdhood11
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.80 closed.
Connection to 10.16.30.81... Formatting Tachyon Worker @ crowdhood12
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.81 closed.
Connection to 10.16.30.82... Formatting Tachyon Worker @ crowdhood13
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.82 closed.
Connection to 10.16.30.106... Formatting Tachyon Worker @ crowdhood14
Removing local data under folder: /mnt/ramdisk/tachyonworker/
Connection to 10.16.30.106 closed.
Formatting Tachyon Master @ 10.16.30.83
Formatting JOURNAL_FOLDER: /usr/local/tachyon/libexec/../journal/
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Call to crowdhood10/10.16.30.83:54310 failed on local exception: java.io.EOFException
at tachyon.util.CommonUtils.runtimeException(CommonUtils.java:475)
at tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:93)
at tachyon.UnderFileSystemHdfs.getClient(UnderFileSystemHdfs.java:56)
at tachyon.UnderFileSystem.get(UnderFileSystem.java:69)
at tachyon.UnderFileSystem.get(UnderFileSystem.java:54)
at tachyon.Format.formatFolder(Format.java:32)
at tachyon.Format.main(Format.java:59)
Caused by: java.io.IOException: Call to crowdhood10/10.16.30.83:54310 failed on local exception: java.io.EOFException
at org.apache.hadoop.ipc.Client.wrapException(Client.java:1142)
at org.apache.hadoop.ipc.Client.call(Client.java:1110)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:226)
at com.sun.proxy.$Proxy0.getProtocolVersion(Unknown Source)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:398)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:384)
at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:129)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:255)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:217)
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1563)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1597)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1579)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:183)
at tachyon.UnderFileSystemHdfs.<init>(UnderFileSystemHdfs.java:89)
... 5 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:815)
at org.apache.hadoop.ipc.Client$Connection.run(Client.java:724)
tachyon-env.sh

Costantinos Costa

unread,
Aug 1, 2014, 6:45:05 AM8/1/14
to tachyo...@googlegroups.com
Solved. The 0.20.2-cdh3u4 hadoop version is different with  0.20.2, r911707 so when i execute the 'mvn -Dhadoop.version=0.20.2-cdh3u4 clean install -DskipTests' in order to compile tachyon i replaced the hadoop-core.jar with the system's one.

Henry Saputra

unread,
Aug 1, 2014, 5:46:45 PM8/1/14
to Costantinos Costa, tachyo...@googlegroups.com
Thanks for the update. So to clarify, you were running 0.20.2, r911707
version in your Hadoop cluster?

- Henry
> --
> You received this message because you are subscribed to the Google Groups
> "Tachyon Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tachyon-user...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Costantinos Costa

unread,
Aug 2, 2014, 3:55:54 AM8/2/14
to tachyo...@googlegroups.com, costa.co...@gmail.com
Hello Henry,

Yes. My Hadoop cluster is 0.20.2, r911707.

Thanks,
C.
Reply all
Reply to author
Forward
0 new messages