-Hadoop-streaming : PYTHONPATH not working when mapper runs
I have problem when I ran hadoop streaming PYTHONPATH environment variable
not properly getting value. when I try to extend sys.path code level not
working. It's says KeyError:'PYTHONPATH' In my case I already exported
PYTHONPATH in /etc/bashrc
Traceback (most recent call last):
line 14, in <module>
File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
I tried /etc/sudoers file I added PYTHONPATH
Defaults env_keep ="PYTHONPATH"
also not working.
can you please guide me How to fix this.
Did I learn something today? If not, I wasted it.