HBASE-13701 Consolidate SecureBulkLoadEndpoint into HBase core as default for bulk load -- addendum

This commit is contained in:
Jerry He 2016-07-20 13:28:01 -07:00
parent 70f330dc84
commit ce657d5911
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ public class LoadIncrementalHFiles extends Configured implements Tool {
Path hfileStagingPath = null;
Path hfileOrigPath = new Path(el.getSecond());
try {
hfileStagingPath= new Path(secureClient.getStagingPath(bulkToken, el.getFirst()),
hfileStagingPath= new Path(new Path(bulkToken, Bytes.toString(el.getFirst())),
hfileOrigPath.getName());
if(targetFs.rename(hfileStagingPath, hfileOrigPath)) {
LOG.debug("Moved back file " + hfileOrigPath + " from " +