Commit Graph

12167 Commits

Author SHA1 Message Date
Ashish Singhi 70687c18bb HBASE-15668 HFileReplicator fails to replicate other hfiles in the request when a hfile in not found in FS anywhere 2016-04-18 22:17:02 +05:30
zhangduo f2e0aca2b6 HBASE-15664 Use Long.MAX_VALUE instead of HConstants.FOREVER in CompactionPolicy 2016-04-18 20:10:31 +08:00
Apekshit a56b374c52 HBASE-15644 Use org.scala-tools:mave-scala-plugin for scaladocs.
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-04-18 01:53:43 -05:00
tedyu e9211e415a HBASE-15287 mapreduce.RowCounter returns incorrect result with binary row key inputs (Matt Warhaftig) 2016-04-16 12:46:21 -07:00
stack d815211f5a HBASE-15650 Remove TimeRangeTracker as point of contention when many threads reading a StoreFile
Refactor so we use the immutable, unsynchronized TimeRange when doing
    time-based checks at read time rather than use heavily synchronized
    TimeRangeTracker; let TimeRangeTracker be for write-time only.

    While in here, changed the Segment stuff so that when an immutable
    segment, it uses TimeRange rather than TimeRangeTracker too.

    M hbase-common/src/main/java/org/apache/hadoop/hbase/io/TimeRange.java
      Make allTime final.
      Add a includesTimeRange method copied from TimeRangeTracker.

    M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/TimeRangeTracker.java
      Change name of a few methods so they match TimeRange methods that do
      same thing.
      (getTimeRangeTracker, getTimeRange, toTimeRange) add utility methods

    M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ImmutableSegment.java
      Change ImmutableSegment so it uses a TimeRange rather than
      TimeRangeTracker.. it is read-only. Redo shouldSeek, getMinTimestamp,
      updateMetaInfo, and getTimeRangeTracker so we use TimeRange-based
      implementations instead of TimeRangeTracker implementations.

    M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MutableSegment.java
      Implement shouldSeek, getMinTimestamp, updateMetaInfo, and
      getTimeRangeTracker using TimeRangeTracker.

    M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Segment.java
      Make methods that were using TimeRangeTracker abstract and instead
      have the implementations do these methods how they want either using
      TimeRangeTracker when a mutable segment or TimeRange when an immutable
      segment.

    M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFile.java
      Change Reader to use TimeRange-based checks instead of
      TimeRangeTracker.

    Signed-off-by: stack <stack@apache.org>
2016-04-15 10:13:42 -07:00
tedyu 6930da781b HBASE-15187 Integrate CSRF prevention filter to REST gateway 2016-04-15 09:38:31 -07:00
Matteo Bertozzi 3e42f82600 HBASE-15622 Superusers does not consider the keytab credentials 2016-04-15 08:28:39 -07:00
chenheng a9f1c4a871 HBASE-15406 Split / merge switch left disabled after early termination of hbck 2016-04-15 14:09:52 +08:00
Apekshit 7efb9edecb HBASE-15296 Break out writer and reader from StoreFile. Done using Intellij15 Refactor > Move. (Apekshit)
Change-Id: Ie719569cc3393e0b5361e9d462c3cf125ad5144e

