XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None
    • None

    Description

      See parent issue for env details. Saw the following when trying to start shell

      $ ./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
      

      Attachments

        Issue Links

          Activity

            People

              kturner Keith Turner
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: