[
https://issues.apache.org/jira/browse/AMBARI-13683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986759#comment-14986759
]
Jayush Luniya commented on AMBARI-13683:
----------------------------------------
Trunk
commit 14537c6f16116c1cd7745d5dc8aa9a5798986722
Author: Jayush Luniya <[email protected]>
Date: Mon Nov 2 22:13:05 2015 -0800
AMBARI-13683: Express Upgrade: HBASE upgrade fails during EU for HDP-2.1->
HDP-2.3 (jluniya)
> Express Upgrade: HBASE upgrade fails during EU for HDP-2.1-> HDP-2.3
> --------------------------------------------------------------------
>
> Key: AMBARI-13683
> URL: https://issues.apache.org/jira/browse/AMBARI-13683
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server, stacks
> Affects Versions: 2.2.0, 2.1.3
> Reporter: Jayush Luniya
> Assignee: Jayush Luniya
> Priority: Blocker
> Fix For: 2.1.3
>
> Attachments: AMBARI-13683.patch
>
>
> {noformat}
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py",
> line 149, in <module>
> HbaseMaster().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 224, in execute
> method(env)
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 492, in restart
> self.stop(env, upgrade_type=upgrade_type)
> File
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py",
> line 90, in stop
> hbase_service('master', action = 'stop')
> File
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_service.py",
> line 48, in hbase_service
> on_timeout = format("! ( {no_op_test} ) || {sudo} -H -E kill -9 `cat
> {pid_file}`"),
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
> line 154, in __init__
> self.env.run()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 158, in run
> self.run_action(resource, action)
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 121, in run_action
> provider_action()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
> line 238, in action_run
> tries=self.resource.tries, try_sleep=self.resource.try_sleep)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 70, in inner
> result = function(command, **kwargs)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 92, in checked_call
> tries=tries, try_sleep=try_sleep)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 140, in _call_wrapper
> result = _call(command, **kwargs_copy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 291, in _call
> raise Fail(err_msg)
> resource_management.core.exceptions.Fail: Execution of
> '/usr/hdp/current/hbase-master/bin/hbase-daemon.sh --config
> /usr/hdp/current/hbase-master/conf stop master' returned 1.
> +======================================================================+
> | Error: JAVA_HOME is not set |
> +----------------------------------------------------------------------+
> | Please download the latest Sun JDK from the Sun Java web site |
> | > http://www.oracle.com/technetwork/java/javase/downloads |
> | |
> | HBase requires Java 1.7 or later. |
> +======================================================================+
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)