Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Python topology submission/execution support #1238

Merged
merged 4 commits into from
Aug 10, 2016

Conversation

taishi8117
Copy link
Contributor

topology_class = pex_loader.import_and_get_class(topology_pex, topology_class_name)
topology_class.write()
except Exception:
traceback.print_exc()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you want to use Log.debug(traceback.print_exc())

@kramasamy
Copy link
Contributor

It looks fine to me - rest of the stuff 👍 (once you fix the comment)

heron_env['HERON_OPTIONS'] = opts.get_heron_config()

args = [topology_pex]
Log.debug('$> %s' % ' '.join(args))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

joining a list of one element?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, better rename it to cmd. args does not make sense to me.

@kramasamy kramasamy merged commit b14a9f3 into apache:master Aug 10, 2016
objmagic pushed a commit to taishi8117/heron that referenced this pull request Aug 10, 2016
* Python topology submission/execution support
nicknezis pushed a commit that referenced this pull request Sep 14, 2020
* Python topology submission/execution support
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants