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 02:41:04 UTC
[GitHub] [hadoop-ozone] linyiqun commented on a change in pull request #461: HDDS-2910. OzoneManager startup failure with throwing unhelpful excep…
linyiqun 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_r368351064
##########
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:
Thanks @xiaoyuyao for the review. Have addressed the comment now.
----------------------------------------------------------------
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