Sadanand Shenoy created HDDS-6664:
-------------------------------------

             Summary: Trash FS getUri gives UnsupportedOperationException
                 Key: HDDS-6664
                 URL: https://issues.apache.org/jira/browse/HDDS-6664
             Project: Apache Ozone
          Issue Type: Bug
          Components: OM
            Reporter: Sadanand Shenoy



{code:java}
Exception in thread "Trash Emptier" java.lang.UnsupportedOperationException: 
fs.getUri() not implemented in TrashOzoneFileSystem
        at 
org.apache.hadoop.ozone.om.TrashOzoneFileSystem.getUri(TrashOzoneFileSystem.java:124)
        at org.apache.hadoop.fs.FileSystem.close(FileSystem.java:2598)
        at 
org.apache.hadoop.ozone.om.TrashPolicyOzone$Emptier.run(TrashPolicyOzone.java:232)
        at java.lang.Thread.run(Thread.java:748) 
{code}

During fs.close() , a debug log message is printed that prints fs.getUri(). Add 
a uri string such as "o3trash" to bypass this error




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to