HBASE-2268 [stargate] Failed tests and DEBUG output is dumped to console since move to Mavenized build

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@916481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2010-02-25 22:54:27 +00:00
parent 5d85503e7c
commit bfce9fa0ef
12 changed files with 23 additions and 17 deletions

View File

@ -181,10 +181,11 @@ Release 0.21.0 - Unreleased
HBASE-2135 ant javadoc complains about missing classe (Kay Kay via Stack) HBASE-2135 ant javadoc complains about missing classe (Kay Kay via Stack)
HBASE-2130 bin/* scripts - not to include lib/test/**/*.jar HBASE-2130 bin/* scripts - not to include lib/test/**/*.jar
(Kay Kay via Stack) (Kay Kay via Stack)
HBASE-2140 findbugs issues - 2 performance warnings as suggested by findbugs HBASE-2140 findbugs issues - 2 performance warnings as suggested by
(Kay Kay via Stack) findbugs (Kay Kay via Stack)
HBASE-2139 findbugs task in build.xml (Kay Kay via Stack) HBASE-2139 findbugs task in build.xml (Kay Kay via Stack)
HBASE-2147 run zookeeper in the same jvm as master during non-distributed mode HBASE-2147 run zookeeper in the same jvm as master during non-distributed
mode
HBASE-65 Thrift Server should have an option to bind to ip address HBASE-65 Thrift Server should have an option to bind to ip address
(Lars Francke via Stack) (Lars Francke via Stack)
HBASE-2146 RPC related metrics are missing in 0.20.3 since recent changes HBASE-2146 RPC related metrics are missing in 0.20.3 since recent changes
@ -208,10 +209,13 @@ Release 0.21.0 - Unreleased
should be reversed (Adrian Popescu via Stack) should be reversed (Adrian Popescu via Stack)
HBASE-2224 Broken build: TestGetRowVersions.testGetRowMultipleVersions HBASE-2224 Broken build: TestGetRowVersions.testGetRowMultipleVersions
HBASE-2129 ant tar build broken since switch to Ivy (Kay Kay via Stack) HBASE-2129 ant tar build broken since switch to Ivy (Kay Kay via Stack)
HBASE-2226 HQuorumPeerTest doesnt run because it doesnt start with the word Test HBASE-2226 HQuorumPeerTest doesnt run because it doesnt start with the
word Test
HBASE-2230 SingleColumnValueFilter has an ungaurded debug log message HBASE-2230 SingleColumnValueFilter has an ungaurded debug log message
HBASE-2258 The WhileMatchFilter doesn't delegate the call to filterRow() HBASE-2258 The WhileMatchFilter doesn't delegate the call to filterRow()
HBASE-2259 StackOverflow in ExplicitColumnTracker when row has many columns HBASE-2259 StackOverflow in ExplicitColumnTracker when row has many columns
HBASE-2268 [stargate] Failed tests and DEBUG output is dumped to console
since move to Mavenized build
IMPROVEMENTS IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable HBASE-1760 Cleanup TODOs in HTable

View File

