Commit Graph

11700 Commits

Author SHA1 Message Date
Michael Stack 97f0bea9d0 HBASE-28 thrift put/mutateRow methods need to throw IllegalArgument exceptions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619638 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 21:08:12 +00:00
Jim Kellerman 1bfcf5a813 HBASE-410 Speed up the test suite (make test timeout 5 minutes instead of 15.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619635 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 20:57:23 +00:00
Michael Stack 51707644ed HBASE-19 CountingBloomFilter can overflow its storage
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619620 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 20:10:40 +00:00
Jim Kellerman bfce24ce25 HBASE-35 Fix javadoc warnings introduced by patch
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619618 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 20:09:29 +00:00
Michael Stack d400b2d941 HBASE-409 Add build path to svn:ignore list
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619617 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 20:08:29 +00:00
Michael Stack 5f63bc11eb HBASE-35 Make BatchUpdate public in the API
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619605 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 19:51:03 +00:00
Michael Stack 56380dab8a HBASE-288 Add in-memory caching of data
(Recommit.  We'd backed it out when it was HADOOP-1398)
This commit includes updating version from 0.1.0-dev to 0.2.0-dev
and an update of the hadoop lib to move it post 0.16.0 branch.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619526 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 17:49:15 +00:00
Jim Kellerman 0fdd555ace HBASE-415 Rewrite leases to use DelayedBlockingQueue instead of polling
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619288 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 06:35:09 +00:00
Michael Stack 096ed2cf18 HBASE-403 Fix build after move of hbase in svn
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619232 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 00:38:49 +00:00
Michael Stack bd2275a571 HBASE-403 Fix build after move of hbase in svn
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618812 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 22:46:24 +00:00
Michael Stack 0a70afc862 HADOOP-403 Fix build after move of hbase in svn
Create pid dir if it doesn't exist already.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618800 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 22:24:11 +00:00
Michael Stack 415c16c1ef HADOOP-403 Fix build after move of hbase in svn
Fix webapps on CLASSPATH


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618769 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:33:53 +00:00
Michael Stack 24b065cc91 HADOOP-403 Fix build after move of hbase in svn
Removed mention of all of the HADOOP_* environment variables. Made
HBASE_* equivs.  hbase-env.sh is not near dup of hadoop-env.sh.
Removed options on scripts that used take both hbase and hadoop
conf and home. Now we just work w/ hbase.  Fixed logging (logs
dir now under hbase).


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618765 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:09:24 +00:00
Michael Stack 6aacbfb18d HBASE-403 Fix build after move of hbase in svn
Make it so scripts basically work again.  Make up a log4j
basic properites file (currently broke).
M    trunk/conf/hbase-env.sh
    Put a JAVA_HOME in here.  Need to set it here now instead of up in hadoop-env
A    trunk/conf/log4j.properties
    Basic log4j for hbase.
M    trunk/bin/hbase
    Made pointers up into hadoop instead point to hbase substitutions.
M    trunk/bin/start-hbase.sh
    Remove wait on dfs for moment.  Need to figure how to do it now
    we're detached (Besides there is talk that we'd acually have the
    servers come up even if they can't talk to dfs).


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618560 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 06:15:44 +00:00
Michael Stack c32dd81120 HBASE-403 Fix build after move of hbase in svn
HBASE-408 Add .classpath and .project to svn:ignore list
M .
    Add .classpath and .project to svn:ignore.
D  src/java/org/apache/hadoop/hbase/package.html
    Moved it to src/java/overview.html
A  src/java/overview.html
    Added.  Used to be package.html down in src/java/org/apache/hadoop/hbase
M build.xml
    Add javadoc title, fix up package target, add tar target.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618553 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 05:44:48 +00:00
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