[ https://issues.apache.org/jira/browse/HADOOP-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-2659: ------------------------------------------- Status: Patch Available (was: Open) > The commands in DFSAdmin should require admin privilege > ------------------------------------------------------- > > Key: HADOOP-2659 > URL: https://issues.apache.org/jira/browse/HADOOP-2659 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: 2659_20080118.patch, 2659_20080118b.patch > > > The commands in DFSAdmin and the corresponding RPC calls should require admin > privilege. > DFSAdmin commands: > -report > -safemode > -refreshNodes > -finalizeUpgrade > -upgradeProgress > -metasave > ClientProtocol: > {code} > 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; > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.