[
https://issues.apache.org/jira/browse/PIG-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145210#comment-13145210
]
Dmitriy V. Ryaboy commented on PIG-2354:
----------------------------------------
It's using the bundled 20.2 but calling methods from 21. So I guess it's a
problem in the shim layer then?
bash-3.2$ ./bin/pig -secretDebugCmd
*Cannot find local hadoop installation, using bundled hadoop 20.2*
dry run:
/Library/Java/Home//bin/java -Xmx1000m
-Dpig.log.dir=/Users/dmitriy/src/pig-svn/bin/../logs -Dpig.log.file=pig.log
-Dpig.home.dir=/Users/dmitriy/src/pig-svn/bin/.. -classpath
/Users/dmitriy/src/pig-svn/bin/../conf:/Library/Java/Home//lib/tools.jar:/Users/dmitriy/src/pig-svn/bin/../lib/automaton.jar:/Users/dmitriy/src/pig-svn/bin/../lib/avro-1.4.0-SNAPSHOT.jar:/Users/dmitriy/src/pig-svn/bin/../lib/hadoop-hdfs-test-0.22.0-SNAPSHOT.jar:/Users/dmitriy/src/pig-svn/bin/../lib/hadoop-mapred-0.22.0-SNAPSHOT.jar:/Users/dmitriy/src/pig-svn/bin/../build/ivy/lib/Pig/jython-2.5.0.jar:/Users/dmitriy/src/pig-svn/bin/../pig.jar
org.apache.pig.Main
> 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