anoopsjohn commented on a change in pull request #1818: URL: https://github.com/apache/hbase/pull/1818#discussion_r433219336
########## File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CustomizedScanInfoBuilder.java ########## @@ -42,13 +43,18 @@ public CustomizedScanInfoBuilder(ScanInfo scanInfo) { this.scanInfo = scanInfo; - this.scan = new Scan(); + try { + this.scan = new ImmutableScan(new Scan()); Review comment: This is used by tests only ? Do u want to create ImmutableScan over a new Scan()? Or direct new ImmutableScan is enough? ---------------------------------------------------------------- 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: us...@infra.apache.org