You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2016/07/25 06:12:20 UTC

[jira] [Commented] (HBASE-16281) TestMasterReplication is flaky

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

Duo Zhang commented on HBASE-16281:
-----------------------------------

+1.  Five seconds is too short.

> TestMasterReplication is flaky
> ------------------------------
>
>                 Key: HBASE-16281
>                 URL: https://issues.apache.org/jira/browse/HBASE-16281
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.1.5, 1.2.2, 0.98.20
>            Reporter: Phil Yang
>            Assignee: Phil Yang
>         Attachments: HBASE-16281-v1.patch
>
>
> In TestMasterReplication we put some mutations and wait until we can read the data from slave cluster. However the waiting time is too short. Replication service in slave cluster may not be initialized and ready to handle replication RPC requests in several seconds. 
> We should wait for more time.
> {quote}
> 2016-07-25 11:47:03,156 WARN  [Time-limited test-EventThread.replicationSource,1.replicationSource.10.235.114.28%2C56313%2C1469418386448,1] regionserver.HBaseInterClusterReplicationEndpoint(310): Can't replicate because of a local or network error: 
> java.io.IOException: java.io.IOException: Replication services are not initialized yet
> 	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2263)
> 	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:118)
> 	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:189)
> 	at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:169)
> Caused by: com.google.protobuf.ServiceException: Replication services are not initialized yet
> 	at org.apache.hadoop.hbase.regionserver.RSRpcServices.replicateWALEntry(RSRpcServices.java:1935)
> 	at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:22751)
> 	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2212)
> 	... 3 more
> {quote}



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