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/05/05 13:29:09 UTC

Review Request 33843: After enabling security start services failed at Spark Client Install

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

After enabling security Start services fails at 'Spark Client Install' with
the below error.  
Here is a cluster where issue was found: <http://172.22.70.26:8080>.  
(Should be available for 10 more hours). please help take a look.

    
    
    
    Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 55, in <module>
        SparkClient().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/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 33, in install
        self.configure(env)
      File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 36, in configure
        import params
      File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/params.py", line 143, in <module>
        'hive.server2.enable.doAs': str(config['configurations']['hive-site']['hive.server2.enable.doAs']).lower()
    TypeError: unsupported operand type(s) for +=: 'dict' and 'dict'


Diffs
-----

  ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py bda4a76 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 33843: After enabling security start services failed at Spark Client Install

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

Ship it!


Ship It!

- Dmitro Lisnichenko


On May 5, 2015, 11:29 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33843/
> -----------------------------------------------------------
> 
> (Updated May 5, 2015, 11:29 a.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-10928
>     https://issues.apache.org/jira/browse/AMBARI-10928
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After enabling security Start services fails at 'Spark Client Install' with
> the below error.  
> Here is a cluster where issue was found: <http://172.22.70.26:8080>.  
> (Should be available for 10 more hours). please help take a look.
> 
>     
>     
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 55, in <module>
>         SparkClient().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/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 33, in install
>         self.configure(env)
>       File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_client.py", line 36, in configure
>         import params
>       File "/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/params.py", line 143, in <module>
>         'hive.server2.enable.doAs': str(config['configurations']['hive-site']['hive.server2.enable.doAs']).lower()
>     TypeError: unsupported operand type(s) for +=: 'dict' and 'dict'
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py bda4a76 
> 
> Diff: https://reviews.apache.org/r/33843/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>