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 BA52C10655 for ; Thu, 27 Feb 2014 00:57:56 +0000 (UTC) Received: (qmail 39342 invoked by uid 500); 27 Feb 2014 00:57:41 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 39038 invoked by uid 500); 27 Feb 2014 00:57:35 -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 38915 invoked by uid 99); 27 Feb 2014 00:57:32 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 00:57:32 +0000 Date: Thu, 27 Feb 2014 00:57:32 +0000 (UTC) From: "Keith Turner (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ACCUMULO-2049) shell fails with viewfs:// and two namenodes 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-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Keith Turner resolved ACCUMULO-2049. ------------------------------------ Resolution: Fixed > shell fails with viewfs:// and two namenodes > -------------------------------------------- > > Key: ACCUMULO-2049 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2049 > Project: Accumulo > Issue Type: Sub-task > Reporter: Keith Turner > Assignee: Keith Turner > Fix For: 1.6.0 > > > See parent issue for env details. Saw the following when trying to start shell > {noformat} > $ ./bin/accumulo shell -u root -p secret > 2013-12-18 03:19:31,695 [shell.Shell] WARN : Specifying a raw password is deprecated. > 2013-12-18 03:19:33,592 [zookeeper.ZooUtil] ERROR: unable obtain instance id at /accumulo/instance_id > Thread "shell" died java.lang.reflect.InvocationTargetException > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.accumulo.start.Main$1.run(Main.java:137) > at java.lang.Thread.run(Thread.java:744) > Caused by: java.lang.IllegalArgumentException: Unable to load client config from null > at org.apache.accumulo.core.util.shell.Shell.setInstance(Shell.java:416) > at org.apache.accumulo.core.util.shell.Shell.config(Shell.java:271) > at org.apache.accumulo.core.util.shell.Shell.main(Shell.java:457) > ... 6 more > Caused by: java.lang.RuntimeException: Accumulo not initialized, there is no instance id at /accumulo/instance_id > at org.apache.accumulo.core.zookeeper.ZooUtil.getInstanceIDFromHdfs(ZooUtil.java:69) > at org.apache.accumulo.core.util.shell.Shell.getZooInstance(Shell.java:434) > at org.apache.accumulo.core.util.shell.Shell.setInstance(Shell.java:414) > ... 8 more > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)