[ 
https://issues.apache.org/jira/browse/HDFS-2793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448099#comment-13448099
 ] 

Todd Lipcon commented on HDFS-2793:
-----------------------------------

bq. It's certainly the case that arbitrary clients should be super users, but 
when would a non-super user node be calling this method? I think it should be 
safe to always check for super user privileges.

Is the 2NN's principal always considered a superuser? I think so, but just want 
to confirm.

bq. Should the rollEdits RPC be marked @Idempotent? I can't think of a case 
when calling it twice would be problematic.
Makes sense.
                
> Add an admin command to trigger an edit log roll
> ------------------------------------------------
>
>                 Key: HDFS-2793
>                 URL: https://issues.apache.org/jira/browse/HDFS-2793
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: name-node
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Todd Lipcon
>         Attachments: hdfs-2793.txt
>
>
> This seems like it would also be helpful outside of the context of HA, but 
> especially so given that the standby can currently only read finalized log 
> segments.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to