You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2015/12/08 22:23:11 UTC

[jira] [Commented] (ACCUMULO-4068) Unable to check if balancer can load

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

Keith Turner commented on ACCUMULO-4068:
----------------------------------------

Trying to instantiate class seems like a nice check to do, so I would not want to remove.  However we could only do that check if a no-arg constructor exists.

> Unable to check if balancer can load
> ------------------------------------
>
>                 Key: ACCUMULO-4068
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4068
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.6.4, 1.7.0
>            Reporter: Keith Turner
>
> I was trying to use instanceOperations().testClassLoad() to check if a the RegExGroupBalancer was available.  This class was added in 1.7, so I did not want to attempt to configure it in 1.6. 
> Unexpectedly the call to testClassLoad() failed in 1.7.   I  looked into the cause and it turns out the implementation of testClassLoad() also tries to instantiate the class after loading using a noarg constructor.  Because of ACCUMULO-4047 the RegexGroupBalancer does not have a noarg constructor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)