You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/11/23 10:30:52 UTC

[GitHub] [ozone] lokeshj1703 commented on pull request #2856: HDDS-5988. NPE during Filesystem.getDefaultReplication.

lokeshj1703 commented on pull request #2856:
URL: https://github.com/apache/ozone/pull/2856#issuecomment-976380309


   @adoroszlai The NPE occurs only due to configuration. Before this PR configuration get was used without default parameter. In case a key is not configured, value returned is null leading to NPE. This PR adds default parameters in the get call.
   MiniOzoneCluster has many config keys set by default. That is the reason error did not appear before. I can create a new jira for testing functionality with minimum configurations?


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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