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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • None
    • 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--b.patch
          0.5 kB
          Ivan A. Veselovsky
        2. HADOOP-9139.patch
          0.5 kB
          Ivan A. Veselovsky

        Activity

          People

            iveselovsky Ivan A. Veselovsky
            iveselovsky Ivan A. Veselovsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: