Commit Graph

385 Commits

Author SHA1 Message Date
Jim Kellerman 9a88155bf0 2008/02/04 HBase is now a subproject of Hadoop. The first HBase release as a subproject will be release 0.1.0 which will be equivalent to the version of HBase included in Hadoop 0.16.0. In order to accomplish this, the HBase portion of HBASE-288 (formerly HADOOP-1398) has been backed out. Once 0.1.0 is frozen (depending mostly on changes to infrastructure due to becoming a sub project instead of a contrib project), this patch will re-appear on HBase trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618518 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 02:36:26 +00:00
Michael Stack 39bff3580b HBASE-403 Fix build after move of hbase in svn
A  lib/commons-httpclient-3.0.1.jar
M src/test/org/apache/hadoop/hbase/MiniHBaseCluster.java
    If not null, run shutdown of hbase cluster.
A src/java/org/apache/hadoop/hbase/util/VersionInfo.java
A src/java/org/apache/hadoop/hbase/VersionAnnotation.java
A src/saveVersion.sh
    Bring down the hadoop version publishing system.
M src/java/org/apache/hadoop/hbase/util/InfoServer.java
    Print out problematic path.
M build.xml
    Need to put the hadoop jar in front of hbase else
    complaints that dfs webapps, etc., can't be found.
    (Need to fix HttpStatusServer in hadoop).


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618517 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 02:32:22 +00:00
Michael Stack d20233e87b HBASE-403 Fix build after move of hbase in svn
Make tests actually succeed
M  src/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
  Throw exception w/ better message when we can't find conf files.
M  build.xml
    (lib.dir, conf.dir): Add defines.  Add conf to CLASSPATH


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618471 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 22:30:08 +00:00
Michael Stack 24a864704d HBASE-403 Fix build after move of hbase in svn
Removed vestiges of HADOOP-1398, temporarily backed-out.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618457 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 21:56:34 +00:00
Michael Stack c6b29235e7 HBASE-403 Fix build after move of hbase in svn
Part 1: jar and test targets works as do javacc, clean.
TODO: Package needs clean up.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618453 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 21:48:13 +00:00
Owen O'Malley 7946db69f7 Making hbase a subproject
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618357 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 18:14:02 +00:00
Owen O'Malley 8ce7b9be63 Making hbase a subproject
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/hbase@618355 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 18:12:17 +00:00
Thomas White 5d2ec2506d HADOOP-1398. Add HBase in-memory block cache. Contributed by Tom White.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@618347 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 17:54:35 +00:00
Jim Kellerman 678403c4fe HADOOP-2773 Master marks region offline when it is recovering from a region server death
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617767 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 07:19:25 +00:00
Michael Stack e9230096ee HADOOP-2599 Some minor improvements to changes in HADOOP-2443
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617725 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 00:53:48 +00:00
Michael Stack b7d932f4dc HADOOP-2693 NPE in getClosestRowBefore
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617724 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 00:51:38 +00:00
Michael Stack 3e351091b6 HADOOP-2731 Under load, regions become extremely large and eventually cause
region servers to become unresponsive


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617720 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 00:36:53 +00:00
Jim Kellerman 5a033b71f4 HADOOP-2555 Refactor the HTable#get and HTable#getRow methods to avoid repetition of retry-on-failure logic (thanks to Peter Dolan and Bryan Duxbury)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617670 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 22:01:39 +00:00
Thomas White a1edb70b86 HADOOP-1398. Add in-memory caching of data.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617508 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 14:42:57 +00:00
Jim Kellerman 956f5ba002 HADOOP-2750 Deprecated methods startBatchUpdate, commitBatch, abortBatch, and renewLease have been removed from HTable (Bryan Duxbury via Jim Kellerman)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617246 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 21:37:14 +00:00
Jim Kellerman d70a0b0a7c HADOOP-2750 Deprecated methods startBatchUpdate, commitBatch, abortBatch, and renewLease have been removed from HTable
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617245 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 21:33:51 +00:00
Jim Kellerman 5a29fc263d HADOOP-2555 Give credit where credit is due.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617204 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:55:35 +00:00
Jim Kellerman 234d8552cf HADOOP-2555 Refactor the HTable#get and HTable#getRow methods to avoid repetition of retry-on-failure logic
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617197 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:36:28 +00:00
Michael Stack 4cb3e64bff HADOOP-2718 Copy Constructor HBaseConfiguration(Configuration) will override hbase
configurations if argumant is not an instance of HBaseConfiguration (Second version).


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617180 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 18:28:48 +00:00
Michael Stack d374f82519 HADOOP-2753 Back out 2718; programmatic config works but
hbase*xml conf is overridden


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@617025 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 07:03:33 +00:00
Nigel Daley 6e22739796 HADOOP-2641. Added Apache license headers to 95 files. Contributed by Nigel Daley
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@616659 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 06:51:01 +00:00
Jim Kellerman 72eca05e79 Delete empty file: src/contrib/hbase/src/java/org/apache/hadoop/hbase/mapred/TableOutputCollector.java
per Nigel Daley


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@616652 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 06:31:16 +00:00
Michael Stack de2e8d5028 HADOOP-2631 2443 breaks HTable.getStartKeys when there is more than one table
or table you are enumerating isn't the first table


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@616505 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 20:06:19 +00:00
Michael Stack f0da1b58aa HADOOP-2718 Copy Constructor HBaseConfiguration(Configuration) will override
hbase configurations if argumant is not an instance of HBaseConfiguration.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@616492 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 19:30:22 +00:00
Jim Kellerman d929e0c34a HADOOP-2722 Prevent unintentional thread exit in region server and master
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@616298 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:18:18 +00:00
Michael Stack 2f06f08d95 HADOOP-2675 Options not passed to rest/thrift
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@616163 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 04:46:34 +00:00
Michael Stack 73d71a09a8 HADOOP-2712 under load, regions won't split
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@615413 13f79535-47bb-0310-9956-ffa450edef68
2008-01-26 00:38:15 +00:00
Michael Stack a8a0d00a4a HADOOP-2706 HBase Shell crash
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@615248 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 15:45:04 +00:00
Michael Stack 0d8c1bfdfc HADOOP-2688 IllegalArgumentException processing a shutdown stops server
going down and results in millions of lines of output


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@614796 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 05:13:22 +00:00
Doug Cutting 04bf0f5336 Moving trunk to new location.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@614597 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 18:03:30 +00:00
Michael Stack 52b268a09c HADOOP-2686 Removed tables stick around in .META.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@614588 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 17:43:22 +00:00
Jim Kellerman af3ca76470 HADOOP-2668 Documentation and improved logging so fact that hbase now requires migration comes as less of a surprise
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@614413 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 03:24:32 +00:00
Michael Stack 6487762f94 HADOOP-2650 Remove Writables.clone and use WritableUtils.clone from
hadoop instead
HADOOP-2584 Web UI displays an IOException instead of the Tables



