You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/08/18 18:10:47 UTC
[jira] [Commented] (AMBARI-12807) Accumulo Master Start fails on
secure cluster if PID/Log dirs for YARN and MR2 are customized
[ https://issues.apache.org/jira/browse/AMBARI-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701499#comment-14701499 ]
Hudson commented on AMBARI-12807:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #3288 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3288/])
AMBARI-12807 Accumulo Master Start fails on secure cluster if PID/Log dirs for YARN and MR2 are customized (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0db24d6b8b35a510c7ccd982c8acfa1ff1a475e2)
* ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_service.py
> Accumulo Master Start fails on secure cluster if PID/Log dirs for YARN and MR2 are customized
> ---------------------------------------------------------------------------------------------
>
> Key: AMBARI-12807
> URL: https://issues.apache.org/jira/browse/AMBARI-12807
> Project: Ambari
> Issue Type: Bug
> Components: stacks
> Affects Versions: 2.1.0
> Environment: SLES
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 2.1.2
>
> Attachments: AMBARI-12807.patch
>
>
> Accumulo Master Start fails {code}stderr: /var/lib/ambari-agent/data/errors-644.txt
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_master.py", line 24, in <module>
> AccumuloScript('master').execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_script.py", line 79, in start
> self.configure(env) # for security
> File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_script.py", line 73, in configure
> setup_conf_dir(name=self.component)
> File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py", line 190, in setup_conf_dir
> user=params.accumulo_user)
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 157, in __init__
> self.env.run()
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 258, 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/bin/kinit -kt /etc/security/keytabs/accumulo.headless.keytab accumulo@EXAMPLE.COM; ACCUMULO_CONF_DIR=/usr/hdp/current/accumulo-master/conf/server /usr/hdp/current/accumulo-client/bin/accumulo init --user accumulo@EXAMPLE.COM --instance-name hdp-accumulo-instance --clear-instance-name >/grid/0/log/accumulo/accumulo-init.out 2>/grid/0/log/accumulo/accumulo-init.err' returned 1. su: warning: cannot change directory to /home/accumulo: No such file or directory{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)