[
https://issues.apache.org/jira/browse/PIG-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145205#comment-13145205
]
Daniel Dai commented on PIG-2354:
---------------------------------
#1 happens when you don't set HADOOP_HOME but hadoop binary is in PATH. #3
happens when you have both Hadoop rpm and tarball installed.
Your stack indicate that Pig linked to the wrong hadoop.
Configuration.addDeprecation is a method for hadoop 0.21+. Can you paste your
"bin/pig -secretDebugCmd"?
> Several fixes for bin/pig
> -------------------------
>
> Key: PIG-2354
> URL: https://issues.apache.org/jira/browse/PIG-2354
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.9.1, 0.10, 0.11
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.10, 0.9.2, 0.11
>
> Attachments: PIG-2354-1.patch
>
>
> 1. Need to find hadoop binary in PATH first
> 2. Add HADOOP_CONF_DIR into CLASSPATH
> 3. A bug in hadoop binary detection Rajat discovered
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira