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

        Hide
        Matt Foley added a comment -

        Moved to 1.2.0 upon release of 1.1.0.

        Show
        Matt Foley added a comment - Moved to 1.2.0 upon release of 1.1.0.
        Hide
        Matt Foley added a comment -

        Changed Target Version to 1.3.0 upon release of 1.2.0. Please change to 1.2.1 if you intend to submit a fix for branch-1.2.

        Show
        Matt Foley added a comment - Changed Target Version to 1.3.0 upon release of 1.2.0. Please change to 1.2.1 if you intend to submit a fix for branch-1.2.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eli Collins
          • Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:

              Development