[ https://issues.apache.org/jira/browse/HIVE-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-1817: --------------------------------- Attachment: HIVE-1817.wip.1.patch.txt The attached patch modifies OptionProcessor to use commons-cli-1.2 instead of commons-cli-2.0-SNAPSHOT. The version of HiveCli that results works as long as the underlying Hadoop version does not also have a dependency on commons-cli-2.0-SNAPSHOT (i.e. it will work on 0.20.3, but not on 0.20.0), in which case HiveCli ends up picking up commons-cli-2.0-SNAPSHOT instead of 1.2 since Hadoop's CLASSPATH is given preference over Hive's. I think the solution to this problem involves modifying the bin/hive script to call Java directly instead of delegating this responsibility to bin/hadoop. > Remove Hive dependency on unrelease commons-cli 2.0 Snapshot > ------------------------------------------------------------ > > Key: HIVE-1817 > URL: https://issues.apache.org/jira/browse/HIVE-1817 > Project: Hive > Issue Type: Task > Components: Build Infrastructure, CLI > Reporter: Carl Steinbach > Attachments: HIVE-1817.wip.1.patch.txt > > > The Hive CLI depends on commons-cli-2.0-SNAPSHOT. This branch of of the > commons-cli project is dead. > Hive needs to use commons-cli-1.2 instead. See MAPREDUCE-767 for more > information. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.