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

improve script hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None

      Description

      Script hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh is used in "internal" Kerberos tests to kill started apacheds server.
      There are 2 problems in the script:
      1) it invokes "kill" even if there are no running apacheds servers;
      2) it does not work correctly on all Linux platforms since "cut -f4 -d ' '" command relies upon the exact number of spaces in the ps potput, but this number can be different.

        Attachments

        1. HADOOP-9139.patch
          0.5 kB
          Ivan A. Veselovsky
        2. HADOOP-9139--b.patch
          0.5 kB
          Ivan A. Veselovsky

          Activity

            People

            • Assignee:
              iveselovsky Ivan A. Veselovsky
              Reporter:
              iveselovsky Ivan A. Veselovsky
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: