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

Miss space and closing quote in AccessController#checkSystemOrSuperUser

    XMLWordPrintableJSON

Details

    Description

      Miss space and closing quote in AccessController#checkSystemOrSuperUser

        private void checkSystemOrSuperUser() throws IOException {
          // No need to check if we're not going to throw
          if (!authorizationEnabled) {
            return;
          }
          User activeUser = getActiveUser();
          if (!Superusers.isSuperUser(activeUser)) {
          //***, miss closing ' and space in the AccessDeniedException string
            throw new AccessDeniedException("User '" + (activeUser != null ?
              activeUser.getShortName() : "null") + "is not system or super user.");
          }
        }
      

      Attachments

        1. HBASE-15627-v001.patch
          0.8 kB
          Hua Xiang

        Activity

          People

            huaxiang Hua Xiang
            huaxiang Hua Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: