Merge -r 1369905:1369906 from trunk to branch. FIXES: MAPREDUCE-4498

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1369908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alejandro Abdelnur 2012-08-06 18:15:35 +00:00
parent b86332b8e1
commit 2a178a8d0b
7 changed files with 30 additions and 6 deletions

View File

@ -153,10 +153,18 @@
<excludes>
<exclude>org.apache.hadoop:hadoop-common</exclude>
<exclude>org.apache.hadoop:hadoop-hdfs</exclude>
<!-- use slf4j from common to avoid multiple binding warnings -->
<exclude>org.slf4j:slf4j-api</exclude>
<exclude>org.slf4j:slf4j-log4j12</exclude>
<!-- use slf4j from common to avoid multiple binding warnings -->
<exclude>org.slf4j:slf4j-api</exclude>
<exclude>org.slf4j:slf4j-log4j12</exclude>
<exclude>org.hsqldb:hsqldb</exclude>
</excludes>
</dependencySet>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>/share/hadoop/${hadoop.component}/lib-examples</outputDirectory>
<includes>
<include>org.hsqldb:hsqldb</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>

View File

@ -33,6 +33,8 @@ Branch-2 ( Unreleased changes )
MAPREDUCE-4342. Distributed Cache gives inconsistent result if cache files
get deleted from tasktracker. (mayank_bansal via tucu)
MAPREDUCE-4498. Remove hsqldb jar from Hadoop runtime classpath. (rkanter via tucu)
Release 2.1.0-alpha - Unreleased
INCOMPATIBLE CHANGES

View File

@ -94,7 +94,6 @@
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -99,7 +99,7 @@
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@ -65,6 +65,16 @@ import org.hsqldb.server.Server;
*
* When called with no arguments the program starts a local HSQLDB server, and
* uses this database for storing/retrieving the data.
* <br>
* This program requires some additional configuration relating to HSQLDB.
* The the hsqldb jar should be added to the classpath:
* <br>
* <code>export HADOOP_CLASSPATH=share/hadoop/mapreduce/lib-examples/hsqldb-2.0.0.jar</code>
* <br>
* And the hsqldb jar should be included with the <code>-libjars</code>
* argument when executing it with hadoop:
* <br>
* <code>-libjars share/hadoop/mapreduce/lib-examples/hsqldb-2.0.0.jar</code>
*/
public class DBCountPageView extends Configured implements Tool {

View File

@ -162,7 +162,7 @@
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -657,6 +657,11 @@
<!-- Use the version needed by maven-clover-plugin -->
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>
</dependencyManagement>