You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2014/02/27 01:57:32 UTC

[jira] [Resolved] (ACCUMULO-2049) shell fails with viewfs:// and two namenodes

     [ 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)