Error:
While running Pig (in local mode from command line) if we may come across the following error"
Cannot locate pig-core-h2.jar. do 'ant -Dhadoopversion=23 jar', and try again.
Solution:
Please make sure in your .bash_profile or .bashrc you have following environment variables:
export PATH="/Library/apache-pig-0.15.0/bin:${PATH}"
restart the machine or restart the unix terminal;
Thanks!
Thanks!
Thanks for sharing. Your post solved my issue.
ReplyDelete