Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2556

HDFS tests fail on systems with umask 0002

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: datanode, test
    • Labels:
    • Target Version/s:

      Description

      On systems with umask 0002 tests will fail due to all data dir directories being invalid:

      2011-11-16 14:19:53,879 WARN datanode.DataNode (DataNode.java:makeInstance(1569)) - Invalid directory in dfs.data.dir: Incorrect permission for /data/2/eli/src/hadoop2/build/test/data/dfs/data/data1, expected: rwxr-xr-x, while actual: rwxrwxr-x
      2011-11-16 14:19:53,893 WARN datanode.DataNode (DataNode.java:makeInstance(1569)) - Invalid directory in dfs.data.dir: Incorrect permission for /data/2/eli/src/hadoop2/build/test/data/dfs/data/data2, expected: rwxr-xr-x, while actual: rwxrwxr-x
      2011-11-16 14:19:53,894 ERROR datanode.DataNode (DataNode.java:makeInstance(1575)) - All directories in dfs.data.dir are invalid.

      Aside from changing the umask backporting HDFS-1560 fixed this issue.

        Activity

        Eli Collins created issue -
        Eli Collins made changes -
        Field Original Value New Value
        Labels test-fail
        Matt Foley made changes -
        Target Version/s 1.1.0 [ 12317959 ] 1.2.0 [ 12321657 ]
        Matt Foley made changes -
        Target Version/s 1.2.0 [ 12321657 ] 1.3.0 [ 12324328 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Eli Collins
          • Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:

              Development