Skip to content

Commit f209175

Browse files
author
Vitasek
committed
updated launch scripts
1 parent f29a927 commit f209175

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

deploy/bin/hdfs-shell-daemon.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2-
CWD=$(cd $(dirname $0); pwd)
2+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3+
HADOOP_DIR=${HADOOP_CONF_DIR:-/etc/hadoop/conf}
34

4-
java -Ddaemon=true -Xms200m -Xmx400m -cp ${CWD}/lib/*:/etc/hadoop/conf com.avast.server.hdfsshell.MainApp "$@"
5+
echo "Launching HDFS Shell Daemon with HADOOP_CONF_DIR: ${HADOOP_DIR}"
6+
7+
java -Ddaemon=true -Xms200m -Xmx400m -cp ${SCRIPT_DIR}/../lib/*:${HADOOP_DIR} com.avast.server.hdfsshell.MainApp "$@"

deploy/bin/hdfs-shell.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2-
CWD=$(cd $(dirname $0); pwd)
2+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3+
HADOOP_DIR=${HADOOP_CONF_DIR:-/etc/hadoop/conf}
34

4-
java -Xms200m -Xmx400m -cp ${CWD}/lib/*:/etc/hadoop/conf com.avast.server.hdfsshell.MainApp "$@"
5+
echo "Launching HDFS Shell with HADOOP_CONF_DIR: ${HADOOP_DIR}"
6+
7+
java -Xms200m -Xmx400m -cp ${SCRIPT_DIR}/../lib/*:${HADOOP_DIR} com.avast.server.hdfsshell.MainApp "$@"

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
springShellVersion = 1.2.0.RELEASE
22
theGroup=com.avast.server
3-
theVersion=1.0
3+
theVersion=1.0.3

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Mon Jan 16 08:25:21 CET 2017
1+
#Thu Apr 13 13:45:32 CEST 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)