I open a file and verify it.
My local test case always fails. 

-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 22.873 sec <<< 
FAILURE!
testConnectionUniqueness(org.apache.hadoop.hbase.client.TestHCM)  Time elapsed: 
1.978 sec  <<< ERROR!
java.util.ConcurrentModificationException
        at 
java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
        at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
        at java.util.ArrayList.<init>(ArrayList.java:131)
        at 
org.apache.hadoop.hbase.client.TestHCM.getValidKeyCount(TestHCM.java:136)
        at 
org.apache.hadoop.hbase.client.TestHCM.testConnectionUniqueness(TestHCM.java:222)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

-----邮件原件-----
发件人: [email protected] [mailto:[email protected]] 代表 Stack
发送时间: 2011年10月24日 5:17
收件人: [email protected]
抄送: Bright Fulton
主题: Re: TestHCM.testConnectionUniqueness and ConcurrentModificationException

On Sun, Oct 23, 2011 at 12:43 PM, Ted Yu <[email protected]> wrote:
> getValidKeyCount() is only used in an assertion in createNewConfigurations()
> which is called by a disabled test, testManyNewConnectionsDoesnotOOME().
>
> Looks like we can remove getValidKeyCount() and its references.
>

+1 to removing crud.

St.Ack

Reply via email to