We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa6b78 commit 6b2a067Copy full SHA for 6b2a067
deploy/bin/hdfs-shell-daemon.sh
@@ -1,2 +1,4 @@
1
#!/bin/bash
2
-java -Ddaemon=true -Xms200m -Xmx400m -cp ./lib/*:/etc/hadoop/conf com.avast.server.hdfsshell.MainApp "$@"
+CWD=$(cd $(dirname $0); pwd)
3
+
4
+java -Ddaemon=true -Xms200m -Xmx400m -cp ${CWD}/lib/*:/etc/hadoop/conf com.avast.server.hdfsshell.MainApp "$@"
deploy/bin/hdfs-shell.sh
-java -Xms200m -Xmx400m -cp ./lib/*:/etc/hadoop/conf com.avast.server.hdfsshell.MainApp "$@"
+java -Xms200m -Xmx400m -cp ${CWD}/lib/*:/etc/hadoop/conf com.avast.server.hdfsshell.MainApp "$@"
0 commit comments