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

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

    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.patch
          2 kB
          Brahma Reddy Battula
        2. HADOOP-15167-002.patch
          5 kB
          Brahma Reddy Battula

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: