Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4341

TestBalancerWithNodeGroup fails on Windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1-win
    • Fix Version/s: 1-win
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Test added with the support for "NetworkTopology with NodeGroup" fails on Windows.

      Relevant section from the test log:

      2012-12-24 23:51:01,835 WARN datanode.DataNode (DataNode.java:makeInstance(1582)) - Invalid directory in dfs.data.dir: Incorrect permission for I:/git/project/hadoop-monarch/build/test/data/dfs/data/data1, expected: rwxr-xr-x, while actual: rwx------
      2012-12-24 23:51:01,911 WARN datanode.DataNode (DataNode.java:makeInstance(1582)) - Invalid directory in dfs.data.dir: Incorrect permission for I:/git/project/hadoop-monarch/build/test/data/dfs/data/data2, expected: rwxr-xr-x, while actual: rwx------
      2012-12-24 23:51:01,911 ERROR datanode.DataNode (DataNode.java:makeInstance(1588)) - All directories in dfs.data.dir are invalid.

      Default permissions on Windows are 700 while datanode expects 755.

      We already fixed this in MiniDFSCluster in branch-1-win. A similar fix is needed in MiniDFSClusterWithNodeGroup.

        Issue Links

          Activity

          Hide
          ivanmi Ivan Mitic added a comment -

          Thanks Nicholas!

          Show
          ivanmi Ivan Mitic added a comment - Thanks Nicholas!
          Hide
          szetszwo Tsz Wo Nicholas Sze added a comment -

          I have committed this. Thanks, Ivan!

          Show
          szetszwo Tsz Wo Nicholas Sze added a comment - I have committed this. Thanks, Ivan!
          Hide
          szetszwo Tsz Wo Nicholas Sze added a comment -

          +1 patch looks good.

          Show
          szetszwo Tsz Wo Nicholas Sze added a comment - +1 patch looks good.
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12562361/HADOOP-9167.branch-1-win.patch
          against trunk revision .

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1926//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12562361/HADOOP-9167.branch-1-win.patch against trunk revision . -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1926//console This message is automatically generated.
          Hide
          ivanmi Ivan Mitic added a comment -

          Attaching the patch.

          Show
          ivanmi Ivan Mitic added a comment - Attaching the patch.

            People

            • Assignee:
              ivanmi Ivan Mitic
              Reporter:
              ivanmi Ivan Mitic
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development