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

FileContext does not react on changing umask via configuration

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • None
    • 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

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

          People

            aajisaka Akira Ajisaka
            yufeigu Yufei Gu
            Votes:
            0 Vote for this issue
            Watchers:
            10 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment