Commit Graph

4616 Commits

Author SHA1 Message Date
Zhihong Yu f4ef4485a7 HBASE-4610 Addendum removes break statement
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211706 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 23:38:06 +00:00
Zhihong Yu 7a36cab817 HBASE-4610 Port HBASE-3380 (Master failover can split logs of live servers) to 92/trunk
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211695 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 22:59:06 +00:00
Michael Stack 7af49fc56d HBASE-4712 Document rules for writing tests; Addendum via Jesse Yates
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211652 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:48:30 +00:00
Zhihong Yu bb7f82ac71 HBASE-4927 Addendum fixes case where start key is empty and end key is empty
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211632 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:05:59 +00:00
Michael Stack 888fad5f0d HBASE-4968 Add to troubleshooting workaround for direct buffer oome's.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211254 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 01:18:24 +00:00
Michael Stack f349a155af Add how to build against hadoop 0.22/0.23
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211246 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 00:36:18 +00:00
Michael Stack dc104e7669 HBASE-4936 Cached HRegionInterface connections crash when getting UnknownHost exceptions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211232 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 23:48:13 +00:00
Michael Stack 83107d86d5 HBASE-4937 Error in Quick Start Shell Exercises
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211227 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 23:26:14 +00:00
Michael Stack bfa4e138c7 HBASE-4376 Document mutual authentication between HBase and Zookeeper using SASL
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211224 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 23:13:37 +00:00
Michael Stack 1f176022fe HBASE-4927 CatalogJanior:SplitParentFirstComparator doesn't sort as expected, for the last region when the endkey is empty
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211204 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 22:15:11 +00:00
Michael Stack cb4320232d HBASE-4729 Clash between region unassign and splitting kills the master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211197 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 22:02:10 +00:00
Michael Stack ff8e1a53c5 HBASE-4712 Document rules for writing tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211187 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 21:48:56 +00:00
Michael Stack 1f8162e80c HBASE-4964 Add builddate, make less sections in toc, and add header and footer customizations
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210795 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 06:43:54 +00:00
Nicolas Spiegelberg e1bfdf16a4 HBASE-4440 add an option to presplit table to PerformanceEvaluation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210752 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 02:34:00 +00:00
Nicolas Spiegelberg 9498f9baf3 HBASE-4860 RegionSplitter Should Allow NSFRE during logical split verification
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210699 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 23:14:31 +00:00
Nicolas Spiegelberg 806ccf03dd HBASE-4932 Block cache can be mistakenly instantiated by tools
Summary: disable block cache for HFile writers created for tools

Test Plan:
ran the following tests that call getWriterFactory

test/java/org/apache/hadoop/hbase/io/hfile/TestHFile.java
test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlockIndex.java
test/java/org/apache/hadoop/hbase/io/hfile/TestHFilePerformance.java
test/java/org/apache/hadoop/hbase/io/hfile/TestHFileSeek.java
test/java/org/apache/hadoop/hbase/io/hfile/TestReseekTo.java
test/java/org/apache/hadoop/hbase/io/hfile/TestSeekTo.java
test/java/org/apache/hadoop/hbase/io/TestHalfStoreFileReader.java
test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java
test/java/org/apache/hadoop/hbase/regionserver/TestHRegionServerBulkLoad.java
test/java/org/apache/hadoop/hbase/regionserver/wal/TestWALReplay.java

Reviewers: dhruba, jgray, nspiegelberg, JIRA, mbautin

Reviewed By: nspiegelberg

CC: HBase Diffs Facebook Group, mbautin, khemani, nspiegelberg

Differential Revision: 573

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210697 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 23:01:48 +00:00
Doug Meil 2e4ae76616 hbase-4959. site.xml, adding left-hand nav for videos/pres. book.xml, nit capitalization fix.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210645 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 21:20:40 +00:00
Michael Stack 7ba1306e5b HBASE-4847 Activate single jvm for small tests on jenkins
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210643 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 21:20:04 +00:00
Nicolas Spiegelberg b955fa6c32 Ability to calculate the blockcache hit ratio for the last few minutes
Summary:
The metric blockcacheHitRatio is since the beginning of time. It would be nice
to calculate the block cache hit ratio for the past few minutes.

This patch remembers the blockcacheHitRatio for the last 5 periods by default.

Test Plan: unit test attached.

Reviewers: jgray, khemani, nspiegelberg, JIRA

Reviewed By: nspiegelberg

CC: nspiegelberg, dhruba

