You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Keren Ouaknine <ke...@gmail.com> on 2011/09/07 04:00:08 UTC
Failed to create DataStorage
Hello,
This is the error l retrieved from the log, while I am running
generate_data.sh:
I am running pig 0.7 on CDH3.
Any help is appreciated!!
Thanks,
Keren
Error before Pig is launched
----------------------------
ERROR 2999: Unexpected internal error. Failed to create DataStorage
java.lang.RuntimeException: Failed to create DataStorage
at
org.apache.pig.backend.hadoop.datastorage.HDataStorage.init(HDataStor
age.java:75)
at
org.apache.pig.backend.hadoop.datastorage.HDataStorage.<init>(HDataSt
orage.java:58)
at
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(H
ExecutionEngine.java:216)
at
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(H
ExecutionEngine.java:126)
at org.apache.pig.impl.PigContext.connect(PigContext.java:184)
at org.apache.pig.PigServer.<init>(PigServer.java:184)
at org.apache.pig.PigServer.<init>(PigServer.java:173)
at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:54)
at org.apache.pig.Main.main(Main.java:354)
Caused by: java.io.IOException: Call to localhost/127.0.0.1:54310 failed on
loca
l exception: java.io.EOFException
at org.apache.hadoop.ipc.Client.wrapException(Client.java:775)
at org.apache.hadoop.ipc.Client.call(Client.java:743)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
at $Proxy0.getProtocolVersion(Unknown Source)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
at
org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106
)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:207)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:170)
at
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFi
leSystem.java:82)
at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378
)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
at
org.apache.pig.backend.hadoop.datastorage.HDataStorage.init(HDataStor
age.java:72)
... 8 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at
org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:5
01)
at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446)
================================================================================
--
Keren Ouaknine
Cell: +972 54 2565404
Web: www.kereno.com
Re: Failed to create DataStorage
Posted by Daniel Dai <da...@hortonworks.com>.
Check https://cwiki.apache.org/confluence/display/PIG/FAQ#FAQ-Q%3AWhatshallIdoifIsaw%22FailedtocreateDataStorage%22%3F
Daniel
On Tue, Sep 6, 2011 at 7:00 PM, Keren Ouaknine <ke...@gmail.com> wrote:
> Hello,
>
> This is the error l retrieved from the log, while I am running
> generate_data.sh:
> I am running pig 0.7 on CDH3.
>
> Any help is appreciated!!
>
> Thanks,
> Keren
>
> Error before Pig is launched
> ----------------------------
> ERROR 2999: Unexpected internal error. Failed to create DataStorage
>
> java.lang.RuntimeException: Failed to create DataStorage
> at
> org.apache.pig.backend.hadoop.datastorage.HDataStorage.init(HDataStor
> age.java:75)
> at
> org.apache.pig.backend.hadoop.datastorage.HDataStorage.<init>(HDataSt
> orage.java:58)
> at
> org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(H
> ExecutionEngine.java:216)
> at
> org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(H
> ExecutionEngine.java:126)
> at org.apache.pig.impl.PigContext.connect(PigContext.java:184)
> at org.apache.pig.PigServer.<init>(PigServer.java:184)
> at org.apache.pig.PigServer.<init>(PigServer.java:173)
> at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:54)
> at org.apache.pig.Main.main(Main.java:354)
> Caused by: java.io.IOException: Call to localhost/127.0.0.1:54310 failed on
> loca
> l exception: java.io.EOFException
> at org.apache.hadoop.ipc.Client.wrapException(Client.java:775)
> at org.apache.hadoop.ipc.Client.call(Client.java:743)
> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
> at $Proxy0.getProtocolVersion(Unknown Source)
> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
> at
> org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106
> )
> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:207)
> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:170)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFi
> leSystem.java:82)
> at
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378
> )
> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
> at
> org.apache.pig.backend.hadoop.datastorage.HDataStorage.init(HDataStor
> age.java:72)
> ... 8 more
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
> at
> org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:5
> 01)
> at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446)
> ================================================================================
> --
> Keren Ouaknine
> Cell: +972 54 2565404
> Web: www.kereno.com
>