pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-2183) Pig not working with Hadoop 0.20.203.0
Date Wed, 10 Aug 2011 03:09:27 GMT

     [ https://issues.apache.org/jira/browse/PIG-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Dai updated PIG-2183:
----------------------------

    Attachment:     (was: PIG-2183-2.patch)

> Pig not working with Hadoop 0.20.203.0
> --------------------------------------
>
>                 Key: PIG-2183
>                 URL: https://issues.apache.org/jira/browse/PIG-2183
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt, site
>    Affects Versions: 0.8.1, 0.9.1, 0.10
>         Environment: Gentoo Linux Kernel: 2.6.38-gentoo-r6
> java version "1.6.0_26"
> Ant version 1.8.1
>            Reporter: John Lium
>            Assignee: Daniel Dai
>         Attachments: PIG-2183-1.patch, PIG-2183-2.patch
>
>
> When running pig, I get the following error.
> 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(HDataStorage.java:75)
> 	at org.apache.pig.backend.hadoop.datastorage.HDataStorage.<init>(HDataStorage.java:58)
> 	at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:214)
> 	at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:134)
> 	at org.apache.pig.impl.PigContext.connect(PigContext.java:183)
> 	at org.apache.pig.PigServer.<init>(PigServer.java:226)
> 	at org.apache.pig.PigServer.<init>(PigServer.java:215)
> 	at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:55)
> 	at org.apache.pig.Main.run(Main.java:452)
> 	at org.apache.pig.Main.main(Main.java:107)
> Caused by: java.io.IOException: Call to rasputin/192.168.1.3:9000 failed on local 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(DistributedFileSystem.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(HDataStorage.java:72)
> 	... 9 more
> 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)
> ================================================================================
> My env vars are defined in bin/pig as the following
> export JAVA_HOME="/etc/java-config-2/current-system-vm"
> export PIG_CLASSPATH="/var/hadoop/pig/pig-withouthadoop.jar:$HADOOP_HOME/hadoop-core-0.20.203.0.jar:$HADOOP_HOME/lib:$HADOOP_CONF_DIR"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message