diff --git a/Hadoop-Compatible-File-System.md b/Hadoop-Compatible-File-System.md index 0e2dec3..cab4ed7 100644 --- a/Hadoop-Compatible-File-System.md +++ b/Hadoop-Compatible-File-System.md @@ -8,15 +8,12 @@ $cd $GOPATH/src/github.com/chrislusf/seaweedfs/other/java/client $ mvn install $cd $GOPATH/src/github.com/chrislusf/seaweedfs/other/java/hdfs $ mvn package -$ ls -al target/seaweedfs-hadoop-client-1.0.4.jar +$ ls -al target/seaweedfs-hadoop-client-x.x.x.jar ``` Or you can download the latest version from MavenCentral https://mvnrepository.com/artifact/com.github.chrislusf/seaweedfs-hadoop-client -https://oss.sonatype.org/content/repositories/public/com/github/chrislusf/seaweedfs-hadoop-client/1.0.4/seaweedfs-hadoop-client-1.0.4.jar - - # Test SeaweedFS on Hadoop Suppose you are getting a new Hadoop installation. Here are the minimum steps to get SeaweedFS to run. @@ -29,7 +26,7 @@ $ cd ${HADOOP_HOME} $ echo "" > etc/hadoop/mapred-site.xml $ bin/hdfs dfs -Dfs.defaultFS=seaweedfs://localhost:8888 \ -Dfs.seaweedfs.impl=seaweed.hdfs.SeaweedFileSystem \ - -libjars ./seaweedfs-hadoop-client-1.0.4.jar \ + -libjars ./seaweedfs-hadoop-client-x.x.x.jar \ -ls / ``` @@ -59,7 +56,7 @@ $ bin/hadoop classpath # Copy SeaweedFS HDFS client jar to one of the folders $ cd ${HADOOP_HOME} -$ cp ./seaweedfs-hadoop-client-1.0.4.jar share/hadoop/common/lib/ +$ cp ./seaweedfs-hadoop-client-x.x.x.jar share/hadoop/common/lib/ ``` Now you can do this: