Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21230

BackupUtils#checkTargetDir doesn't compose error message correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1
    • backup&restore
    • None
    • Reviewed

    Description

      Here is related code from BackupUtils#checkTargetDir:

            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;
      

      I think the intention was to concatenate expMsg at the end of newMsg.

      Attachments

        1. HBASE-21230-1.patch
          0.7 kB
          liubangchen

        Activity

          People

            liubangchen liubangchen
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: