HorizonNet commented on a change in pull request #1062: HBASE-23705 Add
CellComparator to HFileContext
URL: https://github.com/apache/hbase/pull/1062#discussion_r368310270
##########
File path:
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java
##########
@@ -424,15 +423,14 @@ private WriterLength getNewWriter(byte[] tableName,
byte[] family, Configuration
HFileContext hFileContext = contextBuilder.build();
if (null == favoredNodes) {
wl.writer =
- new StoreFileWriter.Builder(conf, CacheConfig.DISABLED, fs)
- .withOutputDir(familydir).withBloomType(bloomType)
-
.withComparator(CellComparator.getInstance()).withFileContext(hFileContext).build();
+ new StoreFileWriter.Builder(conf, CacheConfig.DISABLED, fs).
+ withOutputDir(familydir).withBloomType(bloomType).
Review comment:
NIT: Most of the time we use a leading `.`.
----------------------------------------------------------------
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