neils-dev commented on PR #3948:
URL: https://github.com/apache/ozone/pull/3948#issuecomment-1316183275

   > Also, the datanodes crash if ozone.metadata.dirs aren't specified,
   
   The ozone.metadata.dirs are optional fallback and recommended to not be set 
in production environments.
   
   > It doesn't seem optional for the datanode. It might not be used but it has 
to be specified. If not specified, then we will get a null pointer exception in 
HddsDatanodeService.start() while initializing 
[DatanodeLayoutStorage](https://github.com/xBis7/ozone/blob/master/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/HddsDatanodeService.java#L267).
   
   This looks like a potential bug here, I would expect the datanodes to not 
need the ozone.metadata.dirs to be set, only to use it as a fallback.  
@errose28 is there a reason for this?
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to