Andrew Onischuk created AMBARI-9901:
---------------------------------------

             Summary: Knox service check fails with umask 027 also in non-root 
(as well as Hive metastore start)
                 Key: AMBARI-9901
                 URL: https://issues.apache.org/jira/browse/AMBARI-9901
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.0.0



    2015-03-03 13:24:57,573 - Error while executing command 'service_check':
    Traceback (most recent call last):
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 208, in execute
        method(env)
      File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", 
line 89, in thunk
        return fn(*args, **kwargs)
      File 
"/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/service_check.py",
 line 69, in service_check
        sudo=True
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
line 148, 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 276, in action_run
        raise ex
    Fail: String command '/usr/bin/python2.7 
/var/lib/ambari-agent/data/tmp/validateKnoxStatus.py -p 8443 -n u1201.org' 
cannot be run as sudo. Please supply the command as a tuple of arguments
    





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

Reply via email to