[
https://issues.apache.org/jira/browse/HADOOP-9139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532563#comment-13532563
]
Ivan A. Veselovsky commented on HADOOP-9139:
--------------------------------------------
Hi, Thomas,
the test org.apache.hadoop.ha.TestZKFailoverController seems to be falky, it
fails from time to time.
I suppose, in pre-commit verification jobs the killKdc.sh skript affected by
the patch is not even ever invoked because the profile -PstartKdc is not
specified.
So, I suppose this failure is not anyhow related to the patch.
> 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--b.patch, 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