Re: Program runs fine in NetBeans fails the shutdown properly running via Maven

2014-11-30 Thread David Medinets
Right again. I changed the package name to jaredwinick and the sealing violation issue was resolved. But the JIRA ticket comments were correct about the code's being brittle. It has a String literal that refers to org.apache.accumulo.core.zookeeper.ZooSessionwhich does not exist in Accumulo

Re: Program runs fine in NetBeans fails the shutdown properly running via Maven

2014-11-30 Thread David Medinets
I experimented a bit more. In the waitForZooKeeperClientThreads method, I added a thread.interrupt call inside the while (thread.isAlive()) loop. It seems like the thread is interrupted after a few seconds, but then is reconnected. Darn that resiliency! I've watched it reconnect four times before

Can MiniAccumuloCluster reuse directory?

2014-11-30 Thread David Medinets
When starting MiniAccumuloCluster, can I point to a directory used by a previous MiniAccumuloCluster? If not, would it be infeasible to do so?

Re: Program runs fine in NetBeans fails the shutdown properly running via Maven

2014-11-30 Thread David Medinets
Of course I did. Using CleanUp.shutdownNow(); works perfectly from inside the mvn exec:java command. Excellent. On Sun, Nov 30, 2014 at 6:54 PM, Josh Elser josh.el...@gmail.com wrote: David Medinets wrote: I experimented a bit more. In the waitForZooKeeperClientThreads method, I added a

Re: Program runs fine in NetBeans fails the shutdown properly running via Maven

2014-11-30 Thread Josh Elser
Great. Glad it's working as expected. David Medinets wrote: Of course I did. Using CleanUp.shutdownNow(); works perfectly from inside the mvn exec:java command. Excellent. On Sun, Nov 30, 2014 at 6:54 PM, Josh Elserjosh.el...@gmail.com wrote: David Medinets wrote: I experimented a bit more.

Re: Can MiniAccumuloCluster reuse directory?

2014-11-30 Thread Corey Nolet
I had a ticket for that awhile back and I don't believe it was ever completed. By default, it wants to dump out new config files for everything- have it reusing a config file would mean not re-initializing each time and reusing the same instance id + rfiles. ACCUMULO-1378 was the it and it looks

Re: Program runs fine in NetBeans fails the shutdown properly running via Maven

2014-11-30 Thread Jared Winick
Please only use the jaredwinick package name for code that works perfectly. Thanks. ;-) On Sun, Nov 30, 2014 at 5:34 PM, Josh Elser josh.el...@gmail.com wrote: Great. Glad it's working as expected. David Medinets wrote: Of course I did. Using CleanUp.shutdownNow(); works perfectly from

Change the Log Level in MiniAccumuloCluster be changed?

2014-11-30 Thread David Medinets
I'd like to move the log level from INFO to WARN to reduce the chattiness. Has anyone tried to connect a Monitor process to the MAC?

Re: Change the Log Level in MiniAccumuloCluster be changed?

2014-11-30 Thread Josh Elser
There's at least one IT that starts a Monitor process. You should just be able to MiniAccumuloClusterImpl.exec(Monitor.class) David Medinets wrote: I'd like to move the log level from INFO to WARN to reduce the chattiness. Has anyone tried to connect a Monitor process to the MAC?