Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15167

[viewfs] ls will fail when user doesn't exist

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.7.0
    • None
    • viewfs
    • None

    Description

      Have Secure federated cluster with atleast two nameservices
      Configure viewfs related configs

      When we run the ls cmd in HDFS client ,we will call the method: org.apache.hadoop.fs.viewfs.ViewFileSystem.InternalDirOfViewFs#getFileStatus

      it will try to get the group of the kerberos user. If the node has not this user, it fails.

      Throws the following and exits.UserGroupInformation#getPrimaryGroupName

      if (groups.isEmpty()) {
            throw new IOException("There is no primary group for UGI " + this);
          }
      

      Attachments

        1. HADOOP-15167-002.patch
          5 kB
          Brahma Reddy Battula
        2. HADOOP-15167.patch
          2 kB
          Brahma Reddy Battula

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula

            Dates

              Created:
              Updated:

              Slack

                Issue deployment