hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1579) archive: check and possibly replace the space charater in paths
Date Thu, 11 Mar 2010 19:34:27 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844190#action_12844190
] 

Tsz Wo (Nicholas), SZE commented on MAPREDUCE-1579:
---------------------------------------------------

Tested the space replacement option:
- Original paths
{noformat}
-rw-r--r--   2 tsz supergroup          1 2010-03-11 18:43 /user/tsz/test/a
-rw-r--r--   2 tsz supergroup          1 2010-03-11 18:43 /user/tsz/test/b
-rw-r--r--   2 tsz supergroup          1 2010-03-11 18:43 /user/tsz/test/c
-rw-r--r--   2 tsz supergroup          3 2010-03-11 18:43 /user/tsz/test/c c
drwxr-xr-x   - tsz supergroup          0 2010-03-11 18:43 /user/tsz/test/sub 1
-rw-r--r--   2 tsz supergroup          4 2010-03-11 18:43 /user/tsz/test/sub 1/file
-rw-r--r--   2 tsz supergroup         10 2010-03-11 18:43 /user/tsz/test/sub 1/file x y z
-rw-r--r--   2 tsz supergroup          1 2010-03-11 18:43 /user/tsz/test/sub 1/x
-rw-r--r--   2 tsz supergroup          1 2010-03-11 18:43 /user/tsz/test/sub 1/y
-rw-r--r--   2 tsz supergroup          1 2010-03-11 18:43 /user/tsz/test/sub 1/z
drwxr-xr-x   - tsz supergroup          0 2010-03-11 18:43 /user/tsz/test/sub 2
{noformat}
- Replaced paths
{noformat}
drw-r--r--   - tsz supergroup          0 2010-03-11 18:43 /user/tsz/tmp/bar.har/test
-rw-r--r--   5 tsz supergroup          1 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/a
-rw-r--r--   5 tsz supergroup          1 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/b
-rw-r--r--   5 tsz supergroup          1 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/c
drw-r--r--   - tsz supergroup          0 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/sub_1
-rw-r--r--   5 tsz supergroup         10 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/sub_1/file_x_y_z
-rw-r--r--   5 tsz supergroup          1 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/sub_1/x
-rw-r--r--   5 tsz supergroup          1 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/sub_1/y
-rw-r--r--   5 tsz supergroup          1 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/sub_1/z
-rw-r--r--   5 tsz supergroup          4 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/sub_1/file
drw-r--r--   - tsz supergroup          0 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/sub_2
-rw-r--r--   5 tsz supergroup          3 2010-03-11 18:43 /user/tsz/tmp/bar.har/test/c_c
{noformat}

> archive: check and possibly replace the space charater in paths
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-1579
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1579
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: harchive
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Mahadev konar
>         Attachments: m1579_20100310.patch, m1579_20100310b.patch
>
>
> Since the space character is used as a separator in the index files, it won't work if
there are spaces in the path (see also HADOOP-6591).  The archive tools should 
> # detect if there are spaces in the paths and 
> # provide an option to replace it with some other characters.

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


Mime
View raw message