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

Hadoop QA commented on HADOOP-11201:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  
http://issues.apache.org/jira/secure/attachment/12682065/HADOOP-11201.v02.patch
  against trunk revision 9dd5d67.

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-tools/hadoop-archives.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/5096//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/5096//console

This message is automatically generated.

> Hadoop Archives should support globs resolving to files
> -------------------------------------------------------
>
>                 Key: HADOOP-11201
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11201
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 2.0.5-alpha
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>            Priority: Blocker
>         Attachments: HADOOP-11201.v01.patch, HADOOP-11201.v02.patch
>
>
> Consider the following scenario:
> {code}
> $ hadoop fs -ls /tmp/harsrc/dir2/dir3
> Found 5 items
> -rw-r--r--   1 blah blah          0 2014-10-13 20:59 
> /tmp/harsrc/dir2/dir3/file31
> -rw-r--r--   1 blah blah          0 2014-10-14 01:51 
> /tmp/harsrc/dir2/dir3/file32
> -rw-r--r--   1 blah blah          0 2014-10-14 01:51 
> /tmp/harsrc/dir2/dir3/file33
> -rw-r--r--   1 blah blah          0 2014-10-14 01:51 
> /tmp/harsrc/dir2/dir3/file34
> -rw-r--r--   1 blah blah          0 2014-10-14 01:51 
> /tmp/harsrc/dir2/dir3/file35
> {code}
> Archive 'dir3/file3*':
> {code}
> $ hadoop archive -Dmapreduce.framework.name=local -archiveName fileStar.har 
> -p /tmp/harsrc 'dir2/dir3/file*' /tmp/hardst_local
> $ hadoop fs -ls -R har:/tmp/hardst_local/fileStar.har
> drwxr-xr-x   - blah blah          0 2014-10-13 22:32 
> har:///tmp/hardst_local/fileStar.har/dir2
> {code}
> Archiving dir3 (directory) which is equivalent to the above works.
> {code}
> $ hadoop archive -Dmapreduce.framework.name=local -archiveName dir3.har -p 
> /tmp/harsrc 'dir2/dir3' /tmp/hardst_local
> $ hadoop fs -ls -R har:/tmp/hardst_local/dir3.har
> 14/10/14 02:06:33 WARN util.NativeCodeLoader: Unable to load native-hadoop 
> library for your platform... using builtin-java classes where applicable
> drwxr-xr-x   - blah blah          0 2014-10-13 22:32 
> har:///tmp/hardst_local/dir3.har/dir2
> drwxr-xr-x   - blah blah          0 2014-10-14 01:51 
> har:///tmp/hardst_local/dir3.har/dir2/dir3
> -rw-r--r--   1 blah blah          0 2014-10-13 20:59 
> har:///tmp/hardst_local/dir3.har/dir2/dir3/file31
> -rw-r--r--   1 blah blah          0 2014-10-14 01:51 
> har:///tmp/hardst_local/dir3.har/dir2/dir3/file32
> -rw-r--r--   1 blah blah          0 2014-10-14 01:51 
> har:///tmp/hardst_local/dir3.har/dir2/dir3/file33
> -rw-r--r--   1 blah blah          0 2014-10-14 01:51 
> har:///tmp/hardst_local/dir3.har/dir2/dir3/file34
> -rw-r--r--   1 blah blah          0 2014-10-14 01:51 
> har:///tmp/hardst_local/dir3.har/dir2/dir3/file35
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to