You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/04/24 16:44:10 UTC

Review Request 33519: Accumulo Client can't be installed after enabling security

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33519/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-10729
    https://issues.apache.org/jira/browse/AMBARI-10729


Repository: ambari


Description
-------

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


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/providers/properties_file.py 1bc23d6 
  ambari-common/src/main/python/resource_management/libraries/providers/xml_config.py da7a907 

Diff: https://reviews.apache.org/r/33519/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 33519: Accumulo Client can't be installed after enabling security

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33519/#review81481
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On April 24, 2015, 2:44 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33519/
> -----------------------------------------------------------
> 
> (Updated April 24, 2015, 2:44 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-10729
>     https://issues.apache.org/jira/browse/AMBARI-10729
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/libraries/providers/properties_file.py 1bc23d6 
>   ambari-common/src/main/python/resource_management/libraries/providers/xml_config.py da7a907 
> 
> Diff: https://reviews.apache.org/r/33519/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>