From b6ad84ebb1bf5f5f4c1fffe55a6b529ee43dd7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Elek?= Date: Tue, 18 Sep 2018 11:00:51 +0200 Subject: [PATCH] HDDS-468. Add version number to datanode plugin and ozone file system jar. Contributed by Bharat Viswanadham. (cherry picked from commit a71aea732315ffc5c99c011369adfbeddb9a8c01) --- dev-support/bin/ozone-dist-layout-stitching | 4 ++-- hadoop-dist/src/main/compose/ozone-hdfs/docker-compose.yaml | 2 +- hadoop-dist/src/main/compose/ozonefs/docker-compose.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-support/bin/ozone-dist-layout-stitching b/dev-support/bin/ozone-dist-layout-stitching index f047c87a90..00854b45f2 100755 --- a/dev-support/bin/ozone-dist-layout-stitching +++ b/dev-support/bin/ozone-dist-layout-stitching @@ -145,11 +145,11 @@ run copy "${ROOT}/hadoop-ozone/tools/target/hadoop-ozone-tools-${HDDS_VERSION}" #shaded 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 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 diff --git a/hadoop-dist/src/main/compose/ozone-hdfs/docker-compose.yaml b/hadoop-dist/src/main/compose/ozone-hdfs/docker-compose.yaml index ed18e5cd61..b89052dd0c 100644 --- a/hadoop-dist/src/main/compose/ozone-hdfs/docker-compose.yaml +++ b/hadoop-dist/src/main/compose/ozone-hdfs/docker-compose.yaml @@ -33,7 +33,7 @@ services: - ../..:/opt/ozone command: ["hdfs","datanode"] environment: - HADOOP_CLASSPATH: /opt/ozone/share/hadoop/ozoneplugin/hadoop-ozone-datanode-plugin.jar + HADOOP_CLASSPATH: /opt/ozone/share/hadoop/ozoneplugin/*.jar env_file: - ./docker-config ozoneManager: diff --git a/hadoop-dist/src/main/compose/ozonefs/docker-compose.yaml b/hadoop-dist/src/main/compose/ozonefs/docker-compose.yaml index 1671c39492..a1e874849e 100644 --- a/hadoop-dist/src/main/compose/ozonefs/docker-compose.yaml +++ b/hadoop-dist/src/main/compose/ozonefs/docker-compose.yaml @@ -55,5 +55,5 @@ services: env_file: - ./docker-config 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"]