Differential Revision: 585

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210640 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 21:17:47 +00:00
Doug Meil c1ac1f4d80 hbase-4958 book.xml, troubleshooting.xml, external_apis.xml several cleanup items.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210608 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 20:24:18 +00:00
Andrew Kyle Purtell d9f39151c5 HBASE-4944. Optionally verify bulk loaded HFiles
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210311 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 02:20:55 +00:00
Zhihong Yu 5021d29ef4 HBASE-4942 HMaster is unable to start of HFile V1 is used (Honghua Zhu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210303 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 01:11:10 +00:00
Doug Meil 1a2ea74705 hbase-4950. book.xml, corrected BigTable link throughout paper (it was actually producing 404 from Google Labs)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210290 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 00:13:12 +00:00
Doug Meil c7d0ae2692 hbase-4949. book.xml, more links for "more information about hbase"
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210216 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 20:56:20 +00:00
larsh 8fe805ce29 HBASE-4945 NPE in HRegion.bulkLoadHFiles (Andrew P and Lars H)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210212 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 20:54:37 +00:00
Doug Meil f547de07c8 hbase-4948. book.xml, adding more links to resources in appendix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210189 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 19:57:09 +00:00
Doug Meil ca79114d4c hbase-4943. book updates (more FAQ, add to appendix for other resources)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210010 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 21:28:58 +00:00
Doug Meil 73b59715e9 hbase-4941. Fixed mis-spelling of 'configuration' in 2 places (configuration.xml and hbase-default.xml)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1209912 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 13:53:48 +00:00
Doug Meil 7df968e09a hbase-4939 book.xml (architecture/faq), troubleshooting.xml (created resources section)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1209688 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 20:57:35 +00:00
Doug Meil b3d87416d2 hbase-4930. home page (index.html) reformat.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1209684 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 20:40:51 +00:00
Michael Stack 5a0f0313b9 HBASE-4899 Region would be assigned twice easily with continually killing server and moving region in testing environment
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1209367 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 05:55:25 +00:00
larsh 31468fa7ac HBASE-4903 addendum for security build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1209365 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 05:41:55 +00:00
Doug Meil dbb016a527 hbase-4928. overhauled FAQ in book.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1209233 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 20:46:53 +00:00
Michael Stack 1e2757e33b HBASE-4918 HTablePool Constructor may cause unintended behavior
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1209210 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 19:44:53 +00:00
larsh 9581eea546 HBASE-4903 Return a result from RegionObserver.preIncrement (Daniel Gómez Ferro)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208952 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 05:06:24 +00:00
karthik 50de126b79 HBASE-4463 [jira] Run more aggressive compactions during off peak hours
Summary:
HBASE-4463 Run more aggressive compactions during off peak hours

Increases the compact selection ratio from 1.3 to 5 at off-peak hours. This
will help utilize the available iops and bandwidth to decrease average num of
files per store. Only one such aggressive compaction is queued per store at any
point.

The number of iops on the disk and the top of the rack bandwidth utilization at
off peak hours is much lower than at peak hours depending on the application
usage pattern. We can utilize this knowledge to improve the performance of the
HBase cluster by increasing the compact selection ratio to a much larger value
during off-peak hours than otherwise - increasing hbase.hstore.compaction.ratio
(1.2 default) to hbase.hstore.compaction.ratio.offpeak (5 default). This will
help reduce the average number of files per store.

Test Plan: Started running the unit tests.

Reviewers: JIRA, Kannan, nspiegelberg, mbautin, stack

Reviewed By: nspiegelberg

CC: nspiegelberg, tedyu, lhofhansl, Karthik

Differential Revision: 471

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208885 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 23:42:21 +00:00
karthik a9ca67a2c5 [jira] [HBASE-4867] A tool to merge configuration files
Summary: With our cluster configuration setup it would be good to have a tool
that would merge HBase configuration files so that files appearing later in the
list would override properties specified in earlier files. This way we could
merge an application-specific configuration file with a cluster-specific
configuration file (with the latter overriding the former) and produce a single
HBase configuration file to install on the cluster.

Test Plan: Run the tool on two configuration files (common and
cluster-specific). Use the resulting configuration on a dev cluster.

Reviewers: todd, Karthik, tedyu, stack, JIRA

Reviewed By: Karthik

CC: Karthik, mbautin, todd

Differential Revision: 537

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208832 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 22:12:22 +00:00
Todd Lipcon 54e463f519 HBASE-4820. Distributed log splitting coding enhancement to make it easier to understand, no semantics change. Contributed by Jimmy Xiang.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208801 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 21:28:36 +00:00
Doug Meil b290b43264 hbase-4906 book.xml - repatch of MR to RDBMS example. fixed typo missed in first patch.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208671 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 18:34:58 +00:00
Doug Meil c4078275ea hbase-4906. book.xml. added MR summary to RDBMS section in MR chapter.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208654 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 18:30:10 +00:00
Doug Meil 338e4d602c hbase-4905. book.xml (keyvalue types), ops_mgt.xml (metrics corrections)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208495 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 16:32:58 +00:00
Doug Meil d11ddc0622 hbase-4898. book.xml (1 correction in no-reducer summary)
troubleshooting.xml 1 addition for MapReduce related documentation.

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208230 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 03:08:14 +00:00
Doug Meil a0cce57e46 hbase-4897 book.xml (clarified scan example), troubleshooting.xml (mr example)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208225 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 02:48:58 +00:00
karthik 99263fecfc HBASE-4721 Retain Delete Markers after Major Compaction
Summary: major compactions *try* to retain delete markers for the configured
time interval

Test Plan:
added a new test testDeleteMarkerLongevity() in TestStoreScanner

following tests passed
TestMemStore
TestStoreScanner
TestQueryMatcher
TestCompaction

Reviewers: jgray, dhruba, lhofhansl, Karthik, nspiegelberg

Reviewed By: nspiegelberg

CC: HBase Diffs Facebook Group, lhofhansl, khemani, nspiegelberg

Differential Revision: 321

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208055 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 20:31:57 +00:00
Doug Meil a10fb0ccad hbase-4892 book.xml, ops_mgt.xml book changes.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208028 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 19:08:17 +00:00
Michael Stack 8db322ebdd HBASE-4889 HRegionInfo.isMetaTable() should be true for -ROOT- regions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1208006 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 18:29:31 +00:00
Michael Stack e0a283fa3c HBASE-4885 Building against Hadoop 0.23 uses out-of-date MapReduce artifacts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1207763 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 06:04:17 +00:00
Michael Stack 44fd83732d HBASE-4884 Allow environment overrides for various HBase processes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1207760 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 05:54:59 +00:00
larsh 01652cecb9 HBASE-4886 - truncate fails in HBase shell (Lars H)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1207651 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 22:12:25 +00:00
Michael Stack 01c389c879 HBASE-4883 TestCatalogTracker failing for me on ubuntu
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1207639 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 21:49:58 +00:00