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.
2 parents 5fa6b78 + f0f9d5b commit f29a927Copy full SHA for f29a927
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