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

Corey J. Nolet commented on ACCUMULO-1357:
------------------------------------------

Hey Keith,

I agree with your MemoryUnit approach entirely. I almost implemented it that 
way but thought it may be useful to give the users a familiar format to work 
with (at least the Xmx format is familiar to me). You are right, though, in 
that the Xmx format is more error prone.

Yes on the debug mode. It seemed like the debug info belonged on the cluster 
class since that's the thing actually applying the VM args but if the ports are 
going to be in the config then the debug parameter should be as well.

I put ServerType class in a more global package because it seems like there 
would be more uses for it in other parts of the API. I'll move it to the mini 
package until someone else actually needs it.
                
> Make debugging MiniAccumuloCluster easier
> -----------------------------------------
>
>                 Key: ACCUMULO-1357
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1357
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Keith Turner
>            Assignee: Corey J. Nolet
>             Fix For: 1.6.0
>
>         Attachments: ACCUMULO-1357.1.patch
>
>
> When a problem occurs with MiniAccumuloCluster it can be difficult to debug.  
> Something that may make this easier.
>  * The ability to easily access log files. (maybe have a method users could 
> call to copy log files to a target dir).
>  * Starting Accumulo server processes with remote JVM debugging enabled.  
> (this could be a statup option, could have method users could call to get the 
> debug ports)
> It would be nice if a unit test fails in a maven run if the MiniAcc logs 
> files would end up the target dir that contains info about test failures.  
> Make it as easy as possible to do this from junit test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to