Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 76FD7200C40 for ; Thu, 9 Mar 2017 02:06:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 75A0D160B86; Thu, 9 Mar 2017 01:06:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BE973160B83 for ; Thu, 9 Mar 2017 02:06:42 +0100 (CET) Received: (qmail 15561 invoked by uid 500); 9 Mar 2017 01:06:41 -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 15550 invoked by uid 99); 9 Mar 2017 01:06:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2017 01:06:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 41ACFC1D3C for ; Thu, 9 Mar 2017 01:06:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.452 X-Spam-Level: * X-Spam-Status: No, score=1.452 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id iZV07UqSdgKn for ; Thu, 9 Mar 2017 01:06:40 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id D6E085FABF for ; Thu, 9 Mar 2017 01:06:39 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E08B9E04A6 for ; Thu, 9 Mar 2017 01:06:38 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2CDD724385 for ; Thu, 9 Mar 2017 01:06:38 +0000 (UTC) Date: Thu, 9 Mar 2017 01:06:38 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4600) Shell does not fall back to accumulo-site.xml when on classpath MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Mar 2017 01:06:43 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15902256#comment-15902256 ] Josh Elser commented on ACCUMULO-4600: -------------------------------------- bq. It took me SO much longer than it should have to figure out who "Mr. Turner" was. Nah, probably that Dick Turner guy. > Shell does not fall back to accumulo-site.xml when on classpath > --------------------------------------------------------------- > > Key: ACCUMULO-4600 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4600 > Project: Accumulo > Issue Type: Bug > Components: shell > Reporter: Josh Elser > Priority: Blocker > Fix For: 1.7.3, 1.8.2, 2.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > When inspecting 1.7.3-rc1 for the VOTE, I did the following steps: > * Unpack bin-tarball > * Copy 3gb native example confs > * Set {{instance.volumes}} in accumulo-site.xml to {{hdfs://localhost:8020/accumulo173rc1}} > * {{export ACCUMULO_HOME="$(pwd)"}} > * {{./bin/accumulo init}} > * {{./bin/start-all.sh}} > * {{./bin/accumulo shell -u root}} > The shell failed to connect stating that no tservers were running. By turning on the debug option to the shell, I could see that the wrong HDFS directory was being used to find the Accumulo instance ID, {{/accumulo}} instead of {{/accumulo173rc1}}. > This appears to be because of {{ClientContext#convertClientConfig(Configuration)}} and {{Shell#getZooInstance(String, String, ClientConfiguration}}. The client configuration is empty, therefore, all values end up being pulled from the {{DefaultConfiguration}} instance instead of the accumulo-site.xml which is on the classpath. -- This message was sent by Atlassian JIRA (v6.3.15#6346)