ramkrish86 commented on a change in pull request #1062: HBASE-23705 Add 
CellComparator to HFileContext
URL: https://github.com/apache/hbase/pull/1062#discussion_r368443164
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileWriter.java
 ##########
 @@ -135,14 +132,16 @@ private StoreFileWriter(FileSystem fs, Path path, final 
Configuration conf, Cach
       // init bloom context
       switch (bloomType) {
         case ROW:
-          bloomContext = new RowBloomContext(generalBloomFilterWriter, 
comparator);
+          bloomContext =
+            new RowBloomContext(generalBloomFilterWriter, 
fileContext.getCellComparator());
           break;
         case ROWCOL:
-          bloomContext = new RowColBloomContext(generalBloomFilterWriter, 
comparator);
+          bloomContext =
+            new RowColBloomContext(generalBloomFilterWriter, 
fileContext.getCellComparator());
 
 Review comment:
   So every where it comes from the context only including for the blooms

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to