Hadoop Common
  1. Hadoop Common
  2. HADOOP-2659

The commands in DFSAdmin should require admin privilege

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16.0
    • Component/s: None
    • Labels:
      None

      Description

      The commands in DFSAdmin and the corresponding RPC calls should require admin privilege.

      DFSAdmin commands:
      -report
      -safemode
      -refreshNodes
      -finalizeUpgrade
      -upgradeProgress
      -metasave

      ClientProtocol:

      public void renewLease(String clientName) throws IOException;
      public long[] getStats() throws IOException;
      public DatanodeInfo[] getDatanodeReport(FSConstants.DatanodeReportType type) throws IOException;
      public boolean setSafeMode(FSConstants.SafeModeAction action) throws IOException;
      public void refreshNodes() throws IOException;
      public void finalizeUpgrade() throws IOException;
      public UpgradeStatusReport distributedUpgradeProgress(UpgradeAction action) throws IOException;
      public void metaSave(String filename) throws IOException;
      
      1. 2659_20080122.patch
        5 kB
        Tsz Wo Nicholas Sze
      2. 2659_20080118b.patch
        5 kB
        Tsz Wo Nicholas Sze
      3. 2659_20080118.patch
        5 kB
        Tsz Wo Nicholas Sze

        Issue Links

          Activity

            People

            • Assignee:
              Tsz Wo Nicholas Sze
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development