[
https://issues.apache.org/jira/browse/HADOOP-9139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan A. Veselovsky updated HADOOP-9139:
---------------------------------------
Affects Version/s: 3.0.0
Status: Patch Available (was: Open)
> improve script
> hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-9139
> URL: https://issues.apache.org/jira/browse/HADOOP-9139
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Ivan A. Veselovsky
> Assignee: Ivan A. Veselovsky
> Priority: Minor
> Attachments: HADOOP-9139.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira