[ 
https://issues.apache.org/jira/browse/HBASE-21230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-21230:
---------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Thanks for the patch, liubang.

> 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&restore
>            Reporter: Ted Yu
>            Assignee: liubangchen
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HBASE-21230-1.patch
>
>
> Here is related code from BackupUtils#checkTargetDir:
> {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)

Reply via email to