You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2015/08/18 14:54:45 UTC

[jira] [Created] (AMBARI-12807) Accumulo Master Start fails on secure cluster if PID/Log dirs for YARN and MR2 are customized

Dmytro Sen created AMBARI-12807:
-----------------------------------

             Summary: 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


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)