Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for cmdenv verification before launching job #59

Open
bwhite opened this issue Jun 27, 2012 · 0 comments
Open

Add support for cmdenv verification before launching job #59

bwhite opened this issue Jun 27, 2012 · 0 comments

Comments

@bwhite
Copy link
Owner

bwhite commented Jun 27, 2012

A common source of problems is that a job needs a certain cmdenv (a way of passing parameters to jobs as environment variables like os.environ['my_param']) and the user will forget to add this. A simple fix is to add a list of required cmdenvs to the hadoopy.run command so that the user can be notified that a required variable is not present. A more sophisticated solution would be to allow an arbitrary function to validate the arguments (e.g., is it an int, etc.) but this may be too complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant