File tree 5 files changed +14
-7
lines changed
5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1
1
FROM dimajix/jre:oracle-8
2
2
3
3
4
- ARG BUILD_ALLUXIO_VERSION=1.5.0
4
+ ARG BUILD_ALLUXIO_VERSION=1.6.1
5
5
6
6
# Common Environment variables
7
7
ENV ALLUXIO_HOME=/opt/alluxio \
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ This Docker container can be used to start up multiple Alluxio containers for ca
23
23
24
24
## Volumes
25
25
26
- ALLUXIO_MASTER_JOURNAL_FOLDER
27
- ALLUXIO_WORKER_FOLDER
26
+ ALLUXIO_MASTER_JOURNAL_FOLDER=/mnt/journal
27
+ ALLUXIO_WORKER_FOLDER=/mnt/ramdisk
28
28
ALLUXIO_UNDERFS_ADDRESS
29
29
30
30
## Communication Ports
Original file line number Diff line number Diff line change @@ -9,10 +9,13 @@ get_env() {
9
9
BIN=$ALLUXIO_HOME /bin
10
10
ALLUXIO_LIBEXEC_DIR=${ALLUXIO_LIBEXEC_DIR:- $ALLUXIO_HOME / libexec}
11
11
. ${ALLUXIO_LIBEXEC_DIR} /alluxio-config.sh
12
+ CLASSPATH=${ALLUXIO_CLIENT_CLASSPATH}
12
13
}
13
14
14
15
15
16
start_worker () {
17
+ CLASSPATH=${ALLUXIO_SERVER_CLASSPATH}
18
+
16
19
alluxio-mount.sh Mount
17
20
MOUNT_FAILED=$?
18
21
@@ -31,6 +34,8 @@ start_worker() {
31
34
32
35
33
36
start_master () {
37
+ CLASSPATH=${ALLUXIO_SERVER_CLASSPATH}
38
+
34
39
if [[ -z ${ALLUXIO_MASTER_JAVA_OPTS} ]]; then
35
40
ALLUXIO_MASTER_JAVA_OPTS=${ALLUXIO_JAVA_OPTS}
36
41
fi
@@ -46,6 +51,8 @@ start_master() {
46
51
47
52
48
53
start_proxy () {
54
+ CLASSPATH=${ALLUXIO_SERVER_CLASSPATH}
55
+
49
56
if [[ -z ${ALLUXIO_PROXY_JAVA_OPTS} ]]; then
50
57
ALLUXIO_PROXY_JAVA_OPTS=${ALLUXIO_JAVA_OPTS}
51
58
fi
Original file line number Diff line number Diff line change 12
12
# Site specific configuration properties for Alluxio
13
13
# Details about all configuration properties http://www.alluxio.org/documentation/en/Configuration-Settings.html
14
14
15
- # Location of all configs
16
- alluxio.conf.dir =[% ALLUXIO_CONF_DIR %]
17
-
18
15
# Common properties
19
16
alluxio.master.hostname =[% ALLUXIO_MASTER_HOSTNAME %]
20
17
alluxio.master.port =[% ALLUXIO_MASTER_PORT %]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
hostname : alluxio-client
7
7
container_name : dmx-alluxio-client
8
8
image : dimajix/alluxio:latest
9
- build :
9
+ build :
10
10
context : .
11
11
args :
12
12
http_proxy : ${http_proxy}
@@ -22,6 +22,7 @@ services:
22
22
container_name : dmx-alluxio-master
23
23
image : dimajix/alluxio:latest
24
24
command : master
25
+ privileged : true
25
26
env_file :
26
27
- docker-compose.env
27
28
environment :
@@ -33,6 +34,7 @@ services:
33
34
container_name : dmx-alluxio-worker-0
34
35
image : dimajix/alluxio:latest
35
36
command : worker
37
+ privileged : true
36
38
env_file :
37
39
- docker-compose.env
38
40
environment :
@@ -46,6 +48,7 @@ services:
46
48
container_name : dmx-alluxio-worker-1
47
49
image : dimajix/alluxio:latest
48
50
command : worker
51
+ privileged : true
49
52
env_file :
50
53
- docker-compose.env
51
54
environment :
You can’t perform that action at this time.
0 commit comments