- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Cannot locate pig-core-h2.jar. do 'ant -Dhadoopversion=23 jar'
- Labels:
-
Apache Pig
Created ‎03-11-2016 05:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When running the PIG command at the command prompt. it is giving me error Cannot locate pig-core-h2.jar. do 'ant -Dhadoopversion=23 jar'. Not sure which path to copy these jar files.We have already edited the bash_profile to include the
export PIG_HOME="/Library/apache-pig-0.15.0"
export PATH="/Library/apache-pig-0.15.0/bin:${PATH}"
Can you please help us in fixing this issue,
Even the Ambari web interface pig scripts and never completes or give any error message.
Created ‎03-25-2016 08:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank for the inputs.We fixed the issue.We copied the file pig-core-h2.jar to
/usr/hdp/current/pig-client/lib and fixed the issue.
Created ‎03-11-2016 06:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Sarat Pidaparthi please look in /usr/hdp/current/pig-client/lib directory or /usr/hdp/version/pig/lib. Run pig service check, you need not set path for PIG_HOME as Ambari will take care of that for you. Do you have pig client installed on your edge node?
Created ‎03-11-2016 08:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank Q Artem, we have copied the jar files into the specified path and ran the Service check it giving me the following error message. Not sure of the version which is used in Ambari and from where i can get these jar files.
WARNING: Use "yarn jar" to launch YARN applications. Not a valid JAR: /usr/hdp/2.3.2.0-2950/pig/pig-0.15.0.2.3.2.0-2950-core-h2.jar /usr/hdp/2.3.2.0-2950/pig/pig-core-h2.jar
Created ‎03-13-2016 12:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go to Ambari > hosts > host > install pig client. You don't need to copy anything manually.
Created ‎03-14-2016 04:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not able to see the above mentioned host.
But i can see the PIG client is Installed.
Not sure how can fix this issue.
Can you please help me.
,Hello Artem,
I cannot see the path mentioned.
But when open Hosts--> PIG is show me PIG Client Installed.
i am not able to fix the issue yet.
Thanks,
Sarat
Created ‎03-15-2016 11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go through the steps in http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_installing_manually_book/content/ch_insta... and double check.
Created ‎03-21-2016 09:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Artem,
Thank Q for the reply.
I tired removing PIG and reinstalling but still i am getting the same error.
Not sure wht went wrong and where.
Thanks,
Sarat
Created ‎03-22-2016 03:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're custom paths don't look right, please look at sandbox pig configuration and try to identify inconsistencies
Created ‎03-25-2016 08:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank for the inputs.We fixed the issue.We copied the file pig-core-h2.jar to
/usr/hdp/current/pig-client/lib and fixed the issue.
