Skip to content

Commit 73e8253

Browse files
committed
Fix Hadoop
1 parent 35abeb4 commit 73e8253

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

hadoop/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,25 +128,26 @@ COPY --chown=${STACKABLE_USER_UID}:0 --from=builder /stackable/hadoop-${PRODUCT}
128128
COPY --chown=${STACKABLE_USER_UID}:0 --from=builder /stackable/jmx /stackable/jmx/
129129
COPY --chown=${STACKABLE_USER_UID}:0 --from=builder /stackable/async-profiler /stackable/async-profiler/
130130
COPY --chown=${STACKABLE_USER_UID}:0 --from=hdfs-utils-builder /stackable/hadoop-${PRODUCT}/share/hadoop/common/lib/hdfs-utils-${HDFS_UTILS}.jar /stackable/hadoop-${PRODUCT}/share/hadoop/common/lib/hdfs-utils-${HDFS_UTILS}.jar
131-
COPY --chown=${STACKABLE_USER_UID}:0 hadoop/stackable/fuse_dfs_wrapper /stackable/hadoop/bin
131+
COPY --chown=${STACKABLE_USER_UID}:0 hadoop/stackable/fuse_dfs_wrapper /stackable/
132132

133133

134134
# fuse is required for fusermount (called by fuse_dfs)
135135
# fuse-libs is required for fuse_dfs (not included in fuse)
136136
# openssl -> not sure
137137
RUN <<EOF
138138
microdnf update
139+
# tar is required for `kubectl cp` which can be used to copy the log files
140+
# or profiler flamegraph from the Pod
141+
# It is already installed in the base image but leaving here for documentation purposes
139142
microdnf install \
140143
fuse \
141144
fuse-libs \
142-
# tar is required for `kubectl cp` which can be used to copy the log files
143-
# or profiler flamegraph from the Pod
144-
# It is already installed in the base image but leaving here for documentation purposes
145145
tar
146146
microdnf clean all
147147
rm -rf /var/cache/yum
148148

149149
ln -s /stackable/hadoop-${PRODUCT} /stackable/hadoop
150+
mv /stackable/fuse_dfs_wrapper /stackable/hadoop/bin
150151

151152
# Remove unneeded binaries:
152153
# - code sources

0 commit comments

Comments
 (0)