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 "dhruba borthakur (JIRA)" <ji...@apache.org> on 2006/11/08 01:00:51 UTC

[jira] Created: (HADOOP-688) move dfs administrative interfaces to a separate command

move dfs administrative interfaces to a separate command
--------------------------------------------------------

                 Key: HADOOP-688
                 URL: http://issues.apache.org/jira/browse/HADOOP-688
             Project: Hadoop
          Issue Type: Improvement
          Components: dfs
            Reporter: dhruba borthakur
         Assigned To: dhruba borthakur


The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:

bin/hadoop dfs -report
bin/hadoop dfs -safemode

The above two features will be available through a new command:

bin/hadoop dfsadmin -report
bin/hadoop dfsadmin -safemode

This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Commented: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-688?page=comments#action_12448625 ] 
            
dhruba borthakur commented on HADOOP-688:
-----------------------------------------

The dfsadmin command is mostly a cosmetic change until we have the 'security model' worked out in detail. For now, -safemode, -report and -decommission will be associated with dfsadmin. 

In future, we have to deal with appropriately placing 'format', 'fsck', etc with either dfs or dfsadmin command.

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Updated: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-688?page=all ]

dhruba borthakur updated HADOOP-688:
------------------------------------

    Attachment: admincommand.patch

A new command named admin that funnels all hdfs administrative commands.

bin/hadoop --config conf admin -report
bin/hadoop --config conf admin -safemode


> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Commented: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-688?page=comments#action_12448314 ] 
            
Doug Cutting commented on HADOOP-688:
-------------------------------------

I liked the name 'dfsadmin' for this command rather than just 'admin'.

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Updated: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-688?page=all ]

Doug Cutting updated HADOOP-688:
--------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 0.9.0
       Resolution: Fixed

I just committed this.  Thanks, Dhruba!

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>             Fix For: 0.9.0
>
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Updated: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-688?page=all ]

dhruba borthakur updated HADOOP-688:
------------------------------------

    Status: Patch Available  (was: Open)

A new command named admin that funnels all hdfs administrative commands.

bin/hadoop --config conf admin -report
bin/hadoop --config conf admin -safemode

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Updated: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-688?page=all ]

dhruba borthakur updated HADOOP-688:
------------------------------------

    Attachment: admincommand.patch

Changed the name of the command from "admin" to "dfsadmin".

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Commented: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "Yoram Arnon (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-688?page=comments#action_12448622 ] 
            
Yoram Arnon commented on HADOOP-688:
------------------------------------

I wonder...
Since hadoop has no notion of users, security or authentication, commands that can be executed remotely are open to misuse.
since the format command can only be executed locally on the namenode, it's relatively safe - you'd need to login to that node first.
It would perhaps be better to leave safemode as a local only command too, except for reporting.
But then again, anyone can execute rmr /, so this point is perhaps moot.

Had we had some security in place, formatting is most logically colocated with the other admin commands.

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Commented: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-688?page=comments#action_12448615 ] 
            
Milind Bhandarkar commented on HADOOP-688:
------------------------------------------

format command is not invoked currently through dfs shell, right ? It is invoked as bin/hadoop namenode -format.

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Commented: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-688?page=comments#action_12448609 ] 
            
Konstantin Shvachko commented on HADOOP-688:
--------------------------------------------

What about "format"?
Should we place it in dfsadmin group too?

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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

        

[jira] Updated: (HADOOP-688) move dfs administrative interfaces to a separate command

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-688?page=all ]

dhruba borthakur updated HADOOP-688:
------------------------------------

    Attachment:     (was: admincommand.patch)

> move dfs administrative interfaces to a separate command
> --------------------------------------------------------
>
>                 Key: HADOOP-688
>                 URL: http://issues.apache.org/jira/browse/HADOOP-688
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: admincommand.patch
>
>
> The dfs adminsitrative commands (e.g. safemode, report, etc) should be separate from the dfs user commands. The proposal is to remove the following two commands:
> bin/hadoop dfs -report
> bin/hadoop dfs -safemode
> The above two features will be available through a new command:
> bin/hadoop dfsadmin -report
> bin/hadoop dfsadmin -safemode
> This is done so that there is a clean distinction between cluster administrative commands and users command.

-- 
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