hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maddineni Sukumar (JIRA)" <j...@apache.org>
Subject [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)
Date Fri, 05 May 2017 04:33:04 GMT

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

Mime
View raw message