File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
hadoop-cloud-storage-project/hadoop-tos/hadoop-tos-core/src/site/markdown/cloud-storage Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,15 @@ In quick start, we will use hadoop shell command to access a tos bucket.
32323 . Install hadoop to the dev environment. Hadoop is installed at ` $HADOOP_HOME ` .
3333
3434### Usage
35-
36- * Copy hadoop-tos bundler jar to hdfs lib path. The bundle jar is placed
37- at ` $HADOOP_HOME/share/hadoop/tools/hadoop-cloud-storage/hadoop-tos-{VERSION}.jar ` . The hdfs lib
38- path is ` $HADOOP_HOME/share/hadoop/hdfs ` . Remember copying on all hadoop nodes.
39- * Configure properties.
35+ * Compile hadoop-tos bundle jar. The hadoop-tos bundle jar is not packaged in hadoop final tar file.
36+ So we have to compile it manually. Download the hadoop project, and build it with command below.
37+ ``` bash
38+ mvn install -Pdist -Dhbase.profile=2.0 -DskipTests -Dtar -Dmaven.javadoc.skip=true
39+ ```
40+ * Copy hadoop-tos bundle jar to hdfs lib path. The bundle jar is placed at
41+ ` $HADOOP_HOME/hadoop-cloud-storage-project/hadoop-tos/hadoop-tos-core/target/hadoop-tos-core-{VERSION}.jar ` .
42+ The hdfs lib path is ` $HADOOP_HOME/share/hadoop/hdfs ` . Remember copying to all hadoop nodes.
43+ * Configure properties below.
4044
4145``` xml
4246
@@ -414,7 +418,7 @@ export TOS_BUCKET={YOUR_BUCKET_NAME}
414418export TOS_UNIT_TEST_ENABLED=true
415419```
416420
417- Then cd to ` $HADOOP_HOME ` , and run the test command below.
421+ Then cd to hadoop project root directory , and run the test command below.
418422
419423``` bash
420424mvn -Dtest=org.apache.hadoop.fs.tosfs.** test -pl org.apache.hadoop:hadoop-tos-core
You can’t perform that action at this time.
0 commit comments