ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14678) RU - Oozie HA, Service Check fails since the pre-upgrade directive has multiple tasks that should run only on the specified hosts
Date Mon, 18 Jan 2016 23:41:40 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105972#comment-15105972
] 

Hadoop QA commented on AMBARI-14678:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12782929/AMBARI-14678.trunk.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 4 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/4963//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4963//console

This message is automatically generated.

> RU - Oozie HA, Service Check fails since the pre-upgrade directive has multiple tasks
that should run only on the specified hosts
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14678
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14678
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14678.trunk.patch
>
>
> STR:
> HDP 2.2
> Multiple Oozie Servers
> RU to HDP 2.3
> The pre-upgrade directive for Oozie has 
> {code}
> <pre-upgrade>
>   <task xsi:type="execute" hosts="all" summary="Shut down all Oozie servers">
>     <script>scripts/oozie_server.py</script>
>     <function>stop</function>
>   </task>
>   <task xsi:type="execute" hosts="any" summary="Upgrading the database and creating
a new sharelib">
>     <script>scripts/oozie_server_upgrade.py</script>
>     <function>upgrade_oozie_database_and_sharelib</function>
>   </task>
> </pre-upgrade>
> {code}
> Notice that the first task runs on all hosts, and the second task runs on exactly one
random host. The problem is that the scheduler runs both tasks in one stage on the union of
these hosts. Therefore, the 2nd task runs on the wrong set of hosts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message