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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: viewfs
    • Labels:
      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.patch
          2 kB
          Brahma Reddy Battula
        2. HADOOP-15167-002.patch
          5 kB
          Brahma Reddy Battula

          Issue Links

            Activity

              People

              • Assignee:
                brahmareddy Brahma Reddy Battula
                Reporter:
                brahmareddy Brahma Reddy Battula
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: