Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,10 @@ protected void doLoadIncrementalHFiles(Path hfiles, TableName tableName) throws
ToolRunner.run(new BulkLoadHFilesTool(getConf()), args));

Table table = null;
Scan scan = new Scan() {
{
setCacheBlocks(false);
setCaching(1000);
}
};
Scan scan = new Scan();
scan.setCacheBlocks(false);
scan.setCaching(1000);

try {
table = util.getConnection().getTable(tableName);
Iterator<Result> resultsIt = table.getScanner(scan).iterator();
Expand Down