Skip to content

Commit

Permalink
Fix logging to capture jobControlId
Browse files Browse the repository at this point in the history
### What changes are proposed in this pull request?

Alluxio/Community#643
Fix logging to capture jobControlId

### Why are the changes needed?

this will help in getting jobControlId in the logs, and will help in
getting status information about the job

### Does this PR introduce any user facing changes?

its just log level changes

pr-link: Alluxio#16780
change-id: cid-551cf01210bb24d39239199adeb398201f67c184
  • Loading branch information
deepak-shivamurthy authored and Xenorith committed Mar 17, 2023
1 parent e3b7cb6 commit 136c8f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ private void runDistributedCommand(CmdConfig cmdConfig, long jobControlId)
MigrateCliConfig migrateCliConfig = (MigrateCliConfig) cmdConfig;
AlluxioURI srcPath = new AlluxioURI(migrateCliConfig.getSource());
AlluxioURI dstPath = new AlluxioURI(migrateCliConfig.getDestination());
LOG.info("run a dist cp command, cmd config is " + cmdConfig);
LOG.info("run a dist cp command, job control id: {}, cmd config: {}",
jobControlId, cmdConfig);
cmdInfo = mMigrateCliRunner.runDistCp(srcPath, dstPath,
migrateCliConfig.getOverWrite(), migrateCliConfig.getBatchSize(),
jobControlId);
Expand Down

0 comments on commit 136c8f1

Please sign in to comment.