[ 
https://issues.apache.org/jira/browse/HADOOP-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated HADOOP-3663:
----------------------------------

    Attachment: HADOOP-3663.patch

in response to hairong's comments - 
1) fixed
2) i think the code complexity would be the same in both the cases. 
3) you right that using strnigs migt be more efficient but then the code would 
not be robust.

> Allow relative paths to be created inside archives.
> ---------------------------------------------------
>
>                 Key: HADOOP-3663
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3663
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: tools/harchive
>    Affects Versions: 0.18.0
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-3663.patch, HADOOP-3663.patch, HADOOP-3663.patch
>
>
> Archives currently stores the full path from the input sources -- since it 
> allows multiple sources and regular expressions as inputs. So the created 
> archives have the full path of the input sources. This is un intuitive and a 
> user hassle. We should get rid of it and allow users to say that the created 
> archive should be relative to some absolute path and throw an excpetion if 
> the input does not confirm to the relative absolute path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to