Maddineni Sukumar created HBASE-17900:
-----------------------------------------
Summary: 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: 1.3.1, 2.0.0
Reporter: Maddineni Sukumar
Assignee: Maddineni Sukumar
Priority: Minor
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)