Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #43 from zshao/issue_42_use_step1out
Browse files Browse the repository at this point in the history
Fix a bug in MetastoreReplicationJob to use step1 output for step3 in…
  • Loading branch information
jingweilu1974 authored Nov 4, 2016
2 parents 74ead4a + b3d4ce3 commit ac899fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,10 @@ public int run(String[] args) throws Exception {
LOG.info("Deleting " + step3Out);
FsUtils.deleteDirectory(this.getConf(), step3Out);
if (cl.hasOption("override-input")) {
step2Out = new Path(cl.getOptionValue("override-input"));
step1Out = new Path(cl.getOptionValue("override-input"));
}

return this.runCommitChangeJob(new Path(step2Out, "part*"), step3Out);
return this.runCommitChangeJob(new Path(step1Out, "part*"), step3Out);
default:
LOG.error("Invalid step specified: " + step);
return 1;
Expand Down

0 comments on commit ac899fc

Please sign in to comment.