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

FileContext does not react on changing umask via configuration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None

      Description

      After HADOOP-13073, RawLocalFileSystem does react on changing umask but FileContext does not react on changing umask via configuration. TestDirectoryCollection fails by the inconsistent behavior.

      java.lang.AssertionError: local dir parent not created with proper permissions expected:<rwxr-xr-x> but was:<rwx------>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.apache.hadoop.yarn.server.nodemanager.TestDirectoryCollection.testCreateDirectories(TestDirectoryCollection.java:113)
      

        Attachments

        1. YARN-5425.00.patch
          3 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                yufeigu Yufei Gu
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: