You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2006/05/18 00:32:06 UTC

[jira] Commented: (HADOOP-222) Set replication from dfsshell

    [ 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira