pig to hadoop issue: Server IPC version 7 cannot communicate with client version 4

2013-05-11T06:15:32

I am trying to get pig started and failing:

 $ pig
2013-05-10 18:03:22,972 [main] INFO  org.apache.pig.Main - Apache Pig version 0.11.1 (r1459641) compiled Mar 22 2013, 02:13:53
2013-05-10 18:03:22,972 [main] INFO  org.apache.pig.Main - Logging error messages to: /Users/barclaydunn/Environment/pig-0.11.1/pig_1368223402970.log
2013-05-10 18:03:23,151 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://stage-hadoop101.cluster:8020/hbase
2013-05-10 18:03:23,704 [main] ERROR org.apache.pig.Main - ERROR 2999: Unexpected internal error. Failed to create DataStorage
Details at logfile: /Users/barclaydunn/Environment/pig-0.11.1/pig_1368223402970.log

Logfile contents:

 $ cat /Users/barclaydunn/Environment/pig-0.11.1/pig_1368223402970.log
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:204)
    at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:117)
    at org.apache.pig.impl.PigContext.connect(PigContext.java:240)
    at org.apache.pig.PigServer.<init>(PigServer.java:213)
    at org.apache.pig.PigServer.<init>(PigServer.java:198)
    at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:47)
    at org.apache.pig.Main.run(Main.java:535)
    at org.apache.pig.Main.main(Main.java:157)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4
    at org.apache.hadoop.ipc.Client.call(Client.java:1070)
    at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
    at com.sun.proxy.$Proxy1.getProtocolVersion(Unknown Source)
    at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
    at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
    at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:119)
    at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:238)
    at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:203)
    at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
    at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386)
    at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
    at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:123)
    at org.apache.pig.backend.hadoop.datastorage.HDataStorage.init(HDataStorage.java:72)
    ... 14 more
================================================================================

Searching on "Server IPC version 7 cannot communicate with client version 4" doesn't turn up anything useful.

Copyright License:
Author:「barclay」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/16491547/pig-to-hadoop-issue-server-ipc-version-7-cannot-communicate-with-client-version

About “pig to hadoop issue: Server IPC version 7 cannot communicate with client version 4” questions

I am trying to get pig started and failing: $ pig 2013-05-10 18:03:22,972 [main] INFO org.apache.pig.Main - Apache Pig version 0.11.1 (r1459641) compiled Mar 22 2013, 02:13:53 2013-05-10 18:03:2...
I am trying to submit a Hadoop Map-Reduce job from a CDH3u4 cluster to cluster which runs on CDH4.3. (The fs.default.name and mapred.job.tracker Configuration parameters are set to point to the CDH...
I have following tools : Hadoop-2.6.0, Hive-0.14.0, hbase-0.94.8, sqoop-1.4.5, pig-0.14.0 installed in a psuedo distributed environment on Ubuntu 14.0.4. My goal is to use
I'm trying to a Pentaho Kettle Job with SQOOP plugin to export a table from ORACLE and import the same into HDFS. I'm using cloudera CDH4 (4.2) demo VM and using the Hadoop jars and Sqoop jar that...
I need to connect to a unix system having Hadoop 2.0.0 database using Eclipse Juno on a Windows system.I tried adding an eclipse plug-in for an older version of Hadoop but when I add Map-Reduce Loc...
I am trying to run a flink job using a file from HDFS. I have created a dataset as following - DataSource&lt;Tuple2&lt;LongWritable, Text&gt;&gt; visits = env.readHadoopFile(new TextInputFormat(),
When I try to connect to MapReduce location which is cluster with one namenode and datanode from my laptop (where I have my eclipse and mapreduce plugin) I get the Error: Server IPC version 7 cannot
I'm using hbase-0.94.9, I tried to follow the introductions from HBase online book, but I got the error: org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master java.net.
I am trying to execute hadoop job through web interface written in Java. While copying files from local path to HDFS, I am getting the following error: javax.servlet.ServletException: org.apache.
I have installed sparkR in Ubuntu to support Hadoop version 2.4.0, following the instructions here. I can see that the assembly JAR for Spark with Hadoop 2.4.0 and YARN support is created at the

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.