git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@613923 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 16:21:46 +00:00
Jim Kellerman 5ea6853f90 HADOOP-2643 Make migration tool smarter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@613446 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 20:20:15 +00:00
Jim Kellerman ad1e1f9ca9 HADOOP-2525 Master changes to prevent looping
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@613069 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 06:17:23 +00:00
Jim Kellerman d3a9d1d745 HADOOP-2525 Same 2 lines repeated 11 million times in HMaster log upon HMaster shutdown
HADOOP-2616 hbase not spliting when the total size of region reaches max region size * 1.5


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@613062 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 06:11:06 +00:00
Michael Stack 40ed226cf1 HADOOP-2621 Memcache flush flushing every 60 secs with out
considering the max memcache size


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@613010 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 23:38:09 +00:00
Michael Stack 40b4c04da8 HADOOP-2619 Compaction errors after a region splits
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612995 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 22:35:24 +00:00
Michael Stack 74df13a369 HADOOP-2629 Shell digests garbage without complaint
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612931 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 19:08:08 +00:00
Michael Stack 246d4b80ab HADOOP-2545 hbase rest server should be started with hbase-daemon.sh
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612913 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 18:19:31 +00:00
Michael Stack 5f5472e631 HADOOP-2600 Performance: HStore.getRowKeyAtOrBefore should use
MapFile.Reader#getClosest (before)


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612614 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 23:04:28 +00:00
Michael Stack f8269a1e47 HADOOP-2493 hbase will split on row when the start and end row
is the same cause data loss


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612500 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 16:26:24 +00:00
Michael Stack 615fe2bbc7 HADOOP-2592 Scanning, a region can let out a row that its not supposed to have
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612314 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 23:42:31 +00:00
Jim Kellerman b78012df61 HADOOP-2587 Splits blocked by compactions cause region to be offline for duration of compaction.
Patch verified by Billy Pearson


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612161 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 17:20:06 +00:00
Michael Stack ea6f5071da HADOOP-2579 initializing a new HTable object against a nonexistent table
throws a NoServerForRegionException instead of a TableNotFoundException
when a different table has been created previously


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612141 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 15:51:29 +00:00
Michael Stack 7d09aec4f8 HADOOP-2598 Remove chatty debug logging from 2443 patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612025 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 05:58:57 +00:00
Michael Stack ff4aac71c3 HADOOP-2589 Change an classes/package name from shell to hql
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612016 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 05:14:34 +00:00
Jim Kellerman 7a8ebbcefb HADOOP-2558 modified CHANGES.txt to indicate that this is an incompatible change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@611970 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 23:27:51 +00:00
Dhruba Borthakur 830df67181 HADOOP-2398. Additional instrumentation for NameNode and RPC server.
Add support for accessing instrumentation statistics via JMX.
(Sanjay radia via dhruba)



git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@611906 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 19:33:01 +00:00
Jim Kellerman 728cb9c5df HADOOP-2558 org.onelab.filter.BloomFilter class uses 8X the memory it should be using
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@611734 13f79535-47bb-0310-9956-ffa450edef68
2008-01-14 08:09:11 +00:00