[ 
https://issues.apache.org/jira/browse/HBASE-7299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chunhui shen reopened HBASE-7299:
---------------------------------


TestMultiParallel#testActiveThreadsCount  failed in recent building

>From 
https://builds.apache.org/job/PreCommit-HBASE-Build/4051/testReport/junit/org.apache.hadoop.hbase.client/TestMultiParallel/testActiveThreadsCount/

I found one reason:

{code}
testActiveThreadsCount(){
...
table.batch(puts);
ThreadPoolExecutor tExecutor = (ThreadPoolExecutor) poolField.get(table);
    assertEquals(slaves, tExecutor.getLargestPoolSize());
...
}
{code}
Here slaves=2,
Though there are 2 live regionservers, if all regions are on one server, there 
will only one pool to execute  table.batch(). So assertEquals(slaves, 
tExecutor.getLargestPoolSize()) is failed.

>From the logs, 
{code}
2013-01-16 19:41:15,642 DEBUG [IPC Server handler 2 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1902; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,646 DEBUG [IPC Server handler 4 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1903; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,650 DEBUG [IPC Server handler 0 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1904; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,652 DEBUG [IPC Server handler 1 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1905; 
served=ClientProtocol#multi, queueTime=0, processingTime=1, request=region {
2013-01-16 19:41:15,657 DEBUG [IPC Server handler 3 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1906; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,660 DEBUG [IPC Server handler 2 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1907; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,664 DEBUG [IPC Server handler 4 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1908; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,668 DEBUG [IPC Server handler 0 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1909; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,672 DEBUG [IPC Server handler 1 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1910; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,675 DEBUG [IPC Server handler 3 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1911; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,678 DEBUG [IPC Server handler 2 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1912; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,682 DEBUG [IPC Server handler 4 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1913; 
served=ClientProtocol#multi, queueTime=0, processingTime=1, request=region {
2013-01-16 19:41:15,685 DEBUG [IPC Server handler 0 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1914; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,689 DEBUG [IPC Server handler 1 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1915; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,692 DEBUG [IPC Server handler 3 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1916; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,696 DEBUG [IPC Server handler 2 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1917; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,699 DEBUG [IPC Server handler 4 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1918; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,703 DEBUG [IPC Server handler 0 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1919; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,705 DEBUG [IPC Server handler 1 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1920; 
served=ClientProtocol#multi, queueTime=0, processingTime=1, request=region {
2013-01-16 19:41:15,709 DEBUG [IPC Server handler 3 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1921; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,713 DEBUG [IPC Server handler 2 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1922; 
served=ClientProtocol#multi, queueTime=0, processingTime=1, request=region {
2013-01-16 19:41:15,716 DEBUG [IPC Server handler 4 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1923; 
served=ClientProtocol#multi, queueTime=0, processingTime=1, request=region {
2013-01-16 19:41:15,720 DEBUG [IPC Server handler 0 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1924; 
served=ClientProtocol#multi, queueTime=1, processingTime=1, request=region {
2013-01-16 19:41:15,723 DEBUG [IPC Server handler 1 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1925; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
2013-01-16 19:41:15,727 DEBUG [IPC Server handler 3 on 50914] 
ipc.ProtobufRpcServerEngine$Server(209): Call #1926; 
served=ClientProtocol#multi, queueTime=0, processingTime=2, request=region {
{code}

I found all the rpc are on the server with port 50914.
                
> TestMultiParallel fails intermittently in trunk builds
> ------------------------------------------------------
>
>                 Key: HBASE-7299
>                 URL: https://issues.apache.org/jira/browse/HBASE-7299
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: chunhui shen
>            Priority: Critical
>             Fix For: 0.96.0
>
>         Attachments: 7299.addendum, 7299-addendum2.patch, 7299-addendum.v3, 
> 7299-addendumv3.txt, 7299-v4.txt, HBASE-7299.patch, HBASE-7299v2.patch, 
> HBASE-7299v3.patch
>
>
> From trunk build #3598:
> {code}
>  testFlushCommitsNoAbort(org.apache.hadoop.hbase.client.TestMultiParallel): 
> Count of regions=8
> {code}
> It failed in 3595 as well:
> {code}
> java.lang.AssertionError: Server count=2, abort=true expected:<1> but was:<2>
>       at org.junit.Assert.fail(Assert.java:93)
>       at org.junit.Assert.failNotEquals(Assert.java:647)
>       at org.junit.Assert.assertEquals(Assert.java:128)
>       at org.junit.Assert.assertEquals(Assert.java:472)
>       at 
> org.apache.hadoop.hbase.client.TestMultiParallel.doTestFlushCommits(TestMultiParallel.java:267)
>       at 
> org.apache.hadoop.hbase.client.TestMultiParallel.testFlushCommitsWithAbort(TestMultiParallel.java:226)
> {code}

--
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