First, thank you for a very convenient hdfs shell program!
It helps me a lot (especially, I love tab-completion :-)
While trying to use this program, I faced a small problem that I had to run hdfs-shell.sh inside bin directory.
This pull requests make hdfs-shell.sh and hdfs-shell-daemon.sh scripts run outside of bin directory by resolving the relative path to ./lib directory (for -cp option) from the current working directory.
Hi,
First, thank you for a very convenient hdfs shell program! It helps me a lot (especially, I love tab-completion :-)
While trying to use this program, I faced a small problem that I had to run hdfs-shell.sh inside bin directory. This pull requests make hdfs-shell.sh and hdfs-shell-daemon.sh scripts run outside of bin directory by resolving the relative path to ./lib directory (for -cp option) from the current working directory.
Hope this patch helpful for other users.
Best wishes, Han-cheol