hpcugent / hanythingondemand

hanythingondemand provides a set of scripts to easily set up an ad-hoc Hadoop cluster through PBS jobs
https://hod.readthedocs.org
GNU General Public License v2.0
12 stars 6 forks source link

Error message when loading module 'hanythingondemand' #167

Open epauwels opened 8 years ago

epauwels commented 8 years ago

Loading hanythingondemand on HPC@UGent gives me this error: ‘/vscmnt/gent_vulpix_apps/_apps_gent/SL6/sandybridge/software/Python/2.7.12-intel-2016b/lib/python2.7/site-packages/setuptools-23.1.0-py2.7.egg/pkg_resources/init.py:1268: UserWarning: /user/home/gent/vsc400/vsc40016/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).’

But, it not always gives me this error message.

boegel commented 8 years ago

This has very little to do with HOD itself, but more with Python/setuptools.

Also, the warning gives a clear suggestion on how to fix this? Basically, just do chmod og-w $HOME/.python-eggs to silence this warning.

I don't think we should change something in HOD for this...