diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 4cf4c7ad194..f63cc750593 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -529,6 +529,9 @@ Release 2.5.0 - UNRELEASED HDFS-6604. The short-circuit cache doesn't correctly time out replicas that haven't been used in a while (cmccabe) + HDFS-4286. Changes from BOOKKEEPER-203 broken capability of including + bookkeeper-server jar in hidden package of BKJM (Rakesh R via umamahesh) + BREAKDOWN OF HDFS-2006 SUBTASKS AND RELATED JIRAS HDFS-6299. Protobuf for XAttr and client-side implementation. (Yi Liu via umamahesh) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml index 445addd8b26..60388ac4547 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml @@ -163,38 +163,24 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> - org.apache.maven.plugins - maven-shade-plugin - 1.5 + maven-dependency-plugin + 2.8 + dist package - shade + copy - false - - - org.apache.bookkeeper:bookkeeper-server - org.apache.zookeeper:zookeeper - org.jboss.netty:netty - - - - - org.apache.bookkeeper - hidden.bkjournal.org.apache.bookkeeper - - - org.apache.zookeeper - hidden.bkjournal.org.apache.zookeeper - - - org.jboss.netty - hidden.bkjournal.org.jboss.netty - - + + + org.apache.bookkeeper + bookkeeper-server + jar + + + ${project.build.directory}/lib diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSHighAvailabilityWithNFS.apt.vm b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSHighAvailabilityWithNFS.apt.vm index f250da7f73f..819b537a9bd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSHighAvailabilityWithNFS.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HDFSHighAvailabilityWithNFS.apt.vm @@ -838,20 +838,18 @@ digest:hdfs-zkfcs:vlUvLnd8MlacsE80rDuu6ONESbM=:rwcda $ mvn clean package -Pdist - This will generate a jar with the BookKeeperJournalManager, all the dependencies - needed by the journal manager, + This will generate a jar with the BookKeeperJournalManager, hadoop-hdfs/src/contrib/bkjournal/target/hadoop-hdfs-bkjournal-.jar - Note that the -Pdist part of the build command is important, as otherwise - the dependencies would not be packaged in the jar. The dependencies included in - the jar are {{{http://maven.apache.org/plugins/maven-shade-plugin/}shaded}} to - avoid conflicts with other dependencies of the NameNode. + Note that the -Pdist part of the build command is important, this would + copy the dependent bookkeeper-server jar under + hadoop-hdfs/src/contrib/bkjournal/target/lib. *** <> - To run a HDFS namenode using BookKeeper as a backend, copy the bkjournal - jar, generated above, into the lib directory of hdfs. In the standard - distribution of HDFS, this is at $HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/ + To run a HDFS namenode using BookKeeper as a backend, copy the bkjournal and + bookkeeper-server jar, mentioned above, into the lib directory of hdfs. In the + standard distribution of HDFS, this is at $HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/ cp hadoop-hdfs/src/contrib/bkjournal/target/hadoop-hdfs-bkjournal-.jar $HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/