accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2049) shell fails with viewfs:// and two namenodes
Date Thu, 27 Feb 2014 00:55:19 GMT

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

ASF subversion and git services commented on ACCUMULO-2049:
-----------------------------------------------------------

Commit a8058a69f24ebda32e2f54e52390a98b7f7e1bf0 in accumulo's branch refs/heads/1.6.0-SNAPSHOT
from [~keith_turner]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=a8058a6 ]

ACCUMULO-2049 Made shell use new instance.volumes config


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

Mime
View raw message