Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

JA009: Unknown protocol error when running pig script

JA009: Unknown protocol error when running pig script

New Contributor

I'm folloiwng a tutorial to run a pig script which is:

 

a = load 'nyse2' using org.apache.hcatalog.pig.HCatLoader();
b = filter a by stock_symbol = 'IBM';
c = group b all;
d = foreach c generate avg(b.stock_volume);
dump d;

 

by running it through the GUI interface...but I keep getting this error:

 

JA009: Unknown protocol: org.apache.hadoop.yarn.api.ApplicationClientProtocolPB at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.getProtocolImpl(ProtobufRpcEngine.java:527) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:566) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1026) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1986) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1982) at java.securit

 

not really been able to solve it from reading a bunch of stuff online though....anyone else go through this error?

 

 

pig configuration looks like this as well:

 

<pig xmlns="uri:oozie:workflow:0.4">
<job-tracker>ip-172-31-43-64.us-west-2.compute.internal:8021</job-tracker>
<name-node>hdfs://ip-172-31-43-64.us-west-2.compute.internal:8020</name-node>
<script>/user/hue/oozie/workspaces/_admin_-oozie-1-1409166898.38/script.pig</script>
</pig>

1 REPLY 1

Re: JA009: Unknown protocol error when running pig script

New Contributor

anyone?