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

Vinayakumar B commented on HDFS-7882:
-------------------------------------

Rolling upgrade: *start and finalize are RPC requests and these are edit 
transactions*
bq. For rollback and downgrade also audit logs should be added.
Anyway downgrade is no more available.
And rollback is *NOT available via RPC and its not an edit transaction* which 
can be applied. Its a NameNode command to be executed on the namenode installed 
machine itself to reset the files to earlier status. 
So IMO there is no need of audit log for rollback.

> Audit logging should be added for Rolling Upgrade ( Rollback , Downgrade )
> --------------------------------------------------------------------------
>
>                 Key: HDFS-7882
>                 URL: https://issues.apache.org/jira/browse/HDFS-7882
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: J.Andreina
>            Assignee: J.Andreina
>
> Currently we have audit logs for Rolling upgrade: start and finalize .
> {noformat}
> 2015-03-04 17:18:16,119 | INFO  | IPC Server handler 5 on 9000 | allowed=true 
>   ugi=Rex (auth:SIMPLE)   ip=/XXXXXXXXXXXXXX      cmd=startRollingUpgrade 
> src=null        dst=null        perm=null       proto=rpc | 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem$DefaultAuditLogger.logAuditMessage(FSNamesystem.java:8104)
> 2015-03-04 17:24:04,615 | INFO  | IPC Server handler 7 on 9000 | allowed=true 
>   ugi=Rex (auth:SIMPLE)   ip=/XXXXXXXXXXXXXX      cmd=finalizeRollingUpgrade  
>     src=null        dst=null        perm=null      proto=rpc | 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem$DefaultAuditLogger.logAuditMessage(FSNamesystem.java:8104)
> {noformat}
> For rollback and downgrade also audit logs should be added. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to