Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
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;
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-4368 Superuser privileges required to do "df"
- Closed