You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2021/11/15 10:41:00 UTC

[jira] [Created] (HDDS-5988) NPE during Filesystem.getDefaultReplication

Lokesh Jain created HDDS-5988:
---------------------------------

             Summary: NPE during Filesystem.getDefaultReplication
                 Key: HDDS-5988
                 URL: https://issues.apache.org/jira/browse/HDDS-5988
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone Filesystem
            Reporter: Lokesh Jain


{code:java}
java.lang.NullPointerException
    at org.apache.hadoop.fs.ozone.BasicRootedOzoneClientAdapterImpl.getDefaultReplication(BasicRootedOzoneClientAdapterImpl.java:269)
    at org.apache.hadoop.fs.ozone.BasicRootedOzoneFileSystem.getDefaultReplication(BasicRootedOzoneFileSystem.java:809)
    at org.apache.hadoop.fs.FileSystem.getDefaultReplication(FileSystem.java:2677) {code}
NPE while FileSystem.getDefaultReplication. ReplicationType needs to be configured with the latest changes otherwise NPE can be thrown.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org