Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2959617227 for ; Thu, 21 May 2015 14:30:00 +0000 (UTC) Received: (qmail 38825 invoked by uid 500); 21 May 2015 14:30:00 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 38798 invoked by uid 500); 21 May 2015 14:30:00 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 38734 invoked by uid 99); 21 May 2015 14:29:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2015 14:29:59 +0000 Date: Thu, 21 May 2015 14:29:59 +0000 (UTC) From: "Jeff Sposetti (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-10461) Spark History Server does not start with non-root agent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-10461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Sposetti updated AMBARI-10461: ----------------------------------- Affects Version/s: 2.0.1 2.0.0 > 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 > Affects Versions: 2.0.0, 2.0.1 > 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)