[
https://issues.apache.org/jira/browse/HDFS-13749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572567#comment-16572567
]
Konstantin Shvachko commented on HDFS-13749:
--------------------------------------------
I agree with [~zero45]. As with SafeMode command, dfsadmin first required
superuser privileges for SAFEMODE_GET, see HADOOP-2659. But then get operation
was relaxed to be available for regular users.
I think we can do the same for {{getServiceStatus()}}. Don't see harm in
knowing the HA state of NN. Unless I'm missing something.
> Implement a new client protocol method to get NameNode state
> ------------------------------------------------------------
>
> Key: HDFS-13749
> URL: https://issues.apache.org/jira/browse/HDFS-13749
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Chao Sun
> Assignee: Chao Sun
> Priority: Major
> Attachments: HDFS-13749-HDFS-12943.000.patch
>
>
> Currently {{HAServiceProtocol#getServiceStatus}} requires super user
> privilege. Therefore, as a temporary solution, in HDFS-12976 we discover
> NameNode state by calling {{reportBadBlocks}}. Here, we'll properly implement
> this by adding a new method in client protocol to get the NameNode state.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]