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



ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/spark_service.py
 (line 54)
<https://reviews.apache.org/r/40530/#comment166439>

    Typically we use the hostname set in the configuration:
    
    ```
    hostname = config["hostname"].lower()
    ```
    
    But maybe socket.getfqdn is better?
    
    To be consistent, you should probably force this value to be lowercase.



ambari-server/src/main/resources/common-services/SPARK/1.4.1.2.3/kerberos.json 
(lines 56 - 58)
<https://reviews.apache.org/r/40530/#comment166437>

    Spark should be using it own Kerberos identity not Hive's, unless there is 
a really good reason for it.


- Robert Levas


On Nov. 20, 2015, 2:34 a.m., Saisai Shao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40530/
> -----------------------------------------------------------
> 
> (Updated Nov. 20, 2015, 2:34 a.m.)
> 
> 
> Review request for Ambari and Sumit Mohanty.
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> [AMBARI-13983] Change Spark TS definition to make it work under secure and 
> non-secure environment
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py
>  985c2e3 
>   
> ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/setup_spark.py
>  debed40 
>   
> ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/spark_service.py
>  b274c61 
>   
> ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/status_params.py
>  bb0d35f 
>   
> ambari-server/src/main/resources/common-services/SPARK/1.4.1.2.3/kerberos.json
>  3868a62 
>   
> ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-hive-site-override.xml
>  2de64c5 
>   ambari-server/src/test/python/stacks/2.2/SPARK/test_job_history_server.py 
> 90d3f0a 
>   ambari-server/src/test/python/stacks/2.2/SPARK/test_spark_client.py 798feb8 
>   ambari-server/src/test/python/stacks/2.3/SPARK/test_spark_thrift_server.py 
> 05745ae 
> 
> Diff: https://reviews.apache.org/r/40530/diff/
> 
> 
> Testing
> -------
> 
> Local testing is done.
> 
> 
> Thanks,
> 
> Saisai Shao
> 
>

Reply via email to