You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Di Li (JIRA)" <ji...@apache.org> on 2018/04/25 20:10:00 UTC
[jira] [Created] (AMBARI-23696) Hive Metastore install fails with a
No Such File error regarding hive-site.jceks on in Ambari 2.6.1
Di Li created AMBARI-23696:
------------------------------
Summary: Hive Metastore install fails with a No Such File error regarding hive-site.jceks on in Ambari 2.6.1
Key: AMBARI-23696
URL: https://issues.apache.org/jira/browse/AMBARI-23696
Project: Ambari
Issue Type: Bug
Reporter: Di Li
Assignee: Jayush Luniya
I started with a cluster where Hive metastore is on its own hostĀ (thus being the first component to be installed by the Ambari agent). The install failed with errorĀ
Caught an exception while executing custom service command: <type 'exceptions.OSError'>: [Errno 2] No such file or directory; [Errno 2] No such file or directory
Ambari agent log had err regarding hive-site.jcek , but it was actually about the JDK was never installed successfully by the Ambari agent (yet agent never failed )
INFO 2018-04-25 08:57:32,715 ActionQueue.py:238 - Executing command with id = 7-0, taskId = 331 for role = HIVE_METASTORE of cluster ssh.
INFO 2018-04-25 08:57:32,715 ActionQueue.py:279 - Command execution metadata - taskId = 331, retry enabled = False, max retry duration (sec) = 0, log_output = True
INFO 2018-04-25 08:57:32,716 CustomServiceOrchestrator.py:265 - Generating the JCEKS file: roleCommand=INSTALL and taskId = 331
INFO 2018-04-25 08:57:32,716 CustomServiceOrchestrator.py:243 - Identifying config hive-site for CS:
INFO 2018-04-25 08:57:32,716 CustomServiceOrchestrator.py:292 - provider_path=jceks://file/var/lib/ambari-agent/cred/conf/hive_metastore/hive-site.jceks
INFO 2018-04-25 08:57:32,716 CustomServiceOrchestrator.py:299 - ('/usr/jdk64/jdk1.8.0_112/bin/java', '-cp', '/var/lib/ambari-agent/cred/lib/*', 'org.apache.hadoop.security.alias.CredentialShell', 'create', u'javax.jdo.option.ConnectionPassword', '-value', [PROTECTED], '-provider', 'jceks://file/var/lib/ambari-agent/cred/conf/hive_metastore/hive-site.jceks')
ERROR 2018-04-25 08:57:32,724 CustomServiceOrchestrator.py:441 - Caught an exception while executing custom service command: <type 'exceptions.OSError'>: [Errno 2] No such file or directory; [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 378, in runCommand
self.generateJceks(command)
File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 300, in generateJceks
cmd_result = subprocess.call(cmd)
File "/usr/lib64/python2.7/subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 66, in sp_locked_init
sp_original_init(self, *a, **kw)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)