@ -47,9 +47,9 @@ import com.sun.jersey.spi.container.servlet.ServletContainer;
import junit.framework.TestCase; import junit.framework.TestCase;
public class MiniClusterTestCase extends TestCase { public class MiniClusterTestBase extends TestCase {
private static final Log LOG = private static final Log LOG =
LogFactory.getLog(MiniClusterTestCase.class); LogFactory.getLog(MiniClusterTestBase.class);
public static final String MIMETYPE_BINARY = "application/octet-stream"; public static final String MIMETYPE_BINARY = "application/octet-stream";
public static final String MIMETYPE_JSON = "application/json"; public static final String MIMETYPE_JSON = "application/json";

View File

@ -25,7 +25,7 @@ import java.io.IOException;
import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.client.HTable; import org.apache.hadoop.hbase.client.HTable;
public class Test00MiniCluster extends MiniClusterTestCase { public class Test00MiniCluster extends MiniClusterTestBase {
public void testDFSMiniCluster() { public void testDFSMiniCluster() {
assertNotNull(dfsCluster); assertNotNull(dfsCluster);
} }

View File

@ -44,7 +44,7 @@ import org.apache.hadoop.hbase.stargate.model.CellSetModel;
import org.apache.hadoop.hbase.stargate.model.RowModel; import org.apache.hadoop.hbase.stargate.model.RowModel;
import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Bytes;
public class TestRowResource extends MiniClusterTestCase { public class TestRowResource extends MiniClusterTestBase {
private static final String TABLE = "TestRowResource"; private static final String TABLE = "TestRowResource";
private static final String COLUMN_1 = "a:"; private static final String COLUMN_1 = "a:";
private static final String COLUMN_2 = "b:"; private static final String COLUMN_2 = "b:";

View File

@ -47,7 +47,7 @@ import org.apache.hadoop.hbase.stargate.model.RowModel;
import org.apache.hadoop.hbase.stargate.model.ScannerModel; import org.apache.hadoop.hbase.stargate.model.ScannerModel;
import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Bytes;
public class TestScannerResource extends MiniClusterTestCase { public class TestScannerResource extends MiniClusterTestBase {
private static final String TABLE = "TestScannerResource"; private static final String TABLE = "TestScannerResource";
private static final String COLUMN_1 = "a:"; private static final String COLUMN_1 = "a:";
private static final String COLUMN_2 = "b:"; private static final String COLUMN_2 = "b:";

View File

@ -36,7 +36,7 @@ import org.apache.hadoop.hbase.stargate.model.TableSchemaModel;
import org.apache.hadoop.hbase.stargate.model.TestTableSchemaModel; import org.apache.hadoop.hbase.stargate.model.TestTableSchemaModel;
import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Bytes;
public class TestSchemaResource extends MiniClusterTestCase { public class TestSchemaResource extends MiniClusterTestBase {
private Client client; private Client client;
private JAXBContext context; private JAXBContext context;
private HBaseAdmin admin; private HBaseAdmin admin;

View File

@ -32,7 +32,7 @@ import org.apache.hadoop.hbase.stargate.client.Response;
import org.apache.hadoop.hbase.stargate.model.StorageClusterStatusModel; import org.apache.hadoop.hbase.stargate.model.StorageClusterStatusModel;
import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Bytes;
public class TestStatusResource extends MiniClusterTestCase { public class TestStatusResource extends MiniClusterTestBase {
private static final byte[] ROOT_REGION_NAME = Bytes.toBytes("-ROOT-,,0"); private static final byte[] ROOT_REGION_NAME = Bytes.toBytes("-ROOT-,,0");
private static final byte[] META_REGION_NAME = Bytes.toBytes(".META.,,1"); private static final byte[] META_REGION_NAME = Bytes.toBytes(".META.,,1");

View File

@ -41,7 +41,7 @@ import org.apache.hadoop.hbase.stargate.model.TableListModel;
import org.apache.hadoop.hbase.stargate.model.TableRegionModel; import org.apache.hadoop.hbase.stargate.model.TableRegionModel;
import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Bytes;
public class TestTableResource extends MiniClusterTestCase { public class TestTableResource extends MiniClusterTestBase {
private static String TABLE = "TestTableResource"; private static String TABLE = "TestTableResource";
private static String COLUMN = "test:"; private static String COLUMN = "test:";

View File

@ -37,7 +37,7 @@ import org.apache.hadoop.hbase.util.Bytes;
import com.sun.jersey.spi.container.servlet.ServletContainer; import com.sun.jersey.spi.container.servlet.ServletContainer;
public class TestVersionResource extends MiniClusterTestCase { public class TestVersionResource extends MiniClusterTestBase {
private static final Log LOG = private static final Log LOG =
LogFactory.getLog(TestVersionResource.class); LogFactory.getLog(TestVersionResource.class);

View File

@ -25,10 +25,10 @@ import org.apache.hadoop.hbase.HTableDescriptor;
import org.apache.hadoop.hbase.client.HBaseAdmin; import org.apache.hadoop.hbase.client.HBaseAdmin;
import org.apache.hadoop.hbase.client.HTable; import org.apache.hadoop.hbase.client.HTable;
import org.apache.hadoop.hbase.client.Put; import org.apache.hadoop.hbase.client.Put;
import org.apache.hadoop.hbase.stargate.MiniClusterTestCase; import org.apache.hadoop.hbase.stargate.MiniClusterTestBase;
import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.Bytes;
public class TestHTableAuthenticator extends MiniClusterTestCase { public class TestHTableAuthenticator extends MiniClusterTestBase {
static final String UNKNOWN_TOKEN = "00000000000000000000000000000000"; static final String UNKNOWN_TOKEN = "00000000000000000000000000000000";
static final String ADMIN_TOKEN = "e998efffc67c49c6e14921229a51b7b3"; static final String ADMIN_TOKEN = "e998efffc67c49c6e14921229a51b7b3";

View File

@ -76,8 +76,6 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<forkMode>always</forkMode> <forkMode>always</forkMode>
<argLine>-Xmx512m</argLine>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<excludes> <excludes>
<exclude>**/SoftValueSortedMapTest.java</exclude> <exclude>**/SoftValueSortedMapTest.java</exclude>
<exclude>**/*$*</exclude> <exclude>**/*$*</exclude>

View File

@ -259,6 +259,10 @@
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version> <version>2.5</version>
<configuration>
<argLine>-Xmx512m</argLine>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>