[ https://issues.apache.org/jira/browse/PIG-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145193#comment-13145193 ]
Dmitriy V. Ryaboy commented on PIG-2354: ---------------------------------------- Daniel, I am getting some odd errors trying to use bin/pig with the default version of hadoop that's bundled (20.2). Stack trace below. Is this related? I don't have any of the env vars short of JAVA_HOME set, just to make sure bin/pig gets to do whatever it wants. {code} bash-3.2$ cat /Users/dmitriy/src/pig-svn/pig_1320635602890.log Error before Pig is launched ---------------------------- ERROR 2998: Unhandled internal error. org.apache.hadoop.conf.Configuration.addDeprecation(Ljava/lang/String;[Ljava/lang/String;)V java.lang.NoSuchMethodError: org.apache.hadoop.conf.Configuration.addDeprecation(Ljava/lang/String;[Ljava/lang/String;)V at org.apache.hadoop.mapreduce.util.ConfigUtil.addDeprecatedKeys(ConfigUtil.java:49) at org.apache.hadoop.mapreduce.util.ConfigUtil.loadResources(ConfigUtil.java:40) at org.apache.hadoop.mapred.JobConf.<clinit>(JobConf.java:120) at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:173) at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:119) at org.apache.pig.impl.PigContext.connect(PigContext.java:206) at org.apache.pig.PigServer.<init>(PigServer.java:246) at org.apache.pig.PigServer.<init>(PigServer.java:231) at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:46) at org.apache.pig.Main.run(Main.java:498) at org.apache.pig.Main.main(Main.java:111) ================================================================================ {code} > 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