You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Maddineni Sukumar (JIRA)" <ji...@apache.org> on 2017/05/05 04:33:04 UTC
[jira] [Resolved] (HBASE-17900) VerifyReplication - input param
variables declared as static causing issues to run VerifyReplication
multiple times in single JVM(mainly for unit tests)
[ https://issues.apache.org/jira/browse/HBASE-17900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maddineni Sukumar resolved HBASE-17900.
---------------------------------------
Resolution: Resolved
Fix Version/s: 2.0.0
> VerifyReplication - input param variables declared as static causing issues to run VerifyReplication multiple times in single JVM(mainly for unit tests)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-17900
> URL: https://issues.apache.org/jira/browse/HBASE-17900
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Affects Versions: 2.0.0, 1.3.1
> Reporter: Maddineni Sukumar
> Assignee: Maddineni Sukumar
> Priority: Minor
> Fix For: 2.0.0
>
>
> VerifyReplication - input param variables declared as static causing issues to run VerifyReplication multiple times in single JVM(mainly for unit tests)
> Input params related variables are declared as static like below .
> static long startTime = 0;
> static long endTime = Long.MAX_VALUE;
> So if I want to run VerifyReplication of table A and table B one after another in single JVM then while running for Table B it is running with both options provided during Table A and Table B because of static input variables.
> We need to make these variables as class level variables or use some cleanup before each run.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)