You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by "Naber, Chad" <CN...@edmunds.com> on 2009/07/14 19:01:31 UTC

Issue implementing PIG-573

Hi folks,



I recently upgraded to hadoop 19, and of course ran into the PIG-573<https://issues.apache.org/jira/browse/PIG-573> issue.  I patched and rebuilt pig.jar and placed it in PIG_CLASSPATH, but I am having the same exact error.   It looks like the patch is in the jar, because the jar has hdfs instead of dfs, but I am getting the same exact error.



Are there any files I need to move other than the new pig.jar, or settings I need to change?



Here is the error:



Caused by: org.apache.hadoop.ipc.RemoteException: java.io.IOException: Unknown protocol to name node: org.apache.hadoop.dfs.ClientProtocol

        at org.apache.hadoop.hdfs.server.namenode.NameNode.getProtocolVersion(NameNode.java:98)

        at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:481)

        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:894)



        at org.apache.hadoop.ipc.Client.call(Client.java:715)

        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)

        at org.apache.hadoop.dfs.$Proxy0.getProtocolVersion(Unknown Source)

        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:319)

        at org.apache.hadoop.dfs.DFSClient.createRPCNamenode(DFSClient.java:103)



Here is a listing of the new jar.  The old jar is out of the PIG_CLASSPATH:



[]$ jar tvf pig.jar|grep ClientProtocol

2852 Fri Nov 14 03:04:34 PST 2008 org/apache/hadoop/hdfs/protocol/ClientProtocol.class





Thanks a ton,

Chad