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 (JIRA)" <ji...@apache.org> on 2015/04/14 10:00:32 UTC

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

Andrew Onischuk created AMBARI-10461:
----------------------------------------

             Summary: 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)