hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-222) Set replication from dfsshell
Date Wed, 17 May 2006 22:32:06 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-222?page=comments#action_12412249 ] 

Konstantin Shvachko commented on HADOOP-222:

This is very useful.
Some things that I have noticed.
- Usage info might be useful.
Right now it just throws ArrayIndexOutOfBoundsException if you do not specify the path.
Or some other exception if you forget to provide the replication number. Try
    hadoop dfs -setrep
    hadoop dfs -setrep 3
    hadoop dfs -setrep /user
- I think the 2 commands should be combined into one like
    hadoop dfs -setrep [-R] <path>
- Should we use abbreviations like "setrep" or full names?
see HADOOP-226 (4) about necessity for a general DFSShell convention.

> Set replication from dfsshell
> -----------------------------
>          Key: HADOOP-222
>          URL: http://issues.apache.org/jira/browse/HADOOP-222
>      Project: Hadoop
>         Type: New Feature

>   Components: dfs
>     Versions: 0.3
>     Reporter: Johan Oskarson
>     Priority: Trivial
>  Attachments: setrep.patch
> Added ability to set replication for a directory/file from the command line.
> Not heavily tested...

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message