[ 
https://issues.apache.org/jira/browse/HADOOP-7810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150163#comment-13150163
 ] 

Egil Sorensen commented on HADOOP-7810:
---------------------------------------

@Owen - The use case is for a storing from a Pig script using HCatalog's 
dynamic partitioning and with HAR enabled.

Correct, the HarFileSystem is in the classpath.
But a call like the above fails with a ClassNotFoundException on 
org.apache.hadoop.tools.HadoopArchives$HArchiveInputFormat.

Therefore the suggestion to move the HadoopArchieves classes from hadoop_tools 
jar, which is not in `hadoop classpath`, into the hadoop-core jar. (The same 
jar that holds the HarFileSystem class.)

                
> move hadoop archive to core from tools
> --------------------------------------
>
>                 Key: HADOOP-7810
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7810
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.20.205.1
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>         Attachments: hadoop-7810.branch-0.20-security.patch, 
> 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

        

Reply via email to