hadoop-yetus commented on a change in pull request #1364: HDDS-1843. 
Undetectable corruption after restart of a datanode.
URL: https://github.com/apache/hadoop/pull/1364#discussion_r318597581
 
 

 ##########
 File path: hadoop-hdds/common/src/main/resources/audit.log
 ##########
 @@ -0,0 +1,25 @@
+2019-08-28 11:36:31,489 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=CREATE_VOLUME {admin=sbanerjee, owner=sbanerjee, 
volume=testcontainerstatemachinefailures, creationTime=1566972391485, 
quotaInBytes=1152921504606846976} | ret=SUCCESS |  
+2019-08-28 11:36:31,494 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_VOLUME {volume=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:36:31,511 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=CREATE_BUCKET {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, acls=[user:sbanerjee:a[ACCESS], 
group:staff:a[ACCESS], group:everyone:a[ACCESS], group:localaccounts:a[ACCESS], 
group:_appserverusr:a[ACCESS], group:admin:a[ACCESS], 
group:_appserveradm:a[ACCESS], group:_lpadmin:a[ACCESS], 
group:com.apple.sharepoint.group.2:a[ACCESS], group:_appstore:a[ACCESS], 
group:_lpoperator:a[ACCESS], group:_developer:a[ACCESS], 
group:_analyticsusers:a[ACCESS], group:com.apple.access_ftp:a[ACCESS], 
group:com.apple.access_screensharing:a[ACCESS], 
group:com.apple.access_ssh-disabled:a[ACCESS], 
group:com.apple.sharepoint.group.1:a[ACCESS]], isVersionEnabled=false, 
storageType=DISK, creationTime=0} | ret=SUCCESS |  
+2019-08-28 11:36:31,515 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_VOLUME {volume=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:36:31,519 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_BUCKET {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:36:31,561 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=ALLOCATE_KEY {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=1024, 
replicationType=RATIS, replicationFactor=ONE, keyLocationInfo=null} | 
ret=SUCCESS |  
+2019-08-28 11:36:37,850 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=COMMIT_KEY {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=10, 
replicationType=null, replicationFactor=null, 
keyLocationInfo=[{blockID={containerID=1, localID=102693102652358657}, 
length=10, offset=0, token=null, pipeline=Pipeline[ Id: 
33e5321e-9d61-4d31-94ca-a18a6abc80ba, Nodes: 
82c96fdc-06f5-47f4-ab5d-7a2fa599b46e{ip: 192.168.0.64, host: 192.168.0.64, 
networkLocation: /default-rack, certSerialId: null}, Type:RATIS, Factor:ONE, 
State:OPEN], createVersion=0}], clientID=102693102651244544} | ret=SUCCESS |  
+2019-08-28 11:36:50,166 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_VOLUME {volume=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:36:50,168 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_BUCKET {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:36:50,177 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=ALLOCATE_KEY {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=1024, 
replicationType=RATIS, replicationFactor=ONE, keyLocationInfo=null} | 
ret=SUCCESS |  
+2019-08-28 11:36:56,287 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=COMMIT_KEY {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=6, 
replicationType=null, replicationFactor=null, 
keyLocationInfo=[{blockID={containerID=2, localID=102693103873294339}, 
length=6, offset=0, token=null, pipeline=Pipeline[ Id: 
5c7f9b1c-2fbc-470e-8e56-1e9bbf131bcb, Nodes: 
82c96fdc-06f5-47f4-ab5d-7a2fa599b46e{ip: 192.168.0.64, host: 192.168.0.64, 
networkLocation: /default-rack, certSerialId: null}, Type:RATIS, Factor:ONE, 
State:OPEN], createVersion=0}], clientID=102693103872901122} | ret=SUCCESS |  
+2019-08-28 11:37:08,500 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_VOLUME {volume=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:37:08,502 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_BUCKET {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:37:08,514 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=ALLOCATE_KEY {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=1024, 
replicationType=RATIS, replicationFactor=ONE, keyLocationInfo=null} | 
ret=SUCCESS |  
+2019-08-28 11:37:25,713 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=ALLOCATE_BLOCK {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=0, 
replicationType=null, replicationFactor=null, keyLocationInfo=null, 
clientID=102693105074634756} | ret=SUCCESS |  
+2019-08-28 11:37:31,807 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=COMMIT_KEY {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=10, 
replicationType=null, replicationFactor=null, 
keyLocationInfo=[{blockID={containerID=3, localID=102693105075027973}, 
length=5, offset=0, token=null, pipeline=Pipeline[ Id: 
0aae28a5-8d47-4e6d-8275-0bef573d3730, Nodes: 
82c96fdc-06f5-47f4-ab5d-7a2fa599b46e{ip: 192.168.0.64, host: 192.168.0.64, 
networkLocation: /default-rack, certSerialId: null}, Type:RATIS, Factor:ONE, 
State:OPEN], createVersion=0}, {blockID={containerID=4, 
localID=102693106202181638}, length=5, offset=0, token=null, pipeline=Pipeline[ 
Id: 66409363-72fc-4118-a5c8-5d82a6dcb7a0, Nodes: 
82c96fdc-06f5-47f4-ab5d-7a2fa599b46e{ip: 192.168.0.64, host: 192.168.0.64, 
networkLocation: /default-rack, certSerialId: null}, Type:RATIS, Factor:ONE, 
State:OPEN], createVersion=0}], clientID=102693105074634756} | ret=SUCCESS |  
+2019-08-28 11:37:44,024 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_VOLUME {volume=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:37:44,025 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=READ_BUCKET {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures} | ret=SUCCESS |  
+2019-08-28 11:37:44,041 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=ALLOCATE_KEY {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=1024, 
replicationType=RATIS, replicationFactor=ONE, keyLocationInfo=null} | 
ret=SUCCESS |  
+2019-08-28 11:38:01,196 | INFO  | OMAudit | user=sbanerjee | ip=127.0.0.1 | 
op=ALLOCATE_BLOCK {volume=testcontainerstatemachinefailures, 
bucket=testcontainerstatemachinefailures, key=ratis, dataSize=0, 
replicationType=null, replicationFactor=null, keyLocationInfo=null, 
clientID=102693107402604551} | ret=SUCCESS |  
 
 Review comment:
   whitespace:end of line
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to