Marton Elek created HDDS-4749:
---------------------------------

             Summary: False-postive ERROR message is logged from 
TrashOzoneFileSystem
                 Key: HDDS-4749
                 URL: https://issues.apache.org/jira/browse/HDDS-4749
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Marton Elek


Got an ERROR from my Ozone log:

{code}
om_1        | 2021-01-26 15:58:31,607 [Trash Emptier] ERROR 
om.TrashOzoneFileSystem: Couldn't perform fs operation 
fs.listStatus()/fs.exists()FILE_NOT_FOUND 
org.apache.hadoop.ozone.om.exceptions.OMException: Unable to get file status: 
volume: s3v bucket: bucket1 key: .Trash
{code}

It seems that the implementation  of "if (exists(trashRoot)) {"  in 
TrashOzoneFileSystem:L224 expects FileNotFound exception but it receives 
OMException. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to