Reply
New Contributor
Posts: 10
Registered: ‎08-25-2014

JA009: Unknown protocol error when running pig script

[ Edited ]

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>

Highlighted
New Contributor
Posts: 10
Registered: ‎08-25-2014

Re: JA009: Unknown protocol error when running pig script

anyone?

Announcements
New solutions