Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6079

simple spelling errors in yarn test code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha2
    • test
    • None
    • Reviewed

    Description

      charactor -> character
      hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/nodelabels/TestCommonNodeLabelsManager.java: Assert.assertTrue("invalid label charactor should not add to repo", caught);
      expteced -> expected
      hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebApp.java: Assert.fail("Exception is not expteced.");
      Exepected -> Expected
      hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java: "Exepected AbsoluteUsedCapacity > 0.95, got: "
      expteced -> expected
      hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebApp.java: Assert.fail("Exception is not expteced.");
      macthing -> matching
      hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java: assertEquals("Expected no macthing requests.", matches.size(), 0);
      propogated -> propagated
      hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestNodeHealthService.java: Assert.assertTrue("Node script time out message not propogated",
      protential -> potential
      hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/api/BasePBImplRecordsTest.java: LOG.info(String.format("Exclude protential property: %s\n", gsp.propertyName));
      recevied -> received
      hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestResourceLocalizationService.java: throw new Exception("Unexpected resource recevied.");
      shouldnt -> shouldn't
      hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServiceAppsNodelabel.java: fail("resourceInfo object shouldnt be available for finished apps");
      Transistion -> Transition
      hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMHA.java: Assert.fail("Transistion to Active should have failed for refreshAll()");
      Unhelathy -> Unhealthy
      hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMNodeTransitions.java: Assert.assertEquals("Unhelathy Nodes", initialUnHealthy,

      Attachments

        1. YARN-6079.001.patch
          12 kB
          vijay

        Activity

          People

            vijaykalluru vijay
            gsohn Grant Sohn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: