Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Talend_Tech
Contributor
Contributor

Getting error while running pig job in Talend

I am using cloudera VM for hadoop and have my Talend for Big(7.01) data installed on my local windows . Other things is working fine (DI components , hdfs , Hive) but I am facing a problem with the pig component. 

 

Whenever i run a job with any of the pig components , I am getting the below errors : 

 


[statistics] connecting to socket on port 3555
[statistics] connected
[WARN ]: org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[WARN ]: org.apache.pig.PigServer - Empty string specified for jar path
Exception in thread "main" java.lang.NoClassDefFoundError: org/antlr/runtime/RecognitionException
at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1687)
at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1635)
at org.apache.pig.PigServer.registerQuery(PigServer.java:587)
at org.apache.pig.PigServer.registerQuery(PigServer.java:600)
at bigdata_jobs.job_pig_3_0_1.Job_Pig_3.tPigLoad_1Process(Job_Pig_3.java:413)
at bigdata_jobs.job_pig_3_0_1.Job_Pig_3.runJobInTOS(Job_Pig_3.java:712)
at bigdata_jobs.job_pig_3_0_1.Job_Pig_3.main(Job_Pig_3.java:561)
Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.RecognitionException
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

 

Any help on it would be highly appreciated . 
... 7 more

Labels (2)
1 Reply
Anonymous
Not applicable

Hello,

You must have them installed and configured on local machine hdfs and other components if You want run BD components from Studio. In case of sandbox - build Job from Studio and transfer all to Cloudera VM, run it locally on VM as alternative and install Studio inside VM if You test only.

Best regards

Sabrina