You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/12/04 20:20:00 UTC

[jira] [Commented] (AMBARI-22574) Failed to restart services on PPC cluster post Ambari upgrade for IOP/HDP migration

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

Hadoop QA commented on AMBARI-22574:
------------------------------------

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

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

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

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

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

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12791//console

This message is automatically generated.

> Failed to restart services on PPC cluster post Ambari upgrade for IOP/HDP migration
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-22574
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22574
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.6.1
>            Reporter: Di Li
>            Assignee: Di Li
>            Priority: Critical
>             Fix For: 2.6.1
>
>         Attachments: AMBARI-22574.patch
>
>
> The cluster started as IOP 4.2.5 on PPC with NameNode HA enabled. I upgraded Ambari to Ambari 2.6.1. The NN HA setting does not matter to the issue.
> After the Ambari upgrade, I can't restart services by clicking the "Restart" button on each service with that "restart needed" icon. Nor can I abort the requests.
> Ambari server log contains the following error on unable to find redhat-ppc7 os type.
> java.lang.RuntimeException: org.apache.ambari.server.controller.spi.SystemException: Operating System matching redhat-ppc7 could not be found
>         at org.apache.ambari.server.actionmanager.ExecutionCommandWrapper.getExecutionCommand(ExecutionCommandWrapper.java:253)
>         at org.apache.ambari.server.actionmanager.ActionScheduler.abortOperationsForStage(ActionScheduler.java:880)
>         at org.apache.ambari.server.actionmanager.ActionScheduler.processCancelledRequestsList(ActionScheduler.java:1172)
>         at org.apache.ambari.server.actionmanager.ActionScheduler.doWork(ActionScheduler.java:333)
>         at org.apache.ambari.server.actionmanager.ActionScheduler.run(ActionScheduler.java:310)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.ambari.server.controller.spi.SystemException: Operating System matching redhat-ppc7 could not be found
>         at org.apache.ambari.server.state.stack.upgrade.RepositoryVersionHelper.getOSEntityForHost(RepositoryVersionHelper.java:422)
>         at org.apache.ambari.server.actionmanager.ExecutionCommandWrapper.getExecutionCommand(ExecutionCommandWrapper.java:247)
> repo_version table had "redhat7" as the os type in the repository information. I worked around the issue by updating repo_version table to have redhat-ppc7 as the os type via the following SQL query: 
> update repo_version set repositories='[{"OperatingSystems/ambari_managed_repositories":"true","repositories":[{"Repositories/repo_id":"IOP-4.2.5","Repositories/base_url":"http://birepo-build.svl.ibm.com/repos/IOP/RHEL7/ppc64le/4.2.5.0/20170602_1749","Repositories/repo_name":"IOP"},{"Repositories/repo_id":"IOP-UTILS-1.3","Repositories/base_url":"http://birepo-build.svl.ibm.com/repos/IOP-UTILS/RHEL7/ppc64le/1.3","Repositories/repo_name":"IOP-UTILS"}],"OperatingSystems/os_type":"redhat-ppc7"}]' where repo_version_id = 1;



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)