HDDS-1226. ozone-filesystem jar missing in hadoop classpath
Closes #560
This commit is contained in:
parent
2b94e51a8f
commit
475011bbf8
|
@ -56,7 +56,7 @@ This will make this bucket to be the default file system for HDFS dfs commands a
|
||||||
You also need to add the ozone-filesystem.jar file to the classpath:
|
You also need to add the ozone-filesystem.jar file to the classpath:
|
||||||
|
|
||||||
{{< highlight bash >}}
|
{{< highlight bash >}}
|
||||||
export HADOOP_CLASSPATH=/opt/ozone/share/ozonefs/lib/hadoop-ozone-filesystem-lib-.*.jar:$HADOOP_CLASSPATH
|
export HADOOP_CLASSPATH=/opt/ozone/share/ozonefs/lib/hadoop-ozone-filesystem-lib-current.*.jar:$HADOOP_CLASSPATH
|
||||||
{{< /highlight >}}
|
{{< /highlight >}}
|
||||||
|
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ Please note that any keys created/deleted in the bucket using methods apart from
|
||||||
|
|
||||||
There are two ozonefs files which includes all the dependencies:
|
There are two ozonefs files which includes all the dependencies:
|
||||||
|
|
||||||
* share/ozone/lib/hadoop-ozone-filesystem-lib-VERSION.jar
|
* share/ozone/lib/hadoop-ozone-filesystem-lib-current-VERSION.jar
|
||||||
* share/ozone/lib/hadoop-ozone-filesystem-lib-legacy-VERSION.jar
|
* share/ozone/lib/hadoop-ozone-filesystem-lib-legacy-VERSION.jar
|
||||||
|
|
||||||
The first one contains all the required dependency to use ozonefs with a
|
The first one contains all the required dependency to use ozonefs with a
|
||||||
|
|
|
@ -110,7 +110,6 @@ run cp "${ROOT}/hadoop-ozone/common/src/main/bin/stop-ozone.sh" "sbin/"
|
||||||
run mkdir -p "./share/hadoop/ozoneplugin"
|
run mkdir -p "./share/hadoop/ozoneplugin"
|
||||||
run 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"
|
run 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
|
||||||
cp -r "${ROOT}/hadoop-hdds/docs/target/classes/docs" ./
|
cp -r "${ROOT}/hadoop-hdds/docs/target/classes/docs" ./
|
||||||
|
|
||||||
|
|
|
@ -204,7 +204,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.hadoop</groupId>
|
<groupId>org.apache.hadoop</groupId>
|
||||||
<artifactId>hadoop-ozone-filesystem-lib</artifactId>
|
<artifactId>hadoop-ozone-filesystem-lib-current</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.hadoop</groupId>
|
<groupId>org.apache.hadoop</groupId>
|
||||||
|
|
|
@ -56,7 +56,7 @@ services:
|
||||||
env_file:
|
env_file:
|
||||||
- ./docker-config
|
- ./docker-config
|
||||||
environment:
|
environment:
|
||||||
HADOOP_CLASSPATH: /opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-0*.jar
|
HADOOP_CLASSPATH: /opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-current*.jar
|
||||||
command: ["watch","-n","100000","ls"]
|
command: ["watch","-n","100000","ls"]
|
||||||
hadoop2:
|
hadoop2:
|
||||||
image: flokkr/hadoop:2.9.0
|
image: flokkr/hadoop:2.9.0
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<artifactId>hadoop-ozone</artifactId>
|
<artifactId>hadoop-ozone</artifactId>
|
||||||
<version>0.4.0-SNAPSHOT</version>
|
<version>0.4.0-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>hadoop-ozone-filesystem-lib</artifactId>
|
<artifactId>hadoop-ozone-filesystem-lib-current</artifactId>
|
||||||
<name>Apache Hadoop Ozone FileSystem Single Jar Library</name>
|
<name>Apache Hadoop Ozone FileSystem Single Jar Library</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<description>This projects creates an uber jar from ozonefs with all the
|
<description>This projects creates an uber jar from ozonefs with all the
|
|
@ -40,7 +40,7 @@
|
||||||
<module>client</module>
|
<module>client</module>
|
||||||
<module>ozone-manager</module>
|
<module>ozone-manager</module>
|
||||||
<module>ozonefs</module>
|
<module>ozonefs</module>
|
||||||
<module>ozonefs-lib</module>
|
<module>ozonefs-lib-current</module>
|
||||||
<module>ozonefs-lib-legacy</module>
|
<module>ozonefs-lib-legacy</module>
|
||||||
<module>tools</module>
|
<module>tools</module>
|
||||||
<module>integration-test</module>
|
<module>integration-test</module>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.hadoop</groupId>
|
<groupId>org.apache.hadoop</groupId>
|
||||||
<artifactId>hadoop-ozone-filesystem-lib</artifactId>
|
<artifactId>hadoop-ozone-filesystem-lib-current</artifactId>
|
||||||
<version>${ozone.version}</version>
|
<version>${ozone.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
Loading…
Reference in New Issue