[GitHub] [hudi] alexeykudinkin commented on a change in pull request #4020: [WIP][HUDI-2783] Upgrade HBase to 2.x

2021-12-09 Thread GitBox


alexeykudinkin commented on a change in pull request #4020:
URL: https://github.com/apache/hudi/pull/4020#discussion_r766133929



##
File path: packaging/hudi-hadoop-mr-bundle/pom.xml
##
@@ -202,5 +216,35 @@
 
   
 
+
+  org.apache.hbase
+  hbase-client
+  ${hbase.version}
+
+
+  org.apache.hbase
+  hbase-protocol-shaded
+  ${hbase.version}

Review comment:
   Shouldn't this be `hbase.shaded.version`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [hudi] alexeykudinkin commented on a change in pull request #4020: [WIP][HUDI-2783] Upgrade HBase to 2.x

2021-12-09 Thread GitBox


alexeykudinkin commented on a change in pull request #4020:
URL: https://github.com/apache/hudi/pull/4020#discussion_r766131746



##
File path: 
hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieHFileReader.java
##
@@ -170,19 +175,19 @@ public BloomFilter readBloomFilter() {
   }
 
   public List> readAllRecords() throws IOException {
-Schema schema = new Schema.Parser().parse(new 
String(reader.loadFileInfo().get(KEY_SCHEMA.getBytes(;
+Schema schema = new Schema.Parser().parse(new 
String(reader.getHFileInfo().get(KEY_SCHEMA.getBytes(;
 return readAllRecords(schema, schema);
   }
 
   public List> readRecords(List keys) throws 
IOException {
-reader.loadFileInfo();
-Schema schema = new Schema.Parser().parse(new 
String(reader.loadFileInfo().get(KEY_SCHEMA.getBytes(;
+reader.getHFileInfo();

Review comment:
   Why are we doing this here? 

##
File path: packaging/hudi-hadoop-mr-bundle/pom.xml
##
@@ -202,5 +216,35 @@
 
   
 
+
+  org.apache.hbase
+  hbase-client
+  ${hbase.version}
+
+
+  org.apache.hbase
+  hbase-protocol-shaded
+  ${hbase.version}

Review comment:
   Shouldn't this be `hbase.shaded.version`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org