Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-465

Suppress group mapping lookup warnings for ozone

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      change log4j.logger.org.apache.hadoop.security.ShellBasedUnixGroupsMapping=ERROR for docker-config and log4j.properties. We will remove this when the authentication is fully implemented for ozone. Otherwise, we will see the following warnings upon volume creation. 

      
      hadoop@dd71731d0154:~$ ozone oz volume create /volume1 --root -u test
      
      2018-09-14 18:06:03 WARN  ShellBasedUnixGroupsMapping:210 - unable to return groups for user test
      
      PartialGroupNameException The user name 'test' is not found. id: ‘test’: no such user
      
      id: ‘test’: no such user
      
       
      
       at org.apache.hadoop.security.ShellBasedUnixGroupsMapping.resolvePartialGroupNames(ShellBasedUnixGroupsMapping.java:294)
      
      ...
      
      2018-09-14 18:06:03 INFO  RpcClient:206 - Creating Volume: volume1, with test as owner and quota set to 1152921504606846976 bytes.
      
      

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xyao Xiaoyu Yao
                Reporter:
                xyao Xiaoyu Yao
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: