hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-21230) BackupUtils#checkTargetDir doesn't compose error message correctly
Date Tue, 25 Sep 2018 21:53:00 GMT
Ted Yu created HBASE-21230:
------------------------------

             Summary: BackupUtils#checkTargetDir doesn't compose error message correctly
                 Key: HBASE-21230
                 URL: https://issues.apache.org/jira/browse/HBASE-21230
             Project: HBase
          Issue Type: Bug
          Components: backup&amp;restore
            Reporter: Ted Yu


Here is related code:
{code}
      String expMsg = e.getMessage();
      String newMsg = null;
      if (expMsg.contains("No FileSystem for scheme")) {
        newMsg =
            "Unsupported filesystem scheme found in the backup target url. Error Message:
"
                + newMsg;
{code}
I think the intention was to concatenate expMsg at the end of newMsg.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message