PIG error - Empty string specified for jar path


#1

When I am running this command I am getting some error ’ Empty string specified for jar path’ . After multiple time run It is running though but given some error that is code related.

------------Code -------
A = load ‘/user/cloudera/input/join2_genchanA.txt’ Using PigStorage(’,’) AS (show:chararray, channel:chararray);
B = load ‘/user/cloudera/input/join2_genchanB.txt’ Using PigStorage(’,’) AS (show:chararray, channel:chararray);
C = load ‘/user/cloudera/input/join2_genchanC.txt’ Using PigStorage(’,’) AS (show:chararray, channel:chararray);

D = load ‘/user/cloudera/input/join2_gennumA.txt’ Using PigStorage(’,’) AS (show:chararray, viewer:int);
E = load ‘/user/cloudera/input/join2_gennumB.txt’ Using PigStorage(’,’) AS (show:chararray, viewer:int);
F = load ‘/user/cloudera/input/join2_gennumC.txt’ Using PigStorage(’,’) AS (show:chararray, viewer:int);
genchan_ip = UNION A,B,C;
gennum_ip = UNION D,E,F;

genchan_abc = FILTER genchan_ip by $1==‘ABC’;
join_abc = JOIN genchan_abc BY show, gennum_ip BY show;
grpby_abc = group join_abc by (genchan_abc::show);
show_abc = FOREACH grpby_abc generate FLATTEN(group), SUM(gennum_ip.viewer);
STORE show_abc into ‘/user/cloudera/output/test’ USING PigStorage(’ ');


I need help -

Why I am getting that error PIG error - Empty string specified for jar path ?
How I will calculate sum operation of total viewer of all show?

Thanks in Advance