Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 924901727E for ; Thu, 19 Mar 2015 20:08:40 +0000 (UTC) Received: (qmail 34522 invoked by uid 500); 19 Mar 2015 20:08:40 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 34485 invoked by uid 500); 19 Mar 2015 20:08:40 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 34291 invoked by uid 99); 19 Mar 2015 20:08:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 20:08:40 +0000 Date: Thu, 19 Mar 2015 20:08:40 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ACCUMULO-3666) StandaloneAccumuloClusterControl needs to invoke commands with sudo 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/ACCUMULO-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser resolved ACCUMULO-3666. ---------------------------------- Resolution: Fixed > StandaloneAccumuloClusterControl needs to invoke commands with sudo > ------------------------------------------------------------------- > > Key: ACCUMULO-3666 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3666 > Project: Accumulo > Issue Type: Bug > Components: test > Reporter: Josh Elser > Assignee: Josh Elser > Fix For: 1.7.0 > > Time Spent: 10m > Remaining Estimate: 0h > > Running tests against an ambari-installed Accumulo cluster and I noticed that a few of the tests which restarted things just hung. > After looking at the logs enough, I realized that it was because the tests are just invoking things like: > {{ssh localhost "/usr/hdp/current/accumulo-client/bin/start-server.sh localhost master"}} > When the tests are being run as an unprivileged user, and Accumulo as an 'accumulo' user, obviously trying to start Accumulo as the unprivileged user will fail. > Need to add in configuration so that the command can sudo to start/stop accumulo where necessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)