You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sunil Govindan (JIRA)" <ji...@apache.org> on 2018/11/06 09:55:00 UTC

[jira] [Resolved] (HADOOP-15668) mvn test goal fails on HADOOP-15407 branch

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

Sunil Govindan resolved HADOOP-15668.
-------------------------------------
    Resolution: Not A Problem

Closed with correct status

> mvn test goal fails on HADOOP-15407 branch
> ------------------------------------------
>
>                 Key: HADOOP-15668
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15668
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Andras Bokor
>            Assignee: Andras Bokor
>            Priority: Major
>
> It's very easy to reproduce:
> {code}cd hadoop-common-project/hadoop-common/
> mvn test -Dtest=Whatever{code}
> The error is due to
> {code}     [exec] Running bats -t hadoop_stop_daemon.bats
>      [exec] 1..2
>      [exec] ok 1 hadoop_stop_daemon_changing_pid
>      [exec] not ok 2 hadoop_stop_daemon_force_kill
>      [exec] # (in test file hadoop_stop_daemon.bats, line 43)
>      [exec] #   `[ -f ${TMP}/pidfile ]' failed
>      [exec] # bindir: /Users/abokor/work/hadoop/hadoop-common-project/hadoop-common/src/test/scripts
>      [exec] # sh: /Users/abokor/work/hadoop/hadoop-common-project/hadoop-common/src/test/scripts/process_with_sigterm_trap.sh: No such file or directory{code}
> This happens because actually 3 commits belong to HADOOP-15527 but HADOOP-15407 branch contains only one of them so the test won't find process_with_sigterm_trap.sh.
> I am not sure what is the best practice to solve this kind of issues. Is patch required or can somebody just cherry-pick the missing commits?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org