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

Add entry point/script to do preflight checking of script resolution

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.0.0, 0.24.0
    • None
    • util
    • None

    Description

      The script supplied by the ops team could have many problems

      1. not run
      2. have the wrong permissions
      3. fail to parse/resolve some or all hosts
      4. not be the string set in the configuration file.

      Diagnostics could be improved here with an entry point that

      1. reads in the configuration file
      2. instantiates whatever mapper is declared
      3. attempts to resolve all hosts passed in as arguments, logging success and failures
      4. prints out a topology map at the end
        A key goal would be to recognise and report a complete failure to report a mapping as per MAPREDUCE-50, so let people identify problems in their script before updating the cluster

      Test plan
      -Java entry point: invoke it with arguments, get the output as a string and scan.
      -Shell script. Include whatever post-install script tests are being written.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: