Skip to content

Commit 430d407

Browse files
committed
Updated Alluxio to 1.6.1
1 parent ee4c8cc commit 430d407

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM dimajix/jre:oracle-8
22
33

4-
ARG BUILD_ALLUXIO_VERSION=1.5.0
4+
ARG BUILD_ALLUXIO_VERSION=1.6.1
55

66
# Common Environment variables
77
ENV ALLUXIO_HOME=/opt/alluxio \

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ This Docker container can be used to start up multiple Alluxio containers for ca
2323

2424
## Volumes
2525

26-
ALLUXIO_MASTER_JOURNAL_FOLDER
27-
ALLUXIO_WORKER_FOLDER
26+
ALLUXIO_MASTER_JOURNAL_FOLDER=/mnt/journal
27+
ALLUXIO_WORKER_FOLDER=/mnt/ramdisk
2828
ALLUXIO_UNDERFS_ADDRESS
2929

3030
## Communication Ports

bin/entrypoint.sh

+7
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ get_env() {
99
BIN=$ALLUXIO_HOME/bin
1010
ALLUXIO_LIBEXEC_DIR=${ALLUXIO_LIBEXEC_DIR:-$ALLUXIO_HOME/libexec}
1111
. ${ALLUXIO_LIBEXEC_DIR}/alluxio-config.sh
12+
CLASSPATH=${ALLUXIO_CLIENT_CLASSPATH}
1213
}
1314

1415

1516
start_worker() {
17+
CLASSPATH=${ALLUXIO_SERVER_CLASSPATH}
18+
1619
alluxio-mount.sh Mount
1720
MOUNT_FAILED=$?
1821

@@ -31,6 +34,8 @@ start_worker() {
3134

3235

3336
start_master() {
37+
CLASSPATH=${ALLUXIO_SERVER_CLASSPATH}
38+
3439
if [[ -z ${ALLUXIO_MASTER_JAVA_OPTS} ]]; then
3540
ALLUXIO_MASTER_JAVA_OPTS=${ALLUXIO_JAVA_OPTS}
3641
fi
@@ -46,6 +51,8 @@ start_master() {
4651

4752

4853
start_proxy() {
54+
CLASSPATH=${ALLUXIO_SERVER_CLASSPATH}
55+
4956
if [[ -z ${ALLUXIO_PROXY_JAVA_OPTS} ]]; then
5057
ALLUXIO_PROXY_JAVA_OPTS=${ALLUXIO_JAVA_OPTS}
5158
fi

conf/alluxio-site.properties

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
# Site specific configuration properties for Alluxio
1313
# Details about all configuration properties http://www.alluxio.org/documentation/en/Configuration-Settings.html
1414

15-
# Location of all configs
16-
alluxio.conf.dir=[% ALLUXIO_CONF_DIR %]
17-
1815
# Common properties
1916
alluxio.master.hostname=[% ALLUXIO_MASTER_HOSTNAME %]
2017
alluxio.master.port=[% ALLUXIO_MASTER_PORT %]

docker-compose.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
hostname: alluxio-client
77
container_name: dmx-alluxio-client
88
image: dimajix/alluxio:latest
9-
build:
9+
build:
1010
context: .
1111
args:
1212
http_proxy: ${http_proxy}
@@ -22,6 +22,7 @@ services:
2222
container_name: dmx-alluxio-master
2323
image: dimajix/alluxio:latest
2424
command: master
25+
privileged: true
2526
env_file:
2627
- docker-compose.env
2728
environment:
@@ -33,6 +34,7 @@ services:
3334
container_name: dmx-alluxio-worker-0
3435
image: dimajix/alluxio:latest
3536
command: worker
37+
privileged: true
3638
env_file:
3739
- docker-compose.env
3840
environment:
@@ -46,6 +48,7 @@ services:
4648
container_name: dmx-alluxio-worker-1
4749
image: dimajix/alluxio:latest
4850
command: worker
51+
privileged: true
4952
env_file:
5053
- docker-compose.env
5154
environment:

0 commit comments

Comments
 (0)