See http://hudson.zones.apache.org/hudson/job/HBase-Patch/103/changes
Changes:
[jimk] HBASE-607 MultiRegionTable.makeMultiRegionTable is not deterministic
enough for regression tests
M MultiRegionTable
Make deterministic by creating the regions directly and not rely on
the asychronous nature of cache flushes, compactions and splits. The
regions are small, but the point of this class is to generate a
table with multiple regions so we can test map / reduce, region
onlining / offlining, etc.
Removed PUNCTUATION from row keys. Not sure why it was there in the
first place, other than perhaps to verify that a row key can have
punctuation in it provided it is not the first character. This will
become moot when row keys change from Text to byte[] anyways.
Incorporate repeated code
{code}
region.close();
region.getLog().closeAndDelete();
{code}
into private method closeRegionAndDeleteLog
M TestSplit
extends HBaseClusterTestCase instead of MultiRegionTable. It didn't
use the output of MultiRegionTable, so all that work was just wasted
by this test.
M TestTableIndex, TestTableMapReduce
The only two tests that currently use MultiRegionTable. Minor
modifications needed because MultiRegionTable now handles starting
and stopping of the mini-DFS cluster. With the new MultiRegionTable
class, if these tests fail now it will be because something they are
testing has regressed and not because MultiRegionTable failed.
------------------------------------------
started
Updating https://svn.apache.org/repos/asf/hadoop/hbase/trunk
U CHANGES.txt
U src/test/org/apache/hadoop/hbase/regionserver/TestSplit.java
U src/test/org/apache/hadoop/hbase/MultiRegionTable.java
U src/test/org/apache/hadoop/hbase/mapred/TestTableIndex.java
U src/test/org/apache/hadoop/hbase/mapred/TestTableMapReduce.java
At revision 652602
[trunk] $ ant -Dtest.junit.output.format=xml -Dtest.output=yes clean jar test
package tar
Buildfile: build.xml
clean:
[delete] Deleting directory
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build
init:
[mkdir] Created dir:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build
[mkdir] Created dir:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/classes
[mkdir] Created dir:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/test
[mkdir] Created dir:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/examples
[mkdir] Created dir:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/webapps
[copy] Copying 8 files to
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/webapps
[mkdir] Created dir:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/lib
[copy] Copying 29 files to
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/lib
[mkdir] Created dir:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/conf
[copy] Copying 5 files to
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/conf
[mkdir] Created dir:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/bin
[copy] Copying 7 files to
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/bin
jspc:
javacc:
compile:
[javac] Compiling 198 source files to
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
jar:
[copy] Copying 1 file to
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/classes
[jar] Building jar:
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/hbase-0.2.0-dev.jar
init:
[copy] Copying 2 files to
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build/webapps
jspc:
BUILD FAILED
/zonestorage/hudson/home/hudson/hudson/jobs/HBase-Patch/workspace/trunk/build.xml:178:
java.lang.ExceptionInInitializerError
Total time: 15 seconds
ERROR: No artifacts found that match the file pattern "trunk/build/*.tar.gz".
Configuration error?
ERROR: 'trunk/build/*.tar.gz' doesn't match anything: 'trunk' exists but not
'trunk/build/*.tar.gz'
Recording test results