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

In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true.

    Details

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

      Description

      For example in below clusterMap

      Writer = "/d2/r4/n8" which does not have local node.
      Available nodes rack =

      {"/d2/r4/n7","/d1/r1/n1","/d1/r2/n3","/d2/r3/n6"}

      Current hierarchy in choosing node for first local storage replica is
      1. Choose local machine (Not available)
      2. Choose Local node group machine (Not available)
      3. choose random

      But instead of choosing random , should choose localrack node first(if fallbackToLocalRack is true, in example it is "/d2/r4/n7" ) else should go for radom node

      1. HDFS-9036.1.patch
        5 kB
        J.Andreina
      2. HDFS-9036.2.patch
        4 kB
        J.Andreina

        Activity

        Hide
        andreina J.Andreina added a comment -

        Attached an initial patch .
        Please review.

        Show
        andreina J.Andreina added a comment - Attached an initial patch . Please review.
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        -1 pre-patch 15m 58s Findbugs (version ) appears to be broken on trunk.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 tests included 0m 0s The patch appears to include 1 new or modified test files.
        +1 javac 7m 50s There were no new javac warning messages.
        +1 javadoc 10m 2s There were no new javadoc warning messages.
        +1 release audit 0m 25s The applied patch does not increase the total number of release audit warnings.
        +1 checkstyle 0m 32s There were no new checkstyle issues.
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 install 1m 34s mvn install still works.
        +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse.
        +1 findbugs 2m 27s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
        +1 native 3m 8s Pre-build of native portion
        -1 hdfs tests 161m 43s Tests failed in hadoop-hdfs.
            204m 16s  



        Reason Tests
        Failed unit tests hadoop.hdfs.server.namenode.TestCheckpoint



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12755111/HDFS-9036.1.patch
        Optional Tests javadoc javac unit findbugs checkstyle
        git revision trunk / 7b5b2c5
        hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12374/artifact/patchprocess/testrun_hadoop-hdfs.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12374/testReport/
        Java 1.7.0_55
        uname Linux asf904.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12374/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment -1 pre-patch 15m 58s Findbugs (version ) appears to be broken on trunk. +1 @author 0m 0s The patch does not contain any @author tags. +1 tests included 0m 0s The patch appears to include 1 new or modified test files. +1 javac 7m 50s There were no new javac warning messages. +1 javadoc 10m 2s There were no new javadoc warning messages. +1 release audit 0m 25s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 0m 32s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 34s mvn install still works. +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse. +1 findbugs 2m 27s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 3m 8s Pre-build of native portion -1 hdfs tests 161m 43s Tests failed in hadoop-hdfs.     204m 16s   Reason Tests Failed unit tests hadoop.hdfs.server.namenode.TestCheckpoint Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12755111/HDFS-9036.1.patch Optional Tests javadoc javac unit findbugs checkstyle git revision trunk / 7b5b2c5 hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12374/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12374/testReport/ Java 1.7.0_55 uname Linux asf904.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12374/console This message was automatically generated.
        Hide
        andreina J.Andreina added a comment -

        Testcase failures are unrelated .
        Please review.

        Show
        andreina J.Andreina added a comment - Testcase failures are unrelated . Please review.
        Hide
        vinayrpet Vinayakumar B added a comment -

        Thanks J.Andreina for reporting the issue.

        1. Following change is unnecessary. its already in 'else' part since 'if' block will return.

        +    } else {
        +      if (!fallbackToLocalRack) {
        +        return null;
        +      }
        +      // try a node on local rack
        +      return chooseLocalRack(localMachine, excludedNodes, blocksize,
        +         maxNodesPerRack, results, avoidStaleNodes, storageTypes);
             }
        -
        -    if (!fallbackToLocalRack) {
        -      return null;
        -    }
        -    // try a node on local rack
        -    return chooseLocalRack(localMachine, excludedNodes, 
        -        blocksize, maxNodesPerRack, results, avoidStaleNodes, storageTypes);

        Other changes are fine.
        +1 once addressed above comment.

        Hi Tsz Wo Nicholas Sze, Do you have any suggestions here? Thanks.

        Show
        vinayrpet Vinayakumar B added a comment - Thanks J.Andreina for reporting the issue. 1. Following change is unnecessary. its already in 'else' part since 'if' block will return. + } else { + if (!fallbackToLocalRack) { + return null ; + } + // try a node on local rack + return chooseLocalRack(localMachine, excludedNodes, blocksize, + maxNodesPerRack, results, avoidStaleNodes, storageTypes); } - - if (!fallbackToLocalRack) { - return null ; - } - // try a node on local rack - return chooseLocalRack(localMachine, excludedNodes, - blocksize, maxNodesPerRack, results, avoidStaleNodes, storageTypes); Other changes are fine. +1 once addressed above comment. Hi Tsz Wo Nicholas Sze , Do you have any suggestions here? Thanks.
        Hide
        andreina J.Andreina added a comment -

        Thanks Vinayakumar B for the review comments.
        Updated the patch.
        Please review.

        Show
        andreina J.Andreina added a comment - Thanks Vinayakumar B for the review comments. Updated the patch. Please review.
        Hide
        szetszwo Tsz Wo Nicholas Sze added a comment -

        The patch looks good. Thanks.

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



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 17m 32s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 tests included 0m 0s The patch appears to include 1 new or modified test files.
        +1 javac 7m 48s There were no new javac warning messages.
        +1 javadoc 10m 0s There were no new javadoc warning messages.
        +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings.
        +1 checkstyle 1m 19s There were no new checkstyle issues.
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 install 1m 27s mvn install still works.
        +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse.
        +1 findbugs 2m 26s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
        +1 native 3m 8s Pre-build of native portion
        -1 hdfs tests 164m 35s Tests failed in hadoop-hdfs.
            209m 14s  



        Reason Tests
        Failed unit tests hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaPlacement
          hadoop.hdfs.server.blockmanagement.TestBlockManager
          hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistLockedMemory
          hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyWriter
          hadoop.tools.TestJMXGet
          hadoop.hdfs.web.TestWebHDFSOAuth2



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12755552/HDFS-9036.2.patch
        Optional Tests javadoc javac unit findbugs checkstyle
        git revision trunk / d845547
        hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12412/artifact/patchprocess/testrun_hadoop-hdfs.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12412/testReport/
        Java 1.7.0_55
        uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12412/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 17m 32s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 tests included 0m 0s The patch appears to include 1 new or modified test files. +1 javac 7m 48s There were no new javac warning messages. +1 javadoc 10m 0s There were no new javadoc warning messages. +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 1m 19s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 27s mvn install still works. +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse. +1 findbugs 2m 26s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 3m 8s Pre-build of native portion -1 hdfs tests 164m 35s Tests failed in hadoop-hdfs.     209m 14s   Reason Tests Failed unit tests hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaPlacement   hadoop.hdfs.server.blockmanagement.TestBlockManager   hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistLockedMemory   hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyWriter   hadoop.tools.TestJMXGet   hadoop.hdfs.web.TestWebHDFSOAuth2 Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12755552/HDFS-9036.2.patch Optional Tests javadoc javac unit findbugs checkstyle git revision trunk / d845547 hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12412/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12412/testReport/ Java 1.7.0_55 uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12412/console This message was automatically generated.
        Hide
        vinayrpet Vinayakumar B added a comment -

        +1 for the latest patch,

        Committed to trunk and branch-2.

        Thanks J.Andreina for the contribution
        Thanks Tsz Wo Nicholas Sze for review.

        Show
        vinayrpet Vinayakumar B added a comment - +1 for the latest patch, Committed to trunk and branch-2. Thanks J.Andreina for the contribution Thanks Tsz Wo Nicholas Sze for review.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #8440 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8440/)
        HDFS-9036. In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8440 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8440/ ) HDFS-9036 . In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #383 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/383/)
        HDFS-9036. In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #383 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/383/ ) HDFS-9036 . In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk #1115 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1115/)
        HDFS-9036. In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #1115 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1115/ ) HDFS-9036 . In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #377 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/377/)
        HDFS-9036. In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #377 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/377/ ) HDFS-9036 . In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2325 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2325/)
        HDFS-9036. In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2325 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2325/ ) HDFS-9036 . In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #362 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/362/)
        HDFS-9036. In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #362 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/362/ ) HDFS-9036 . In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2302 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2302/)
        HDFS-9036. In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2302 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2302/ ) HDFS-9036 . In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) (vinayakumarb: rev c7156503856e24faf844c5c647157b310d8b537f) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java

          People

          • Assignee:
            andreina J.Andreina
            Reporter:
            andreina J.Andreina
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development