accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <...@git.apache.org>
Subject [GitHub] accumulo issue #154: ACCUMULO-4461: modified ClientOpts to prompt for missin...
Date Wed, 21 Sep 2016 16:32:30 GMT
Github user joshelser commented on the issue:

    https://github.com/apache/accumulo/pull/154
  
    Uh oh. Looks like we have a failure in ReadWriteIT#sunnyDay()
    
    ```
    Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 160.031 sec <<<
FAILURE! - in org.apache.accumulo.test.functional.ReadWriteIT
    sunnyDay(org.apache.accumulo.test.functional.ReadWriteIT)  Time elapsed: 14.882 sec  <<<
ERROR!
    java.io.IOException: Failed to run `accumulo admin stopAll`
    	at org.apache.accumulo.test.functional.ReadWriteIT.sunnyDay(ReadWriteIT.java:169)
    ```
    
    ```
    2016-09-21 12:18:57,587 [util.Admin] ERROR: java.io.IOException: Attempted to prompt user
on the console when System.console = null
    java.lang.RuntimeException: java.io.IOException: Attempted to prompt user on the console
when System.console = null
            at org.apache.accumulo.core.cli.ClientOpts.getToken(ClientOpts.java:171)
            at org.apache.accumulo.server.util.Admin.execute(Admin.java:213)
            at org.apache.accumulo.server.util.Admin.main(Admin.java:154)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:497)
            at org.apache.accumulo.start.Main$2.run(Main.java:157)
            at java.lang.Thread.run(Thread.java:745)
    Caused by: java.io.IOException: Attempted to prompt user on the console when System.console
= null
            at org.apache.accumulo.core.cli.ClientOpts$Password.promptUser(ClientOpts.java:105)
            at org.apache.accumulo.core.cli.ClientOpts.getToken(ClientOpts.java:169)
            ... 8 more
    ```
    
    Kind of seems like we don't have a good understanding of commands/tools which need a username
+ credentials (password) and which don't. Maybe that's how we need to address the problem?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message