accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2049) shell fails with viewfs:// and two namenodes
Date Wed, 18 Dec 2013 20:29:08 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852120#comment-13852120
] 

Keith Turner commented on ACCUMULO-2049:
----------------------------------------

Need to fix ACCUMULO-1771 before this can be 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
>             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.4#6159)

Mime
View raw message