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

Error message not clear when the permission of staging dir is not as expected

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 1.2.6, 1.3.2
    • Component/s: Operability
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      SecureBulkLoadEndpoint checks the permission of staging dir. If it is not “rwxx-x”, the following error is prompted:

      Directory already exists but permissions aren't set to '-rwx--x--x'
      

      It says "Directory", but user has no idea what the directory is. User need to read code according to the stack trace to find that the error is for staging dir.
      Need to add more info into the error message.

      Master branch does not have this issue, as it does not check the permission any more.

        Attachments

          Activity

            People

            • Assignee:
              xiangli Xiang Li
              Reporter:
              xiangli Xiang Li
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: