[
https://issues.apache.org/jira/browse/HADOOP-7810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147171#comment-13147171
]
John George commented on HADOOP-7810:
-------------------------------------
I forgot that har was part of the hadoop-mapreduce-tools.jar in 0.23 and 0.24.
I was looking at the hadoop script in 0.23 and saw the following and assumed
that "TOOL_PATH needs to be exported in 0.23 as well".
{code}
elif [ "$COMMAND" = "archive" ] ; then
CLASS=org.apache.hadoop.tools.HadoopArchives
CLASSPATH=${CLASSPATH}:${TOOL_PATH}
{code}
Updating the JIRA with branch-0.20-security as the version expected.
> add hadoop-tools.jar to 'hadoop classpath'
> ------------------------------------------
>
> Key: HADOOP-7810
> URL: https://issues.apache.org/jira/browse/HADOOP-7810
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.20.205.0
> Reporter: John George
> Assignee: John George
> Fix For: 0.20.205.1
>
> Attachments: hadoop-7810.branch-0.20-security.patch
>
>
> "The HadoopArchieves classes are included in the
> $HADOOP_HOME/hadoop_tools.jar, but this file is not found in `hadoop
> classpath`.
> A Pig script using HCatalog's dynamic partitioning with HAR enabled will
> therefore fail if a jar with HAR is not included in the pig call's '-cp' and
> '-Dpig.additional.jars' arguments."
> I am not aware of any reason to not include hadoop-tools.jar in 'hadoop
> classpath'. Will attach a patch soon.
--
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