Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurprevot committed Aug 1, 2024
1 parent 8a7265e commit a5bd746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yaetos/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ def get_spark_submit_args_k8s(app_file, app_args):

def launch_spark_submit_k8s(self, cmdline):
cmdline_str = " ".join(cmdline)
logger.info(f'About to run spark submit command line: {cmdline_str}')
logger.info('About to run spark submit command line (formated): {}'.format(" \n".join(cmdline)))
logger.info(f'About to run spark submit command line (for reuse): {cmdline_str}')
logger.info('About to run spark submit command line (for visual check): \n{}'.format(" \n".join(cmdline)))
if not self.app_args.get('dry_run'):
os.system(cmdline_str)

Expand Down

0 comments on commit a5bd746

Please sign in to comment.