Skip to content

Commit

Permalink
Fix logging to capture jobControlId
Browse files Browse the repository at this point in the history
Alluxio/Community#643
Fix logging to capture jobControlId

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

its just log level changes

pr-link: Alluxio#16780
change-id: cid-551cf01210bb24d39239199adeb398201f67c184
  • Loading branch information
deepak-shivamurthy authored and Xenorith committed Jan 19, 2023
1 parent 009a5f9 commit f9a0a24
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,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.toString());
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 f9a0a24

Please sign in to comment.