You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/04/14 11:27:12 UTC

[jira] [Commented] (AMBARI-10461) Spark History Server does not start with non-root agent

    [ https://issues.apache.org/jira/browse/AMBARI-10461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493836#comment-14493836 ] 

Hudson commented on AMBARI-10461:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2300 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2300/])
AMBARI-10461. Spark History Server does not start with non-root agent (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=85acd9fa92ac6f2920ee2f5d1b5429832b3eeabc)
* ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py
* ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/spark_service.py
* ambari-common/src/main/python/resource_management/libraries/resources/properties_file.py
* ambari-server/src/test/python/stacks/2.2/SPARK/test_job_history_server.py
* ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py
* ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/service_check.py
* ambari-server/src/test/python/stacks/2.2/SLIDER/test_slider_client.py
* ambari-server/src/test/python/stacks/2.2/SPARK/test_spark_client.py
* ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/spark_client.py
* ambari-server/src/test/python/stacks/2.2/SPARK/test_spark_service_check.py
* ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/job_history_server.py
* ambari-server/src/test/python/stacks/2.2/configs/default.json
* ambari-server/src/test/python/stacks/2.2/configs/secured.json
* ambari-common/src/main/python/resource_management/libraries/providers/properties_file.py
* ambari-common/src/main/python/resource_management/libraries/functions/__init__.py
* ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/setup_spark.py


> Spark History Server does not start with non-root agent
> -------------------------------------------------------
>
>                 Key: AMBARI-10461
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10461
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.0
>
>
> When using a non-root agent, the Spark History Server fails to start even
> though Ambari thinks the component Started. It appears that there is a failure
> to create the: /etc/spark/conf/spark-defaults.conf file. No logs are produced
> in /var/log/spark:
>     
>     
>     [ambari@revo5 spark]$ pwd
>     /var/log/spark
>     [ambari@revo5 spark]$ find .
>     .
>     [ambari@revo5 spark]$ 
>     
> This is with Ambari 2.0.0-148 with Stack: 2.2.3.0-2611.
> There are no traces of spark-default.conf in /var/log/secure. So it seems like
> it's trying to create the directory and file without using sudo, which in this
> case will fail as Ambari Agent is running as a non-root 'ambari' user.



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