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

Unfriendly error message when (wrongly) specifying --hodconf #190

Open
SamDM opened this issue Oct 24, 2016 · 0 comments
Open

Unfriendly error message when (wrongly) specifying --hodconf #190

SamDM opened this issue Oct 24, 2016 · 0 comments
Milestone

Comments

@SamDM
Copy link

SamDM commented Oct 24, 2016

Using a custom hod configuration, and specifying the configuration directory instead of the hod.conf file gives the following cryptic error message:

$ hod create --hodconf $HOME/Intro_course/hod_hadoop_spark --label hadoopSpark --job-walltime=1
Traceback (most recent call last):
  File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "build/bdist.linux-x86_64/egg/hod/main.py", line 92, in <module>
  File "build/bdist.linux-x86_64/egg/hod/main.py", line 80, in main
  File "build/bdist.linux-x86_64/egg/hod/subcommands/create.py", line 105, in run
  File "/usr/lib/python2.6/site-packages/vsc/utils/fancylogger.py", line 314, in raiseException
    message += " (%s)" % detail

the hod utility should be able figure out you are not giving it the correct file and then show a helpful error message.

@boegel boegel modified the milestone: 3.3 Oct 24, 2016
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

2 participants