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 2020/01/20 01:23:23 UTC

[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request #461: HDDS-2910. OzoneManager startup failure with throwing unhelpful excep…

xiaoyuyao commented on a change in pull request #461: HDDS-2910. OzoneManager startup failure with throwing unhelpful excep…
URL: https://github.com/apache/hadoop-ozone/pull/461#discussion_r368341657
 
 

 ##########
 File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
 ##########
 @@ -335,7 +335,9 @@ private OzoneManager(OzoneConfiguration conf) throws IOException,
         OZONE_OM_USER_MAX_VOLUME + " value should be greater than zero");
 
     if (omStorage.getState() != StorageState.INITIALIZED) {
-      throw new OMException("OM not initialized.",
+      throw new OMException("OM not initialized, current OM storage state: " +
+          omStorage.getState().name() + ". Please check if 'ozone om --init' "
 
 Review comment:
   Can we rephrase "Please check if 'ozone om --init' command is executed before starting the OM service.",
   Please ensure 'ozone om --init' command is executed once before starting the OM service.",

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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