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

Andrew Purtell edited comment on PHOENIX-1248 at 2/27/15 7:33 PM:
------------------------------------------------------------------

bq.  any insight into this off-the-top-of-your-head in terms of something that 
change between HBase 0.98.4 -> 0.98.9 that would lead to this?

Yes. 

9e9d3f4 (3 months ago) HBASE-12479 Backport HBASE-11689 (Track meta in 
transition) (Virag Kothari)

We made this change:
{noformat}
--- a/hbase-protocol/src/main/protobuf/ZooKeeper.proto
+++ b/hbase-protocol/src/main/protobuf/ZooKeeper.proto
@@ -37,6 +38,8 @@ message MetaRegionServer {
   // clients connecting to the cluster can have prior knowledge of what version
   // to send to a RegionServer.  AsyncHBase will use this to detect versions.
   optional uint32 rpc_version = 2;
+  // State of the region transition. OPEN means fully operational 'hbase:meta'
+  optional RegionState.State state = 3;
 }
{noformat}
and regenerated the pbuf implementation code with the compiler. 

Looks like when you add a field to a pbuf message, the result is wire 
compatible with older generated pbuf impl code but not binary compatible, that 
was an issue here somehow


was (Author: apurtell):
bq.  any insight into this off-the-top-of-your-head in terms of something that 
change between HBase 0.98.4 -> 0.98.9 that would lead to this?

Yes. 

9e9d3f4 (3 months ago) HBASE-12479 Backport HBASE-11689 (Track meta in 
transition) (Virag Kothari)

We made this change:
{noformat}
--- a/hbase-protocol/src/main/protobuf/ZooKeeper.proto
+++ b/hbase-protocol/src/main/protobuf/ZooKeeper.proto
@@ -37,6 +38,8 @@ message MetaRegionServer {
   // clients connecting to the cluster can have prior knowledge of what version
   // to send to a RegionServer.  AsyncHBase will use this to detect versions.
   optional uint32 rpc_version = 2;
+  // State of the region transition. OPEN means fully operational 'hbase:meta'
+  optional RegionState.State state = 3;
 }
{noformat}
and regenerated the pbuf implementation code with the compiler. 

Looks like when you add a field to a pbuf message, the result is wire 
compatible with older generated pbuf impl code but not binary compatible. 

> CsvBulkLoadTool is failing with IAE when local index specified for 
> --index-table parameter
> ------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1248
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1248
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.1
>            Reporter: rajeshbabu
>            Assignee: Gabriel Reid
>             Fix For: 5.0.0, 4.3
>
>         Attachments: PHOENIX-1248.patch, PHOENIX-1248b.patch, 
> PHOENIX-1248c.patch, p1248_0.log
>
>
> {code}
> 14/09/11 22:38:11 INFO mapreduce.HFileOutputFormat2: Writing partition 
> information to /tmp/partitions_81e2ee23-836c-4eae-b413-ac6bd6a96623
> 14/09/11 22:38:11 ERROR mapreduce.CsvBulkLoadTool: Import job on 
> table=TEST_IDX failed due to exception:java.lang.IllegalArgumentException: No 
> regions passed
> 14/09/11 22:38:11 INFO client.HConnectionManager$HConnectionImplementation: 
> Closing zookeeper sessionid=0x148123145090287
> {code}



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

Reply via email to