Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-10461

Spark History Server does not start with non-root agent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.0.1
    • 2.1.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: