2007-05-18 17:19:08 -04:00
|
|
|
HBase Change Log
|
|
|
|
|
|
|
|
|
|
|
|
Trunk (unreleased changes)
|
2008-01-13 00:24:14 -05:00
|
|
|
|
2007-10-15 14:42:28 -04:00
|
|
|
INCOMPATIBLE CHANGES
|
2007-12-03 17:06:07 -05:00
|
|
|
HADOOP-2056 A table with row keys containing colon fails to split regions
|
|
|
|
HADOOP-2079 Fix generated HLog, HRegion names
|
2008-01-02 19:06:38 -05:00
|
|
|
HADOOP-2495 Minor performance improvements: Slim-down BatchOperation, etc.
|
|
|
|
HADOOP-2506 Remove the algebra package
|
2008-01-03 22:52:53 -05:00
|
|
|
HADOOP-2519 Performance improvements: Customized RPC serialization
|
2008-01-09 17:51:04 -05:00
|
|
|
HADOOP-2478 Restructure how HBase lays out files in the file system (phase 1)
|
|
|
|
(test input data)
|
2008-01-12 20:36:08 -05:00
|
|
|
HADOOP-2478 Restructure how HBase lays out files in the file system (phase 2)
|
|
|
|
Includes migration tool org.apache.hadoop.hbase.util.Migrate
|
2008-01-14 18:27:51 -05:00
|
|
|
HADOOP-2558 org.onelab.filter.BloomFilter class uses 8X the memory it should
|
|
|
|
be using
|
2007-10-15 14:42:28 -04:00
|
|
|
|
|
|
|
NEW FEATURES
|
2007-10-16 15:11:07 -04:00
|
|
|
HADOOP-2061 Add new Base64 dialects
|
2007-10-25 12:12:51 -04:00
|
|
|
HADOOP-2084 Add a LocalHBaseCluster
|
2007-11-30 15:40:31 -05:00
|
|
|
HADOOP-2068 RESTful interface (Bryan Duxbury via Stack)
|
2007-12-03 17:06:07 -05:00
|
|
|
HADOOP-2316 Run REST servlet outside of master
|
2007-12-07 18:26:30 -05:00
|
|
|
(Bryan Duxbury & Stack)
|
2007-12-07 19:39:32 -05:00
|
|
|
HADOOP-1550 No means of deleting a'row' (Bryan Duxbuery via Stack)
|
2007-12-08 23:49:58 -05:00
|
|
|
HADOOP-2384 Delete all members of a column family on a specific row
|
|
|
|
(Bryan Duxbury via Stack)
|
2007-12-11 12:07:12 -05:00
|
|
|
HADOOP-2395 Implement "ALTER TABLE ... CHANGE column" operation
|
|
|
|
(Bryan Duxbury via Stack)
|
2008-01-05 23:43:54 -05:00
|
|
|
HADOOP-2240 Truncate for hbase (Edward Yoon via Stack)
|
2008-01-10 15:34:59 -05:00
|
|
|
HADOOP-2389 Provide multiple language bindings for HBase (Thrift)
|
2008-01-12 23:46:44 -05:00
|
|
|
(David Simpson via Stack)
|
2007-10-15 14:42:28 -04:00
|
|
|
|
|
|
|
OPTIMIZATIONS
|
2007-12-21 16:58:25 -05:00
|
|
|
HADOOP-2479 Save on number of Text object creations
|
2007-12-27 17:26:27 -05:00
|
|
|
HADOOP-2485 Make mapfile index interval configurable (Set default to 32
|
|
|
|
instead of 128)
|
2008-01-13 15:10:22 -05:00
|
|
|
HADOOP-2553 Don't make Long objects calculating hbase type hash codes
|
|
|
|
HADOOP-2377 Holding open MapFile.Readers is expensive, so use less of them
|
|
|
|
HADOOP-2407 Keeping MapFile.Reader open is expensive: Part 2
|
|
|
|
HADOOP-2533 Performance: Scanning, just creating MapWritable in next
|
|
|
|
consumes >20% CPU
|
2008-01-14 01:54:28 -05:00
|
|
|
HADOOP-2443 Keep lazy cache of regions in client rather than an
|
|
|
|
'authoritative' list (Bryan Duxbury via Stack)
|
2008-01-16 18:04:28 -05:00
|
|
|
HADOOP-2600 Performance: HStore.getRowKeyAtOrBefore should use
|
|
|
|
MapFile.Reader#getClosest (before)
|
|
|
|
(Bryan Duxbury via Stack)
|
2007-10-15 14:42:28 -04:00
|
|
|
|
|
|
|
BUG FIXES
|
2007-10-15 17:05:23 -04:00
|
|
|
HADOOP-2059 In tests, exceptions in min dfs shutdown should not fail test
|
|
|
|
(e.g. nightly #272)
|
2007-10-16 20:09:55 -04:00
|
|
|
HADOOP-2064 TestSplit assertion and NPE failures (Patch build #952 and #953)
|
2007-10-30 15:08:23 -04:00
|
|
|
HADOOP-2124 Use of `hostname` does not work on Cygwin in some cases
|
2007-11-01 11:01:43 -04:00
|
|
|
HADOOP-2083 TestTableIndex failed in #970 and #956
|
2007-11-01 18:49:08 -04:00
|
|
|
HADOOP-2109 Fixed race condition in processing server lease timeout.
|
2007-11-01 20:43:07 -04:00
|
|
|
HADOOP-2137 hql.jsp : The character 0x19 is not valid
|
2007-11-03 21:47:24 -04:00
|
|
|
HADOOP-2109 Fix another race condition in processing dead servers,
|
|
|
|
Fix error online meta regions: was using region name and not
|
2007-11-05 00:06:35 -05:00
|
|
|
startKey as key for map.put. Change TestRegionServerExit to
|
|
|
|
always kill the region server for the META region. This makes
|
|
|
|
the test more deterministic and getting META reassigned was
|
|
|
|
problematic.
|
2007-11-06 15:47:35 -05:00
|
|
|
HADOOP-2155 Method expecting HBaseConfiguration throws NPE when given Configuration
|
2007-11-06 15:48:27 -05:00
|
|
|
HADOOP-2156 BufferUnderflowException for un-named HTableDescriptors
|
2007-11-09 16:57:24 -05:00
|
|
|
HADOOP-2161 getRow() is orders of magnitudes slower than get(), even on rows
|
|
|
|
with one column (Clint Morgan and Stack)
|
2007-11-13 18:38:21 -05:00
|
|
|
HADOOP-2040 Hudson hangs AFTER test has finished
|
2007-11-25 22:05:37 -05:00
|
|
|
HADOOP-2274 Excess synchronization introduced by HADOOP-2139 negatively
|
|
|
|
impacts performance
|
2007-11-26 19:23:37 -05:00
|
|
|
HADOOP-2196 Fix how hbase sits in hadoop 'package' product
|
2007-11-27 02:11:00 -05:00
|
|
|
HADOOP-2276 Address regression caused by HADOOP-2274, fix HADOOP-2173 (When
|
|
|
|
the master times out a region servers lease, the region server
|
|
|
|
may not restart)
|
2007-11-28 19:37:19 -05:00
|
|
|
HADOOP-2253 getRow can return HBASE::DELETEVAL cells
|
|
|
|
(Bryan Duxbury via Stack)
|
2007-11-29 16:10:03 -05:00
|
|
|
HADOOP-2295 Fix assigning a region to multiple servers
|
2007-11-29 19:01:25 -05:00
|
|
|
HADOOP-2234 TableInputFormat erroneously aggregates map values
|
2007-11-30 12:06:31 -05:00
|
|
|
HADOOP-2308 null regioninfo breaks meta scanner
|
2007-11-30 12:15:33 -05:00
|
|
|
HADOOP-2304 Abbreviated symbol parsing error of dir path in jar command
|
|
|
|
(Edward Yoon via Stack)
|
2007-11-30 15:40:31 -05:00
|
|
|
HADOOP-2320 Committed TestGet2 is managled (breaks build).
|
2007-11-30 18:59:56 -05:00
|
|
|
HADOOP-2322 getRow(row, TS) client interface not properly connected
|
2007-12-01 23:58:03 -05:00
|
|
|
HADOOP-2309 ConcurrentModificationException doing get of all region start keys
|
2007-12-03 03:28:32 -05:00
|
|
|
HADOOP-2321 TestScanner2 does not release resources which sometimes cause the
|
|
|
|
test to time out
|
2007-12-03 12:20:22 -05:00
|
|
|
HADOOP-2315 REST servlet doesn't treat / characters in row key correctly
|
|
|
|
(Bryan Duxbury via Stack)
|
2007-12-03 13:42:09 -05:00
|
|
|
HADOOP-2332 Meta table data selection in Hbase Shell
|
|
|
|
(Edward Yoon via Stack)
|
2007-12-05 02:27:59 -05:00
|
|
|
HADOOP-2347 REST servlet not thread safe but run in a threaded manner
|
|
|
|
(Bryan Duxbury via Stack)
|
2007-12-06 17:34:38 -05:00
|
|
|
HADOOP-2365 Result of HashFunction.hash() contains all identical values
|
2007-12-06 21:34:08 -05:00
|
|
|
HADOOP-2362 Leaking hdfs file handle on region split
|
2007-12-07 16:23:54 -05:00
|
|
|
HADOOP-2338 Fix NullPointerException in master server.
|
2007-12-07 18:26:30 -05:00
|
|
|
HADOOP-2380 REST servlet throws NPE when any value node has an empty string
|
|
|
|
(Bryan Duxbury via Stack)
|
2007-12-08 01:54:31 -05:00
|
|
|
HADOOP-2350 Scanner api returns null row names, or skips row names if
|
|
|
|
different column families do not have entries for some rows
|
2007-12-10 17:36:03 -05:00
|
|
|
HADOOP-2283 AlreadyBeingCreatedException (Was: Stuck replay of failed
|
|
|
|
regionserver edits)
|
2007-12-11 19:40:02 -05:00
|
|
|
HADOOP-2392 TestRegionServerExit has new failure mode since HADOOP-2338
|
|
|
|
HADOOP-2324 Fix assertion failures in TestTableMapReduce
|
|
|
|
HADOOP-2396 NPE in HMaster.cancelLease
|
|
|
|
HADOOP-2397 The only time that a meta scanner should try to recover a log is
|
|
|
|
when the master is starting
|
2007-12-13 15:02:30 -05:00
|
|
|
HADOOP-2417 Fix critical shutdown problem introduced by HADOOP-2338
|
2007-12-13 16:28:03 -05:00
|
|
|
HADOOP-2418 Fix assertion failures in TestTableMapReduce, TestTableIndex,
|
|
|
|
and TestTableJoinMapReduce
|
2007-12-14 14:58:33 -05:00
|
|
|
HADOOP-2414 Fix ArrayIndexOutOfBoundsException in bloom filters.
|
2007-12-14 16:51:45 -05:00
|
|
|
HADOOP-2430 Master will not shut down if there are no active region servers
|
2007-12-14 17:57:29 -05:00
|
|
|
HADOOP-2199 Add tools for going from hregion filename to region name in logs
|
2007-12-17 15:53:45 -05:00
|
|
|
HADOOP-2441 Fix build failures in TestHBaseCluster
|
2007-12-18 01:26:11 -05:00
|
|
|
HADOOP-2451 End key is incorrectly assigned in many region splits
|
2007-12-18 13:06:45 -05:00
|
|
|
HADOOP-2455 Error in Help-string of CREATE command (Edward Yoon via Stack)
|
2007-12-19 03:22:33 -05:00
|
|
|
HADOOP-2465 When split parent regions are cleaned up, not all the columns are
|
|
|
|
deleted
|
2007-12-19 15:11:17 -05:00
|
|
|
HADOOP-2468 TestRegionServerExit failed in Hadoop-Nightly #338
|
2007-12-20 00:35:07 -05:00
|
|
|
HADOOP-2467 scanner truncates resultset when > 1 column families
|
2008-01-13 15:10:22 -05:00
|
|
|
HADOOP-2503 REST Insert / Select encoding issue (Bryan Duxbury via Stack)
|
2007-12-31 12:01:27 -05:00
|
|
|
HADOOP-2505 formatter classes missing apache license
|
2008-01-03 23:39:02 -05:00
|
|
|
HADOOP-2504 REST servlet method for deleting a scanner was not properly
|
|
|
|
mapped (Bryan Duxbury via Stack)
|
2008-01-04 01:56:28 -05:00
|
|
|
HADOOP-2507 REST servlet does not properly base64 row keys and column names
|
|
|
|
(Bryan Duxbury via Stack)
|
2008-01-05 15:39:09 -05:00
|
|
|
HADOOP-2530 Missing type in new hbase custom RPC serializer
|
2008-01-08 19:07:16 -05:00
|
|
|
HADOOP-2490 Failure in nightly #346 (Added debugging of hudson failures).
|
2008-01-10 20:19:06 -05:00
|
|
|
HADOOP-2558 fixes for build up on hudson (part 1, part 2, part 3, part 4)
|
2008-01-13 18:39:01 -05:00
|
|
|
HADOOP-2500 Unreadable region kills region servers
|
2008-01-15 10:51:29 -05:00
|
|
|
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 (Bryan Duxbury via Stack)
|
2008-01-15 12:20:06 -05:00
|
|
|
HADOOP-2587 Splits blocked by compactions cause region to be offline for
|
|
|
|
duration of compaction.
|
2008-01-15 18:42:31 -05:00
|
|
|
HADOOP-2592 Scanning, a region can let out a row that its not supposed
|
|
|
|
to have
|
2008-01-16 11:26:24 -05:00
|
|
|
HADOOP-2493 hbase will split on row when the start and end row is the
|
|
|
|
same cause data loss (Bryan Duxbury via Stack)
|
2008-01-17 14:08:08 -05:00
|
|
|
HADOOP-2629 Shell digests garbage without complaint
|
2008-01-17 17:35:24 -05:00
|
|
|
HADOOP-2619 Compaction errors after a region splits
|
2008-01-17 18:38:09 -05:00
|
|
|
HADOOP-2621 Memcache flush flushing every 60 secs with out considering
|
|
|
|
the max memcache size
|
2008-01-21 11:21:46 -05:00
|
|
|
HADOOP-2584 Web UI displays an IOException instead of the Tables
|
|
|
|
HADOOP-2650 Remove Writables.clone and use WritableUtils.clone from
|
|
|
|
hadoop instead
|
2008-01-22 22:24:32 -05:00
|
|
|
HADOOP-2668 Documentation and improved logging so fact that hbase now
|
|
|
|
requires migration comes as less of a surprise
|
2008-01-23 12:43:22 -05:00
|
|
|
HADOOP-2686 Removed tables stick around in .META.
|
2008-01-24 00:13:22 -05:00
|
|
|
HADOOP-2688 IllegalArgumentException processing a shutdown stops
|
|
|
|
server going down and results in millions of lines of output
|
2008-01-25 10:45:04 -05:00
|
|
|
HADOOP-2706 HBase Shell crash
|
2008-01-25 19:38:15 -05:00
|
|
|
HADOOP-2712 under load, regions won't split
|
2008-01-28 23:46:34 -05:00
|
|
|
HADOOP-2675 Options not passed to rest/thrift
|
2008-01-29 08:18:18 -05:00
|
|
|
HADOOP-2722 Prevent unintentional thread exit in region server and master
|
2007-12-13 15:02:30 -05:00
|
|
|
|
2007-10-15 14:42:28 -04:00
|
|
|
IMPROVEMENTS
|
2007-11-29 13:25:39 -05:00
|
|
|
HADOOP-2401 Add convenience put method that takes writable
|
|
|
|
(Johan Oskarsson via Stack)
|
|
|
|
HADOOP-2074 Simple switch to enable DEBUG level-logging in hbase
|
|
|
|
HADOOP-2088 Make hbase runnable in $HADOOP_HOME/build(/contrib/hbase)
|
|
|
|
HADOOP-2126 Use Bob Jenkins' hash for bloom filters
|
|
|
|
HADOOP-2157 Make Scanners implement Iterable
|
|
|
|
HADOOP-2176 Htable.deleteAll documentation is ambiguous
|
|
|
|
HADOOP-2139 (phase 1) Increase parallelism in region servers.
|
|
|
|
HADOOP-2267 [Hbase Shell] Change the prompt's title from 'hbase' to 'hql'.
|
|
|
|
(Edward Yoon via Stack)
|
|
|
|
HADOOP-2139 (phase 2) Make region server more event driven
|
|
|
|
HADOOP-2289 Useless efforts of looking for the non-existant table in select
|
|
|
|
command.
|
|
|
|
(Edward Yoon via Stack)
|
|
|
|
HADOOP-2257 Show a total of all requests and regions on the web ui
|
|
|
|
(Paul Saab via Stack)
|
|
|
|
HADOOP-2261 HTable.abort no longer throws exception if there is no active update.
|
|
|
|
HADOOP-2287 Make hbase unit tests take less time to complete.
|
|
|
|
HADOOP-2262 Retry n times instead of n**2 times.
|
|
|
|
HADOOP-1608 Relational Algrebra Operators
|
|
|
|
(Edward Yoon via Stack)
|
|
|
|
HADOOP-2198 HTable should have method to return table metadata
|
2007-11-30 01:35:47 -05:00
|
|
|
HADOOP-2296 hbase shell: phantom columns show up from select command
|
2007-11-30 02:33:09 -05:00
|
|
|
HADOOP-2297 System.exit() Handling in hbase shell jar command
|
2007-11-30 12:15:33 -05:00
|
|
|
(Edward Yoon via Stack)
|
2007-11-30 12:18:01 -05:00
|
|
|
HADOOP-2224 Add HTable.getRow(ROW, ts)
|
|
|
|
(Bryan Duxbury via Stack)
|
2007-12-03 21:48:49 -05:00
|
|
|
HADOOP-2339 Delete command with no WHERE clause
|
|
|
|
(Edward Yoon via Stack)
|
2007-12-04 12:07:22 -05:00
|
|
|
HADOOP-2299 Support inclusive scans (Bryan Duxbury via Stack)
|
2007-12-04 17:17:21 -05:00
|
|
|
HADOOP-2333 Client side retries happen at the wrong level
|
2007-12-05 11:06:25 -05:00
|
|
|
HADOOP-2357 Compaction cleanup; less deleting + prevent possible file leaks
|
2007-12-10 01:41:24 -05:00
|
|
|
HADOOP-2392 TestRegionServerExit has new failure mode since HADOOP-2338
|
2007-12-11 12:56:51 -05:00
|
|
|
HADOOP-2370 Allow column families with an unlimited number of versions
|
|
|
|
(Edward Yoon via Stack)
|
2007-12-13 00:43:59 -05:00
|
|
|
HADOOP-2047 Add an '--master=X' and '--html' command-line parameters to shell
|
2007-12-13 10:43:04 -05:00
|
|
|
(Edward Yoon via Stack)
|
|
|
|
HADOOP-2351 If select command returns no result, it doesn't need to show the
|
|
|
|
header information (Edward Yoon via Stack)
|
2007-12-14 12:12:09 -05:00
|
|
|
HADOOP-2285 Add being able to shutdown regionservers (Dennis Kubes via Stack)
|
2007-12-19 03:22:33 -05:00
|
|
|
HADOOP-2458 HStoreFile.writeSplitInfo should just call
|
|
|
|
HStoreFile.Reference.write
|
2007-12-20 11:44:59 -05:00
|
|
|
HADOOP-2471 Add reading/writing MapFile to PerformanceEvaluation suite
|
2008-01-06 16:58:16 -05:00
|
|
|
HADOOP-2522 Separate MapFile benchmark from PerformanceEvaluation
|
|
|
|
(Tom White via Stack)
|
2008-01-07 13:26:08 -05:00
|
|
|
HADOOP-2502 Insert/Select timestamp, Timestamp data type in HQL
|
|
|
|
(Edward Yoon via Stack)
|
2008-01-08 13:11:45 -05:00
|
|
|
HADOOP-2450 Show version (and svn revision) in hbase web ui
|
2008-01-08 13:27:58 -05:00
|
|
|
HADOOP-2472 Range selection using filter (Edward Yoon via Stack)
|
2008-01-12 16:32:46 -05:00
|
|
|
HADOOP-2548 Make TableMap and TableReduce generic
|
|
|
|
(Frederik Hedberg via Stack)
|
2008-01-13 00:24:14 -05:00
|
|
|
HADOOP-2557 Shell count function (Edward Yoon via Stack)
|
2008-01-15 00:14:34 -05:00
|
|
|
HADOOP-2589 Change an classes/package name from Shell to hql
|
|
|
|
(Edward Yoon via Stack)
|
2008-01-17 13:19:31 -05:00
|
|
|
HADOOP-2545 hbase rest server should be started with hbase-daemon.sh
|
2008-01-18 01:11:06 -05:00
|
|
|
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
|
2008-01-19 15:20:15 -05:00
|
|
|
HADOOP-2643 Make migration tool smarter.
|
|
|
|
|
2007-11-06 15:45:28 -05:00
|
|
|
Release 0.15.1
|
|
|
|
Branch 0.15
|
2007-05-18 17:19:08 -04:00
|
|
|
|
2007-08-18 12:29:09 -04:00
|
|
|
INCOMPATIBLE CHANGES
|
2007-09-21 05:27:46 -04:00
|
|
|
HADOOP-1931 Hbase scripts take --ARG=ARG_VALUE when should be like hadoop
|
|
|
|
and do ---ARG ARG_VALUE
|
2007-08-18 12:29:09 -04:00
|
|
|
|
|
|
|
NEW FEATURES
|
2007-08-24 15:32:29 -04:00
|
|
|
HADOOP-1768 FS command using Hadoop FsShell operations
|
2007-08-29 19:39:52 -04:00
|
|
|
(Edward Yoon via Stack)
|
2007-09-10 11:56:16 -04:00
|
|
|
HADOOP-1784 Delete: Fix scanners and gets so they work properly in presence
|
|
|
|
of deletes. Added a deleteAll to remove all cells equal to or
|
|
|
|
older than passed timestamp. Fixed compaction so deleted cells
|
|
|
|
do not make it out into compacted output. Ensure also that
|
|
|
|
versions > column max are dropped compacting.
|
2007-09-13 00:01:05 -04:00
|
|
|
HADOOP-1720 Addition of HQL (Hbase Query Language) support in Hbase Shell.
|
|
|
|
The old shell syntax has been replaced by HQL, a small SQL-like
|
|
|
|
set of operators, for creating, altering, dropping, inserting,
|
|
|
|
deleting, and selecting, etc., data in hbase.
|
|
|
|
(Inchul Song and Edward Yoon via Stack)
|
2007-09-24 17:38:10 -04:00
|
|
|
HADOOP-1913 Build a Lucene index on an HBase table
|
|
|
|
(Ning Li via Stack)
|
2007-10-05 23:09:50 -04:00
|
|
|
HADOOP-1957 Web UI with report on cluster state and basic browsing of tables
|
2007-08-18 12:29:09 -04:00
|
|
|
|
|
|
|
OPTIMIZATIONS
|
|
|
|
|
|
|
|
BUG FIXES
|
2007-08-22 12:59:43 -04:00
|
|
|
HADOOP-1527 Region server won't start because logdir exists
|
2007-08-20 18:35:27 -04:00
|
|
|
HADOOP-1723 If master asks region server to shut down, by-pass return of
|
2007-08-29 19:39:52 -04:00
|
|
|
shutdown message
|
2007-08-18 12:29:09 -04:00
|
|
|
HADOOP-1729 Recent renaming or META tables breaks hbase shell
|
2007-08-18 14:04:53 -04:00
|
|
|
HADOOP-1730 unexpected null value causes META scanner to exit (silently)
|
2007-08-22 00:05:08 -04:00
|
|
|
HADOOP-1747 On a cluster, on restart, regions multiply assigned
|
2007-08-24 12:24:40 -04:00
|
|
|
HADOOP-1776 Fix for sporadic compaction failures closing and moving
|
2007-08-29 19:39:52 -04:00
|
|
|
compaction result
|
2007-08-24 20:42:45 -04:00
|
|
|
HADOOP-1780 Regions are still being doubly assigned
|
2007-08-28 18:08:56 -04:00
|
|
|
HADOOP-1797 Fix NPEs in MetaScanner constructor
|
2007-08-29 00:30:58 -04:00
|
|
|
HADOOP-1799 Incorrect classpath in binary version of Hadoop
|
2007-08-29 16:06:41 -04:00
|
|
|
HADOOP-1805 Region server hang on exit
|
2007-08-29 19:39:52 -04:00
|
|
|
HADOOP-1785 TableInputFormat.TableRecordReader.next has a bug
|
|
|
|
(Ning Li via Stack)
|
2007-08-30 17:28:25 -04:00
|
|
|
HADOOP-1800 output should default utf8 encoding
|
2007-09-07 23:09:42 -04:00
|
|
|
HADOOP-1801 When hdfs is yanked out from under hbase, hbase should go down gracefully
|
2007-09-15 11:14:53 -04:00
|
|
|
HADOOP-1813 OOME makes zombie of region server
|
2007-08-30 18:09:13 -04:00
|
|
|
HADOOP-1814 TestCleanRegionServerExit fails too often on Hudson
|
2007-09-24 18:52:16 -04:00
|
|
|
HADOOP-1820 Regionserver creates hlogs without bound
|
2007-09-30 19:46:04 -04:00
|
|
|
(reverted 2007/09/25) (Fixed 2007/09/30)
|
2007-09-01 02:22:01 -04:00
|
|
|
HADOOP-1821 Replace all String.getBytes() with String.getBytes("UTF-8")
|
2007-09-04 18:26:02 -04:00
|
|
|
HADOOP-1832 listTables() returns duplicate tables
|
2007-09-05 12:00:01 -04:00
|
|
|
HADOOP-1834 Scanners ignore timestamp passed on creation
|
2007-09-07 03:28:42 -04:00
|
|
|
HADOOP-1847 Many HBase tests do not fail well.
|
2007-09-07 23:04:54 -04:00
|
|
|
HADOOP-1847 Many HBase tests do not fail well. (phase 2)
|
2007-09-11 19:39:17 -04:00
|
|
|
HADOOP-1870 Once file system failure has been detected, don't check it again
|
|
|
|
and get on with shutting down the hbase cluster.
|
2007-09-15 17:27:10 -04:00
|
|
|
HADOOP-1888 NullPointerException in HMemcacheScanner (reprise)
|
2007-09-19 12:45:01 -04:00
|
|
|
HADOOP-1903 Possible data loss if Exception happens between snapshot and
|
|
|
|
flush to disk.
|
|
|
|
HADOOP-1920 Wrapper scripts broken when hadoop in one location and hbase in
|
|
|
|
another
|
2007-09-20 03:37:34 -04:00
|
|
|
HADOOP-1923, HADOOP-1924 a) tests fail sporadically because set up and tear
|
|
|
|
down is inconsistent b) TestDFSAbort failed in nightly #242
|
2007-09-21 16:03:54 -04:00
|
|
|
HADOOP-1929 Add hbase-default.xml to hbase jar
|
2007-09-25 19:04:08 -04:00
|
|
|
HADOOP-1941 StopRowFilter throws NPE when passed null row
|
2007-09-30 12:09:38 -04:00
|
|
|
HADOOP-1966 Make HBase unit tests more reliable in the Hudson environment.
|
2007-10-01 15:45:02 -04:00
|
|
|
HADOOP-1975 HBase tests failing with java.lang.NumberFormatException
|
2007-10-04 15:58:56 -04:00
|
|
|
HADOOP-1990 Regression test instability affects nightly and patch builds
|
2007-10-04 23:26:32 -04:00
|
|
|
HADOOP-1996 TestHStoreFile fails on windows if run multiple times
|
2007-10-05 05:39:32 -04:00
|
|
|
HADOOP-1937 When the master times out a region server's lease, it is too
|
|
|
|
aggressive in reclaiming the server's log.
|
2007-10-08 12:25:33 -04:00
|
|
|
HADOOP-2004 webapp hql formatting bugs
|
2007-10-08 23:25:00 -04:00
|
|
|
HADOOP_2011 Make hbase daemon scripts take args in same order as hadoop
|
|
|
|
daemon scripts
|
2007-10-09 17:48:11 -04:00
|
|
|
HADOOP-2017 TestRegionServerAbort failure in patch build #903 and
|
|
|
|
nightly #266
|
2007-10-11 10:45:36 -04:00
|
|
|
HADOOP-2029 TestLogRolling fails too often in patch and nightlies
|
2007-10-12 13:46:37 -04:00
|
|
|
HADOOP-2038 TestCleanRegionExit failed in patch build #927
|
2007-08-18 12:29:09 -04:00
|
|
|
|
|
|
|
IMPROVEMENTS
|
2007-08-21 16:53:24 -04:00
|
|
|
HADOOP-1737 Make HColumnDescriptor data publically members settable
|
2007-08-22 19:59:30 -04:00
|
|
|
HADOOP-1746 Clean up findbugs warnings
|
2007-08-27 19:35:15 -04:00
|
|
|
HADOOP-1757 Bloomfilters: single argument constructor, use enum for bloom
|
|
|
|
filter types
|
2007-08-30 20:37:46 -04:00
|
|
|
HADOOP-1760 Use new MapWritable and SortedMapWritable classes from
|
|
|
|
org.apache.hadoop.io
|
2007-09-10 13:42:50 -04:00
|
|
|
HADOOP-1793 (Phase 1) Remove TestHClient (Phase2) remove HClient.
|
2007-09-05 18:35:13 -04:00
|
|
|
HADOOP-1794 Remove deprecated APIs
|
2007-08-30 11:39:11 -04:00
|
|
|
HADOOP-1802 Startup scripts should wait until hdfs as cleared 'safe mode'
|
2007-09-07 16:32:45 -04:00
|
|
|
HADOOP-1833 bin/stop_hbase.sh returns before it completes
|
|
|
|
(Izaak Rubin via Stack)
|
2007-09-05 12:12:39 -04:00
|
|
|
HADOOP-1835 Updated Documentation for HBase setup/installation
|
2007-09-07 16:32:45 -04:00
|
|
|
(Izaak Rubin via Stack)
|
2007-09-10 19:27:34 -04:00
|
|
|
HADOOP-1868 Make default configuration more responsive
|
2007-09-12 12:48:54 -04:00
|
|
|
HADOOP-1884 Remove useless debugging log messages from hbase.mapred
|
2007-09-16 22:57:31 -04:00
|
|
|
HADOOP-1856 Add Jar command to hbase shell using Hadoop RunJar util
|
|
|
|
(Edward Yoon via Stack)
|
2007-09-28 17:10:49 -04:00
|
|
|
HADOOP-1928 Have master pass the regionserver the filesystem to use
|
|
|
|
HADOOP-1789 Output formatting
|
2007-10-02 17:42:07 -04:00
|
|
|
HADOOP-1960 If a region server cannot talk to the master before its lease
|
|
|
|
times out, it should shut itself down
|
2007-10-11 16:33:53 -04:00
|
|
|
HADOOP-2035 Add logo to webapps
|
2007-08-18 12:29:09 -04:00
|
|
|
|
|
|
|
|
|
|
|
Below are the list of changes before 2007-08-18
|
|
|
|
|
2007-05-18 17:19:08 -04:00
|
|
|
1. HADOOP-1384. HBase omnibus patch. (jimk, Vuk Ercegovac, and Michael Stack)
|
2007-05-21 16:35:19 -04:00
|
|
|
2. HADOOP-1402. Fix javadoc warnings in hbase contrib. (Michael Stack)
|
2007-05-21 18:23:03 -04:00
|
|
|
3. HADOOP-1404. HBase command-line shutdown failing (Michael Stack)
|
2007-05-22 01:30:07 -04:00
|
|
|
4. HADOOP-1397. Replace custom hbase locking with
|
|
|
|
java.util.concurrent.locks.ReentrantLock (Michael Stack)
|
2007-05-22 09:51:10 -04:00
|
|
|
5. HADOOP-1403. HBase reliability - make master and region server more fault
|
|
|
|
tolerant.
|
2007-05-22 16:24:22 -04:00
|
|
|
6. HADOOP-1418. HBase miscellaneous: unit test for HClient, client to do
|
|
|
|
'Performance Evaluation', etc.
|
2007-05-23 11:14:00 -04:00
|
|
|
7. HADOOP-1420, HADOOP-1423. Findbugs changes, remove reference to removed
|
|
|
|
class HLocking.
|
2007-05-23 17:30:25 -04:00
|
|
|
8. HADOOP-1424. TestHBaseCluster fails with IllegalMonitorStateException. Fix
|
|
|
|
regression introduced by HADOOP-1397.
|
2007-05-24 13:12:00 -04:00
|
|
|
9. HADOOP-1426. Make hbase scripts executable + add test classes to CLASSPATH.
|
2007-05-24 18:37:26 -04:00
|
|
|
10. HADOOP-1430. HBase shutdown leaves regionservers up.
|
2007-05-29 13:23:15 -04:00
|
|
|
11. HADOOP-1392. Part1: includes create/delete table; enable/disable table;
|
|
|
|
add/remove column.
|
2007-06-03 01:09:21 -04:00
|
|
|
12. HADOOP-1392. Part2: includes table compaction by merging adjacent regions
|
|
|
|
that have shrunk in size.
|
2007-06-04 13:14:10 -04:00
|
|
|
13. HADOOP-1445 Support updates across region splits and compactions
|
2007-06-05 11:11:57 -04:00
|
|
|
14. HADOOP-1460 On shutdown IOException with complaint 'Cannot cancel lease
|
|
|
|
that is not held'
|
2007-06-11 12:46:27 -04:00
|
|
|
15. HADOOP-1421 Failover detection, split log files.
|
|
|
|
For the files modified, also clean up javadoc, class, field and method
|
|
|
|
visibility (HADOOP-1466)
|
2007-06-11 16:52:29 -04:00
|
|
|
16. HADOOP-1479 Fix NPE in HStore#get if store file only has keys < passed key.
|
2007-06-11 19:41:48 -04:00
|
|
|
17. HADOOP-1476 Distributed version of 'Performance Evaluation' script
|
2007-06-12 17:08:27 -04:00
|
|
|
18. HADOOP-1469 Asychronous table creation
|
2007-06-14 03:40:49 -04:00
|
|
|
19. HADOOP-1415 Integrate BSD licensed bloom filter implementation.
|
2007-06-14 18:08:56 -04:00
|
|
|
20. HADOOP-1465 Add cluster stop/start scripts for hbase
|
2007-06-14 20:39:34 -04:00
|
|
|
21. HADOOP-1415 Provide configurable per-column bloom filters - part 2.
|
2007-06-18 18:59:14 -04:00
|
|
|
22. HADOOP-1498. Replace boxed types with primitives in many places.
|
2007-06-25 18:54:56 -04:00
|
|
|
23. HADOOP-1509. Made methods/inner classes in HRegionServer and HClient protected
|
|
|
|
instead of private for easier extension. Also made HRegion and HRegionInfo public too.
|
|
|
|
Added an hbase-default.xml property for specifying what HRegionInterface extension to use
|
2007-07-05 15:50:04 -04:00
|
|
|
for proxy server connection. (James Kennedy via Jim Kellerman)
|
2007-06-27 00:50:10 -04:00
|
|
|
24. HADOOP-1534. [hbase] Memcache scanner fails if start key not present
|
2007-06-27 18:37:07 -04:00
|
|
|
25. HADOOP-1537. Catch exceptions in testCleanRegionServerExit so we can see
|
|
|
|
what is failing.
|
2007-06-28 18:29:07 -04:00
|
|
|
26. HADOOP-1543 [hbase] Add HClient.tableExists
|
2007-07-05 15:50:04 -04:00
|
|
|
27. HADOOP-1519 [hbase] map/reduce interface for HBase. (Vuk Ercegovac and
|
|
|
|
Jim Kellerman)
|
2007-07-01 20:47:13 -04:00
|
|
|
28. HADOOP-1523 Hung region server waiting on write locks
|
2007-07-04 00:48:18 -04:00
|
|
|
29. HADOOP-1560 NPE in MiniHBaseCluster on Windows
|
2007-07-05 15:50:04 -04:00
|
|
|
30. HADOOP-1531 Add RowFilter to HRegion.HScanner
|
|
|
|
Adds a row filtering interface and two implemenentations: A page scanner,
|
|
|
|
and a regex row/column-data matcher. (James Kennedy via Stack)
|
2007-07-05 16:12:37 -04:00
|
|
|
31. HADOOP-1566 Key-making utility
|
2007-07-07 02:09:25 -04:00
|
|
|
32. HADOOP-1415 Provide configurable per-column bloom filters.
|
|
|
|
HADOOP-1466 Clean up visibility and javadoc issues in HBase.
|
2007-07-09 23:06:32 -04:00
|
|
|
33. HADOOP-1538 Provide capability for client specified time stamps in HBase
|
|
|
|
HADOOP-1466 Clean up visibility and javadoc issues in HBase.
|
2007-07-11 10:23:00 -04:00
|
|
|
34. HADOOP-1589 Exception handling in HBase is broken over client server connections
|
2007-07-11 17:54:15 -04:00
|
|
|
35. HADOOP-1375 a simple parser for hbase (Edward Yoon via Stack)
|
2007-07-12 18:08:25 -04:00
|
|
|
36. HADOOP-1600 Update license in HBase code
|
2007-07-12 19:22:20 -04:00
|
|
|
37. HADOOP-1589 Exception handling in HBase is broken over client server
|
2007-07-14 16:08:01 -04:00
|
|
|
38. HADOOP-1574 Concurrent creates of a table named 'X' all succeed
|
2007-07-14 18:25:32 -04:00
|
|
|
39. HADOOP-1581 Un-openable tablename bug
|
2007-07-14 19:53:39 -04:00
|
|
|
40. HADOOP-1607 [shell] Clear screen command (Edward Yoon via Stack)
|
2007-07-14 20:26:15 -04:00
|
|
|
41. HADOOP-1614 [hbase] HClient does not protect itself from simultaneous updates
|
2007-07-16 18:19:59 -04:00
|
|
|
42. HADOOP-1468 Add HBase batch update to reduce RPC overhead
|
2007-07-17 20:38:58 -04:00
|
|
|
43. HADOOP-1616 Sporadic TestTable failures
|
2007-07-17 22:26:03 -04:00
|
|
|
44. HADOOP-1615 Replacing thread notification-based queue with
|
|
|
|
java.util.concurrent.BlockingQueue in HMaster, HRegionServer
|
2007-07-21 01:06:13 -04:00
|
|
|
45. HADOOP-1606 Updated implementation of RowFilterSet, RowFilterInterface
|
|
|
|
(Izaak Rubin via Stack)
|
2007-07-23 17:33:47 -04:00
|
|
|
46. HADOOP-1579 Add new WhileMatchRowFilter and StopRowFilter filters
|
|
|
|
(Izaak Rubin via Stack)
|
2007-07-23 19:33:05 -04:00
|
|
|
47. HADOOP-1637 Fix to HScanner to Support Filters, Add Filter Tests to
|
|
|
|
TestScanner2 (Izaak Rubin via Stack)
|
2007-07-26 10:15:17 -04:00
|
|
|
48. HADOOP-1516 HClient fails to readjust when ROOT or META redeployed on new
|
|
|
|
region server
|
2007-07-26 17:30:55 -04:00
|
|
|
49. HADOOP-1646 RegionServer OOME's under sustained, substantial loading by
|
|
|
|
10 concurrent clients
|
2007-07-26 17:58:22 -04:00
|
|
|
50. HADOOP-1468 Add HBase batch update to reduce RPC overhead (restrict batches
|
|
|
|
to a single row at a time)
|
HADOOP-1709 Make HRegionInterface more like that of HTable
HADOOP-1725 Client find of table regions should not include offlined, split parents
Changes:
New class MapWritable replaces KeyedData and KeyedDataArrayWritable
HBaseAdmin, HConnectionManager, HMaster, HRegionInterface,
HRegionServer, HTable, TestScanner2:
- getRow returns MapWritable instead of array of KeyedData
- next returns MapWritable instead of array of KeyedData
GroupingTableMap, IdentityTableMap, IdentityTableReduce,
TableInputFormat, TableMap, TableOutputCollector, TableOutputFormat,
TestTableMapReduce:
- use MapWritable instead of KeyedData and KeyedDataArrayWritable
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@566878 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 18:51:03 -04:00
|
|
|
51. HADOOP-1528 HClient for multiple tables (phase 1) (James Kennedy & JimK)
|
2007-08-02 04:15:26 -04:00
|
|
|
52. HADOOP-1528 HClient for multiple tables (phase 2) all HBase client side code
|
|
|
|
(except TestHClient and HBaseShell) have been converted to use the new client
|
|
|
|
side objects (HTable/HBaseAdmin/HConnection) instead of HClient.
|
2007-08-02 20:02:19 -04:00
|
|
|
53. HADOOP-1528 HClient for multiple tables - expose close table function
|
2007-08-03 18:39:43 -04:00
|
|
|
54. HADOOP-1466 Clean up warnings, visibility and javadoc issues in HBase.
|
HADOOP-1662 Make region splits faster
Splits are now near-instantaneous. On split, daughter splits create
'references' to store files up in the parent region using new 'HalfMapFile'
class to proxy accesses against the top-half or bottom-half of
backing MapFile. Parent region is deleted after all references in daughter
regions have been let go.
Below includes other cleanups and at least one bug fix for fails adding
>32k records and improvements to make it more likely TestRegionServerAbort
will complete..
A src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestHStoreFile.java
Added. Tests new Reference HStoreFiles. Test new HalfMapFileReader inner
class of HStoreFile. Test that we do the right thing when HStoreFiles
are smaller than a MapFile index range (i.e. there is not 'MidKey').
Test we do right thing when key is outside of a HalfMapFile.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/HBaseTestCase.java
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestGet.java
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestScanner.java
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestTimestamp.java
getHRegionDir moved from HStoreFile to HRegion.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestBatchUpdate.java
Let out exception rather than catch and call 'fail'.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/MiniHBaseCluster.java
Refactored so can start and stop a minihbasecluster w/o having to
subclass this TestCase. Refactored methods in this class to use the
newly added methods listed below.
(MasterThread, RegionServerThread, startMaster, startRegionServers
shutdown): Added.
Added logging of abort, close and wait. Also on abort/close
was doing a remove that made it so subsequent wait had nothing to
wait on.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestSplit.java
Added tests that assert all works properly at region level on
multiple levels of splits and then do same on a cluster.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestHRegion.java
Removed catch and 'fail()'.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStoreFile.java
Javadoc to explain how split now works. Have constructors flow
into each other rather than replicate setup per instance. Moved
in here operations such as delete, rename, and length of store files
(No need of clients to remember to delete map and info files).
(REF_NAME_PARSER, Reference, HalfMapFile, isReference,
writeReferenceFiles, writeSplitInfo, readSplitInfo,
createOrFail, getReader, getWriter, toString): Added.
(getMapDir, getMapFilePath, getInfoDir, getInfoFilePath): Added
a bunch of overrides for reference handling.
(loadHStoreFiles): Amended to load references off disk.
(splitStoreFiles): Redone to instead write references into
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStore.java
Rename maps as readers and mapFiles as storefiles.
Moved BloomFilterReader and Writer into HStoreFile. Removed
getMapFileReader and getMapFileWriter (They are in HStoreFile now).
(getReaders): Added.
(HStoreSize): Added. Data Structure to hold aggregated size
of all HStoreFiles in HStore, the largest, its midkey, and
if the HStore is splitable (May not be if references).
Previous we only did largest file; less accurate.
(getLargestFileSize): Renamed size and redone to aggregate
sizes, etc.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HColumnDescriptor.java
Have constructors waterfall down through each other rather than
repeat initializations.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMerge.java
Use new HStoreSize structure.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java
Added delayed remove of HRegion (Now done in HMaster as part of
meta scan). Change LOG.error and LOG.warn so they throw stack trace
instead of just the Exception.toString as message.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HConstants.java
(COLUMN_FAMILY_STR): Added.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HLog.java
Added why to log of splitting.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HLogEdit.java
Short is not big enough to hold edits tha could contain a sizable
web page.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HTable.java
(getTableName): Added.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMaster.java
Added constructor to BaseScanner that takes name of table we're
scanning (ROOT or META usually). Added to scanOneRegion handling
of split regions. Collect splits to check while scanning and
then outside of the scanning, so we can modify the META table
is needed, do the checks of daughter regions and update on
change of state. Made LOG.warn and LOG.error print stack trace.
(isSplitParent, cleanupSplits, hasReferences): Added.
Added toString to each of the PendingOperation implementations.
In the ShutdownPendingOperation scan of meta data, removed
check of startcode (if the server name is that of the dead
server, it needs reassigning even if start code is good).
Also, if server name is null -- possible if we are missing
edits off end of log -- then the region should be reassigned
just in case its from the dead server. Also, if reassigning,
clear from pendingRegions. Server may have died after sending
region is up but before the server confirms receipt in the
meta scan. Added mare detail to each log. In OpenPendingOperation
we were trying to clear pendingRegion in wrong place -- it was
never executed (regions were always pending).
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionInfo.java
Add split boolean. Output offline and split status in toString.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMemcache.java
Comments.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegion.java
Moved getRegionDir here from HStoreFile.
(COL_SPLITA, COL_SPLITB): Added.
(closeAndSplit): Refactored to use new fast split method.
StringUtils.formatTimeDiff(System.currentTimeMillis(), startTime));
(splitStoreFile): Moved into HStoreFile.
(getSplitRegionDir, getSplitsDir, toString): Added.
(needsSplit): Refactored to exploit new HStoreSize structure.
Also manages notion of 'unsplitable' region.
(largestHStore): Refactored.
(removeSplitFromMETA, writeSplitToMETA, getSplit, hasReference): Added.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/util/Keying.java
(intToBytes, getBytes): Added.
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/util/Writables.java
Utility reading and writing Writables.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@564012 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 16:30:13 -04:00
|
|
|
55. HADOOP-1662 Make region splits faster
|
2007-08-10 18:11:05 -04:00
|
|
|
56. HADOOP-1678 On region split, master should designate which host should
|
|
|
|
serve daughter splits. Phase 1: Master balances load for new regions and
|
|
|
|
when a region server fails.
|
2007-08-13 23:37:01 -04:00
|
|
|
57. HADOOP-1678 On region split, master should designate which host should
|
|
|
|
serve daughter splits. Phase 2: Master assigns children of split region
|
|
|
|
instead of HRegionServer serving both children.
|
2007-08-14 21:18:47 -04:00
|
|
|
58. HADOOP-1710 All updates should be batch updates
|
2007-08-15 14:20:53 -04:00
|
|
|
59. HADOOP-1711 HTable API should use interfaces instead of concrete classes as
|
|
|
|
method parameters and return values
|
HADOOP-1644 [hbase] Compactions should not block updates
Disentangles flushes and compactions; flushes can proceed while a
compaction is happening. Also, don't compact unless we hit
compaction threshold: i.e. don't automatically compact on HRegion
startup so regions can come online the faster.
M src/contrib/hbase/conf/hbase-default.xml
(hbase.hregion.compactionThreashold): Moved to be a hstore property
as part of encapsulating compaction decision inside hstore.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/HBaseTestCase.java
Refactored. Moved here generalized content loading code that can
be shared by tests. Add to setup and teardown the setup and removal
of local test dir (if it exists).
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestCompare.java
Added test of HStoreKey compare (It works other than one would at
first expect).
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestSplit.java
Bulk of content loading code has been moved up into the parent class.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HConnectionManager.java
(tableExists): Restore to a check of if the asked-for table is in list of
tables. As it was, a check for tableExists would just wait on all timeouts
and retries to expire and then report table does not exist.. Fixed up
debug message listing regions of a table. Added protection against meta
table not having a COL_REGINFO (Seen in cluster testing -- probably a bug
in row removal).
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStoreFile.java
Loading store files, even if it was noticed that there was no corresponding
map file, was still counting file as valid. Also fix merger -- was
constructing MapFile.Reader directly rather than asking HStoreFile for
the reader (HStoreFile knows how to do MapFile references)
(rename): Added check that move succeeded and logging. In cluster-testing,
the hdfs move of compacted file into place has failed on occasion (Need
more info).
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStore.java
Encapsulate ruling on whether a compaction should take place inside HStore.
Added reading of the compactionThreshold her. Compaction threshold is
currently just number of store files. Later may include other factors such
as count of reference files. Cleaned up debug messages around
reconstruction log. Removed compaction if size > 1 from constructor. Let
compaction happen after we've been deployed (Compactions that happen while
we are online can continue to take updates. Compaction in the constructor
puts off our being able to take in updates).
(close): Changed so it now returns set of store files. This used to be done
by calls to flush. Since flush and compaction have been disentangled, a
compaction can come in after flush and the list of files could be off.
Having it done by close, can be sure list of files is complete.
(flushCache): No longer returns set of store files. Added 'merging compaction'
where we pick an arbitrary store file from disk and merge into it the content
of memcache (Needs work).
(getAllMapFiles): Renamed getAllStoreFiles.
(needsCompaction): Added.
(compactHelper): Added passing of maximum sequence number if already
calculated. If compacting one file only, we used skip without rewriting
the info file. Fixed.
Refactored. Moved guts to new compact(outFile, listOfStores) method.
(compact, CompactionReader): Added overrides and interface to support
'merging compaction' that takes files and memcache. In compaction,
if we failed the move of the compacted file, all data had already been
deleted. Changing, so deletion happens after confirmed move of
compacted file.
(getFull): Fixed bug where NPE when read of maps came back null.
Revealed by our NOT compacting stores on startup. Meant could be two
backing stores one of which had no data regards queried key.
(getNMaps): Renamed countOfStoreFiles.
(toString): Added.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStoreKey.java
Added comment on 'odd'-looking comparison.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java
Javadoc edit.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HLogEdit.java
Only return first 128 bytes of value when toStringing (On cluster,
was returning complete web pages in log).
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMaster.java
Removed confusing debug message (made sense once -- but not now).
Test rootRegionLocation for null before using it (can be null).
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMemcache.java
Added comment that delete behavior needs study.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegion.java
Fixed merge so it doesn't do the incremental based off files
returned by flush. Instead all is done in the one go after
region closes (using files returned by close).
Moved duplicated code to new filesByFamily method.
(WriteState): Removed writesOngoing in favor of compacting and
flushing flags.
(flushCache): No longer returns list of files.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/util/Writables.java
Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@566459 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 21:07:51 -04:00
|
|
|
60. HADOOP-1644 Compactions should not block updates
|
2007-08-15 21:56:29 -04:00
|
|
|
60. HADOOP-1672 HBase Shell should use new client classes
|
|
|
|
(Edward Yoon via Stack).
|
HADOOP-1709 Make HRegionInterface more like that of HTable
HADOOP-1725 Client find of table regions should not include offlined, split parents
Changes:
New class MapWritable replaces KeyedData and KeyedDataArrayWritable
HBaseAdmin, HConnectionManager, HMaster, HRegionInterface,
HRegionServer, HTable, TestScanner2:
- getRow returns MapWritable instead of array of KeyedData
- next returns MapWritable instead of array of KeyedData
GroupingTableMap, IdentityTableMap, IdentityTableReduce,
TableInputFormat, TableMap, TableOutputCollector, TableOutputFormat,
TestTableMapReduce:
- use MapWritable instead of KeyedData and KeyedDataArrayWritable
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@566878 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 18:51:03 -04:00
|
|
|
61. HADOOP-1709 Make HRegionInterface more like that of HTable
|
|
|
|
HADOOP-1725 Client find of table regions should not include offlined, split parents
|
|
|
|
|