HBASE-13701 Consolidate SecureBulkLoadEndpoint into HBase core as default for bulk load -- addendum
This commit is contained in:
parent
70f330dc84
commit
ce657d5911
|
@ -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 " +
|
||||
|
|
Loading…
Reference in New Issue