Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4059

Add tests that try starting the various hadoop command line scripts

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.19.0
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None

      Description

      Hadoop has lots of tests that start clusters, but I don't see any that test the command line scripts working. Which means that changes to the scripts and the code behind them may not get picked up rapidly, and regressions won't get picked up by Hudson and apportioned to the specific patches.

      Propose:

      • an abstract test case that can exec scripts on startup; wait for them to finish, kill them if they take too long
      • test cases for every service (namenode, tasktracker, datanode, etc)
      • tests that try invalid commands, -help options
      • tests that start the services, assert that they are live, and shut them down

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified