Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Common utilities for system tests.
      1. A method for restarting the daemon with new configuration.
      public static void restartClusterWithNewConfig(Hashtable<String,Long> props, String confFile) throws Exception;

      2. A method for restarting the daemon with default configuration.
      public void restart() throws Exception;

      3. A method for waiting until daemon is stop.
      public void waitForClusterToStop() throws Exception;

      4. A method for waiting until daemon is start.
      public void waitForClusterToStart() throws Exception;

      1. 6772-ydist-security.patch
        7 kB
        Vinay Kumar Thota
      2. hadoop-6772.patch
        7 kB
        Vinay Kumar Thota
      3. hadoop-6772.patch
        7 kB
        Vinay Kumar Thota
      4. hadoop-6772.patch
        7 kB
        Vinay Kumar Thota

        Issue Links

          Activity

          Hide
          Vinay Kumar Thota added a comment -

          Initial patch.

          Show
          Vinay Kumar Thota added a comment - Initial patch.
          Hide
          Konstantin Boudnik added a comment -

          this won't do for sure...

          +import org.apache.hadoop.mapred.UtilsForTests;
          

          Also, Common doesn't need system-test.xml to be present because its content is only used by HDFS and MR clusters.

          Show
          Konstantin Boudnik added a comment - this won't do for sure... +import org.apache.hadoop.mapred.UtilsForTests; Also, Common doesn't need system-test.xml to be present because its content is only used by HDFS and MR clusters.
          Hide
          Vinay Kumar Thota added a comment -

          Uploaded the patch by addressing cos comments.

          Show
          Vinay Kumar Thota added a comment - Uploaded the patch by addressing cos comments.
          Hide
          Konstantin Boudnik added a comment -

          Looks better, but isn't applicable because has been generated incorrectly...

          Index: AbstractDaemonCluster.java
          
          Show
          Konstantin Boudnik added a comment - Looks better, but isn't applicable because has been generated incorrectly... Index: AbstractDaemonCluster.java
          Hide
          Vinay Kumar Thota added a comment -

          Fixed and uploaded the latest patch.

          Show
          Vinay Kumar Thota added a comment - Fixed and uploaded the latest patch.
          Hide
          Konstantin Boudnik added a comment -

          +1 patch looks good.
          Let's verify

          Show
          Konstantin Boudnik added a comment - +1 patch looks good. Let's verify
          Hide
          Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12445415/hadoop-6772.patch
          against trunk revision 947882.

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 3 new or modified tests.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 findbugs. The patch does not introduce any new Findbugs warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed core unit tests.

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/544/testReport/
          Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/544/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
          Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/544/artifact/trunk/build/test/checkstyle-errors.html
          Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/544/console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12445415/hadoop-6772.patch against trunk revision 947882. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/544/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/544/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/544/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/544/console This message is automatically generated.
          Hide
          Konstantin Boudnik added a comment -

          I have just committed this. Thank you Vinay.

          Show
          Konstantin Boudnik added a comment - I have just committed this. Thank you Vinay.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #267 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/267/)
          HADOOP-6772. Utilities for system tests specific. Contributed by Vinay Thota.

          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #267 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/267/ ) HADOOP-6772 . Utilities for system tests specific. Contributed by Vinay Thota.
          Hide
          Vinay Kumar Thota added a comment -

          Patch for yahoo distribution security branch.

          Show
          Vinay Kumar Thota added a comment - Patch for yahoo distribution security branch.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk #349 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/349/)

          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk #349 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/349/ )

            People

            • Assignee:
              Vinay Kumar Thota
              Reporter:
              Vinay Kumar Thota
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development