[ https://issues.apache.org/jira/browse/PIG-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739351#action_12739351 ]
Daniel Dai commented on PIG-909: -------------------------------- Hi, Dmitriy Sorry if my previous comments confuse you. What I mean is pig script is generating the following command line: java -Xmx1000m -Dpig.log.dir=$PIG_HOME/bin/../logs -Dpig.log.file=pig.log -Dpig.home.dir=$PIG_HOME/bin/.. -Dpig.root.logger=INFO,console,DRFA -classpath $PIG_HOME/bin/../conf:/usr/java/default//lib/tools.jar:$PIG_HOME/bin/../build/classes:$PIG_HOME/bin/../build/test/classes:$PIG_HOME/bin/../pig-*-core.jar:$PIG_HOME/bin/../build/pig-*-core.jar:$PIG_HOME/bin/../lib/hadoop18.jar:$PIG_HOME/bin/../lib/hbase-0.18.1.jar:$PIG_HOME/bin/../lib/hbase-0.18.1-test.jar org.apache.pig.Main "-classpath" does not include all libraries required by Pig, so just run the scripts will generate error. It does not related to your patch. > Allow Pig executable to use hadoop jars not bundled with pig > ------------------------------------------------------------ > > Key: PIG-909 > URL: https://issues.apache.org/jira/browse/PIG-909 > Project: Pig > Issue Type: Improvement > Reporter: Dmitriy V. Ryaboy > Priority: Minor > Attachments: pig_909.patch > > > The current pig executable (bin/pig) looks for a file named > hadoop${PIG_HADOOP_VERSION}.jar that comes bundled with Pig. > The proposed change will allow Pig to look in $HADOOP_HOME for the hadoop > jars, if that variable is set. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.