Signed-off-by: stack <stack@apache.org>
2016-04-13 22:43:03 -07:00
Misty Stanley-Jones dbdfd8e8d1 HBASE-13129 Add troubleshooting hints around WAL retention from replication
Signed-off-by: Jonathan Hsieh <jon@cloudera.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-04-13 22:40:14 -05:00
Weiqing Yang 58177c103f HBASE-15572 Adding optional timestamp semantics to HBase-Spark
4 parameters, "timestamp", "minTimestamp", "maxiTimestamp" and
"maxVersions" are added to HBaseSparkConf. Users can select a
timestamp, they can also select a time range with minimum timestamp and
maximum timestamp.

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Ted Yu <tedyu@apache.org>
Signed-off-by: Jerry He <jerryjch@apache.org>
2016-04-13 22:39:14 -05:00
Elliott Clark 5a7c8dcb68 HBASE-15504 Fix Balancer in 1.3 not moving regions off overloaded regionserver 2016-04-13 18:07:00 -07:00
Mikhail Antonov 0bb18de91c HBASE-15637 TSHA Thrift-2 server should allow limiting call queue size 2016-04-13 12:31:46 -07:00
Apekshit 8f9e46a640 HBASE-15405 Fix PE logging and wrong defaults in help message. (Apekshit)
Change-Id: Ib3007fae8d05e651b62bf4c15352ed43ea79e739
2016-04-13 12:10:33 -07:00
tedyu d41a7e6310 HBASE-15639 Unguarded access to stackIndexes in Procedure#toStringDetails() 2016-04-13 08:42:30 -07:00
Matteo Bertozzi ae7e5e29f9 HBASE-15481 Add pre/post roll to WALObserver
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-04-13 00:43:51 -05:00
Stephen Yuan Jiang 543e7081f5 HBASE-15636 hard coded wait time out value in HBaseTestingUtility#waitUntilAllRegionsAssigned might cause test failure (Stephen Yuan Jiang) 2016-04-12 16:46:39 -07:00
Matteo Bertozzi d03cdc795c HBASE-15621 Suppress Hbase SnapshotHFile cleaner error messages when a snaphot is going on (Huaxiang Sun) 2016-04-12 12:17:55 -07:00
Matteo Bertozzi 0f23e61ec5 HBASE-15632 Undo the checking of lastStoreFlushTimeMap.isEmpty() introduced in HBASE-13145 (Huaxiang Sun) 2016-04-12 11:35:18 -07:00
tedyu ff9c92e168 HBASE-14985 TimeRange constructors should set allTime when appropriate (Geoffrey Jacoby) 2016-04-11 16:59:45 -07:00
Matteo Bertozzi 8964573394 HBASE-15627 Miss space and closing quote in AccessController#checkSystemOrSuperUser (Huaxiang Sun) 2016-04-11 08:28:26 -07:00
tedyu 8541fe4ad1 HBASE-15093 Replication can report incorrect size of log queue for the global source when multiwal is enabled (Ashu Pachauri) 2016-04-11 08:17:20 -07:00
Vasudevan a395922ad5 HBASE-15605 Remove PB references from HCD and HTD for 2.0 (Ram) 2016-04-11 14:12:07 +05:30
Jerry He 80df1cb7b6 HBASE-15591 ServerCrashProcedure not yielding 2016-04-10 17:02:39 -07:00
zhangduo f7d44e929f HBASE-15527 Refactor Compactor related classes 2016-04-10 09:26:28 +08:00
stack a4dcf51415 HBASE-15623 Update refguide to change hadoop <= 2.3.x from NT to X for hbase-1.2.x 2016-04-09 15:17:57 -07:00
tedyu e0f31ba6e6 HBASE-15507 Online modification of enabled ReplicationPeerConfig (Geoffrey Jacoby) 2016-04-08 21:26:31 -07:00
zhangduo 6ea4994569 HBASE-15407 Add SASL support for fan out OutputStream 2016-04-08 21:46:47 +08:00
stack e450d94a2c HBASE-15380 Purge rollback support in Store etc. 2016-04-07 22:35:23 -07:00
zhangduo 394b89d153 HBASE-15537 Make multi WAL work with WALs other than FSHLog 2016-04-08 10:36:16 +08:00
Enis Soztutar 2dcd08bc3d HBASE-15586 Unify human readable numbers in the web UI 2016-04-07 17:07:33 -07:00
tedyu a146a71a33 HBASE-15400 Use DateTieredCompactor for Date Tiered Compaction - drop TestDateTieredCompaction.java 2016-04-07 15:01:00 -07:00
tedyu f60fc9d1a0 HBASE-15400 Use DateTieredCompactor for Date Tiered Compaction (Clara Xiong) 2016-04-07 14:58:59 -07:00
Samir Ahmic d393603dea HBASE-15606 Limit creating zk connection in HBaseAdmin#getCompactionState() only to case when 'hbase:meta' is checked.
Signed-off-by: stack <stack@apache.org>
2016-04-07 14:25:49 -07:00
Jerry He ac8cd373eb HBASE-15592 Print Procedure WAL content 2016-04-06 21:49:07 -07:00
tedyu 3826894f89 HBASE-15369 Handle NPE in region.jsp (Samir Ahmic) 2016-04-06 06:52:51 -07:00
Enis Soztutar c93cffb95c HBASE-15587 FSTableDescriptors.getDescriptor() logs stack trace erronously 2016-04-05 18:13:40 -07:00
Enis Soztutar 7e399883f6 HBASE-15505 ReplicationPeerConfig should be builder-style (Gabor Liptak) 2016-04-05 11:44:05 -07:00
tedyu a93a8878fe HBASE-15485 Filter.reset() should not be called between batches (Phil Yang) 2016-04-04 12:52:24 -07:00
Ashish Singhi 33396c3629 HBASE-15578 Handle HBASE-15234 for ReplicationHFileCleaner 2016-04-04 15:02:19 +05:30
Matteo Bertozzi 79868bd394 HBASE-15582 SnapshotManifestV1 too verbose when there are no regions 2016-04-01 20:55:21 -07:00
Ashish Singhi 25419d8b18 HBASE-15424 Add bulk load hfile-refs for replication in ZK after the event is appended in the WAL 2016-04-01 15:40:36 +05:30
tedyu 5d79790c55 HBASE-15293 Handle TableNotFound and IllegalArgument exceptions in table.jsp (Samir Ahmic) 2016-04-01 02:13:18 -07:00
Stephen Yuan Jiang 89d750166d HBASE-15568 Procedure V2 - Remove CreateTableHandler in HBase Apache 2.0 release (Stephen Yuan Jiang) 2016-04-01 01:31:09 -07:00
Gary Helmling 2d8e0a0477 HBASE-15234 Don't abort ReplicationLogCleaner on ZooKeeper errors 2016-03-31 22:28:18 -07:00
Stephen Yuan Jiang e1d5c3d269 HBASE-15521 Procedure V2 - RestoreSnapshot and CloneSnapshot (Stephen Yuan Jiang) 2016-03-31 21:49:13 -07:00
Junegunn Choi ff6a339582 HBASE-15569 Make Bytes.toStringBinary faster
Signed-off-by: stack <stack@apache.org>
2016-03-31 21:23:44 -07:00
Harsh J 7d3a89ce8e HBASE-15396 Enhance mapreduce.TableSplit to add encoded region name
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-03-31 22:59:43 -05:00
Sean Busbey 6905d272d3 Revert "HBASE-15572 Adding optional timestamp semantics to HBase-Spark (Weiqing Yang)"
This reverts commit eec27ad7ef.
2016-03-31 21:40:50 -05:00
tedyu eec27ad7ef HBASE-15572 Adding optional timestamp semantics to HBase-Spark (Weiqing Yang) 2016-03-31 19:08:33 -07:00