You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/19 06:49:00 UTC

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

     [ https://issues.apache.org/jira/browse/HDDS-5988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-5988:
---------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Assignee: Lokesh Jain
>            Priority: Major
>              Labels: pull-request-available
>
> {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