hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan A. Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9139) improve script hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh
Date Fri, 14 Dec 2012 11:38:12 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan A. Veselovsky updated HADOOP-9139:
---------------------------------------

    Attachment: HADOOP-9139--b.patch

the "HADOOP-9139--b.patch" version of the patch adds "-t" option to xargs command, so that
it prints the command to be executed. 
                
> 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

Mime
View raw message