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:
parent
b86332b8e1
commit
2a178a8d0b
|
@ -156,7 +156,15 @@
|
||||||
<!-- use slf4j from common to avoid multiple binding warnings -->
|
<!-- use slf4j from common to avoid multiple binding warnings -->
|
||||||
<exclude>org.slf4j:slf4j-api</exclude>
|
<exclude>org.slf4j:slf4j-api</exclude>
|
||||||
<exclude>org.slf4j:slf4j-log4j12</exclude>
|
<exclude>org.slf4j:slf4j-log4j12</exclude>
|
||||||
|
<exclude>org.hsqldb:hsqldb</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</dependencySet>
|
</dependencySet>
|
||||||
|
<dependencySet>
|
||||||
|
<useProjectArtifact>false</useProjectArtifact>
|
||||||
|
<outputDirectory>/share/hadoop/${hadoop.component}/lib-examples</outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>org.hsqldb:hsqldb</include>
|
||||||
|
</includes>
|
||||||
|
</dependencySet>
|
||||||
</dependencySets>
|
</dependencySets>
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
|
@ -33,6 +33,8 @@ Branch-2 ( Unreleased changes )
|
||||||
MAPREDUCE-4342. Distributed Cache gives inconsistent result if cache files
|
MAPREDUCE-4342. Distributed Cache gives inconsistent result if cache files
|
||||||
get deleted from tasktracker. (mayank_bansal via tucu)
|
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
|
Release 2.1.0-alpha - Unreleased
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -94,7 +94,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hsqldb</groupId>
|
<groupId>org.hsqldb</groupId>
|
||||||
<artifactId>hsqldb</artifactId>
|
<artifactId>hsqldb</artifactId>
|
||||||
<version>2.0.0</version>
|
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hsqldb</groupId>
|
<groupId>org.hsqldb</groupId>
|
||||||
<artifactId>hsqldb</artifactId>
|
<artifactId>hsqldb</artifactId>
|
||||||
<version>2.0.0</version>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,16 @@ import org.hsqldb.server.Server;
|
||||||
*
|
*
|
||||||
* When called with no arguments the program starts a local HSQLDB server, and
|
* When called with no arguments the program starts a local HSQLDB server, and
|
||||||
* uses this database for storing/retrieving the data.
|
* 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 {
|
public class DBCountPageView extends Configured implements Tool {
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hsqldb</groupId>
|
<groupId>org.hsqldb</groupId>
|
||||||
<artifactId>hsqldb</artifactId>
|
<artifactId>hsqldb</artifactId>
|
||||||
<version>2.0.0</version>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
|
@ -657,6 +657,11 @@
|
||||||
<!-- Use the version needed by maven-clover-plugin -->
|
<!-- Use the version needed by maven-clover-plugin -->
|
||||||
<version>3.0.2</version>
|
<version>3.0.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.hsqldb</groupId>
|
||||||
|
<artifactId>hsqldb</artifactId>
|
||||||
|
<version>2.0.0</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue