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

Srikanth Srungarapu commented on HBASE-12836:
---------------------------------------------

The problem with bringing back old createSubmittableJob in copyTable is that 
the some of the static variables used by it are now changed to class variables. 
{code}
-  static long startTime = 0;
-  static long endTime = 0;
-  static int versions = -1;
-  static String tableName = null;
-  static String startRow = null;
-  static String stopRow = null;
-  static String newTableName = null;
-  static String peerAddress = null;
-  static String families = null;
-  static boolean allCells = false;
+  long startTime = 0;
+  long endTime = 0;
+  int versions = -1;
+  String tableName = null;
+  String startRow = null;
+  String stopRow = null;
+  String dstTableName = null;
+  String peerAddress = null;
+  String families = null;
+  boolean allCells = false;
{code}
I was waiting for the folks to comment on the right course of action for 
tackling this incompatability...

> Tip of branch 0.98 has some binary incompatibilities with 0.98.0
> ----------------------------------------------------------------
>
>                 Key: HBASE-12836
>                 URL: https://issues.apache.org/jira/browse/HBASE-12836
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.10
>            Reporter: Dima Spivak
>         Attachments: HBASE-12836.patch, HBASE-12836_v2.patch
>
>
> In working on HBASE-12808, I ran a scan between the 0.98.0 tag and the tip of 
> branch 0.98 and found a handful of binary incompatibilities that are probably 
> worth addressing:
> - org.apache.hadoop.hbase.security.access.AccessControlClient.grant and 
> org.apache.hadoop.hbase.security.access.AccessControlClient.revoke had their 
> return types and parameter lists changed in HBASE-12161. cc: [~srikanth235] 
> and [~mbertozzi].
> - org.apache.hadoop.hbase.mapreduce.CopyTable.createSubmittableJob is no 
> longer static and its parameter list changed in HBASE-11997. cc: 
> [~daviddengcn] and [~tedyu].
> - getBlockSize was added to the org.apache.hadoop.hbase.io.crypto.Encryptor 
> interface in HBASE-11446, which may lead to an AbstractMethodError exception 
> in a 0.98.0 client that doesn't have this implemented. I suspect this one is 
> worth living with? cc: [~apurtell].



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

Reply via email to