ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19015) RegionServer Restart During Upgrade Fails Because of Missing Import When Formatting PID
Date Tue, 29 Nov 2016 13:50:58 GMT

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

Jonathan Hurley commented on AMBARI-19015:
------------------------------------------

Looks like a missing import based on the log from the agents:
{noformat}
Pid file {pid_dir}/hbase-{hbase_user}-regionserver.pid is empty or does not exist
{noformat}

> RegionServer Restart During Upgrade Fails Because of Missing Import When Formatting PID
> ---------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19015
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19015
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19015.patch
>
>
> During an express upgrade, the following is seen on {{branch-2.5}} but not {{trunk}}:
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py",
line 166, in <module>
>     HbaseRegionServer().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 282, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 728, in restart
>     self.post_upgrade_restart(env, upgrade_type=upgrade_type)
>   File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py",
line 84, in post_upgrade_restart
>     upgrade.post_regionserver(env)
>   File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py",
line 48, in post_regionserver
>     is_regionserver_registered(exec_cmd, params.hbase_user, params.hostname, re.IGNORECASE)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py",
line 55, in wrapper
>     return function(*args, **kwargs)
>   File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py",
line 77, in is_regionserver_registered
>     raise Fail("RegionServer process is not running")
> resource_management.core.exceptions.Fail: RegionServer process is not running
> {code}
> Looks like a missing import based on the log from the agents:
> {noformat}
> Pid file {pid_dir}/hbase-{hbase_user}-regionserver.pid is empty or does not exist
> {noformat}



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

Mime
View raw message