HDDS-468. Add version number to datanode plugin and ozone file system jar. Contributed by Bharat Viswanadham.
(cherry picked from commit a71aea732315ffc5c99c011369adfbeddb9a8c01)
This commit is contained in:
parent
001611cca3
commit
b6ad84ebb1
@ -145,11 +145,11 @@ run copy "${ROOT}/hadoop-ozone/tools/target/hadoop-ozone-tools-${HDDS_VERSION}"
|
|||||||
|
|
||||||
#shaded ozonefs
|
#shaded ozonefs
|
||||||
mkdir -p "./share/hadoop/ozonefs"
|
mkdir -p "./share/hadoop/ozonefs"
|
||||||
cp "${ROOT}/hadoop-ozone/ozonefs/target/hadoop-ozone-filesystem-${HDDS_VERSION}.jar" "./share/hadoop/ozonefs/hadoop-ozone-filesystem.jar"
|
cp "${ROOT}/hadoop-ozone/ozonefs/target/hadoop-ozone-filesystem-${HDDS_VERSION}.jar" "./share/hadoop/ozonefs/hadoop-ozone-filesystem-${HDDS_VERSION}.jar"
|
||||||
|
|
||||||
#shaded datanode service
|
#shaded datanode service
|
||||||
mkdir -p "./share/hadoop/ozoneplugin"
|
mkdir -p "./share/hadoop/ozoneplugin"
|
||||||
cp "${ROOT}/hadoop-ozone/objectstore-service/target/hadoop-ozone-objectstore-service-${HDDS_VERSION}-plugin.jar" "./share/hadoop/ozoneplugin/hadoop-ozone-datanode-plugin.jar"
|
cp "${ROOT}/hadoop-ozone/objectstore-service/target/hadoop-ozone-objectstore-service-${HDDS_VERSION}-plugin.jar" "./share/hadoop/ozoneplugin/hadoop-ozone-datanode-plugin-${HDDS_VERSION}.jar"
|
||||||
|
|
||||||
|
|
||||||
# Optional documentation, could be missing
|
# Optional documentation, could be missing
|
||||||
|
@ -33,7 +33,7 @@ services:
|
|||||||
- ../..:/opt/ozone
|
- ../..:/opt/ozone
|
||||||
command: ["hdfs","datanode"]
|
command: ["hdfs","datanode"]
|
||||||
environment:
|
environment:
|
||||||
HADOOP_CLASSPATH: /opt/ozone/share/hadoop/ozoneplugin/hadoop-ozone-datanode-plugin.jar
|
HADOOP_CLASSPATH: /opt/ozone/share/hadoop/ozoneplugin/*.jar
|
||||||
env_file:
|
env_file:
|
||||||
- ./docker-config
|
- ./docker-config
|
||||||
ozoneManager:
|
ozoneManager:
|
||||||
|
@ -55,5 +55,5 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- ./docker-config
|
- ./docker-config
|
||||||
environment:
|
environment:
|
||||||
HADOOP_CLASSPATH: /opt/ozone/share/hadoop/ozonefs/hadoop-ozone-filesystem.jar
|
HADOOP_CLASSPATH: /opt/ozone/share/hadoop/ozonefs/*.jar
|
||||||
command: ["watch","-n","100000","ls"]
|
command: ["watch","-n","100000","ls"]
|
||||||
|
Loading…
Reference in New Issue
Block a user