Andrew Onischuk created AMBARI-10729:
----------------------------------------

             Summary: Accumulo Client can't be installed after enabling security
                 Key: AMBARI-10729
                 URL: https://issues.apache.org/jira/browse/AMBARI-10729
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.0


When starting services on enabling security

    
    
    
    Traceback (most recent call last):
      File 
"/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_client.py",
 line 45, in <module>
        AccumuloClient().execute()
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 214, in execute
        method(env)
      File 
"/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_client.py",
 line 32, in install
        self.configure(env)
      File 
"/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_client.py",
 line 38, in configure
        setup_conf_dir(name='client')
      File 
"/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py",
 line 115, in setup_conf_dir
        group = params.user_group
      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/libraries/providers/properties_file.py",
 line 55, in action_create
        mode = self.resource.mode
      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 108, in action_create
        content = self._get_content()
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
 line 145, in _get_content
        return content()
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 50, 
in __call__
        return self.get_content()
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 
132, in get_content
        rendered = self.template.render(self.context)
      File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", 
line 891, in render
        return self.environment.handle_exception(exc_info, True)
      File "<template>", line 3, in top-level template code
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 
138, in __init__
        super(InlineTemplate, self).__init__(name, extra_imports, **kwargs) 
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 
125, in __init__
        self.template = self.template_env.get_template(self.name)     
    TypeError: 'bool' object is not iterable
    





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

Reply via email to