Commit Graph

3782 Commits

Author SHA1 Message Date
Ashish Singhi 31f17b17f0 HBASE-13002 Make encryption cipher configurable
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-02-18 11:42:20 -08:00
stack 39f549aaec HBASE-13056 Refactor table.jsp code to remove repeated code and make it easier to add new checks (Vikas Vishwakarma) 2015-02-18 11:35:14 -08:00
Devaraj Das 14bb352b02 HBASE-13036. Meta scanner should use its own threadpool 2015-02-18 10:23:02 -08:00
tedyu d64ce31063 HBASE-13061 RegionStates can remove wrong region from server holdings (Andrey Stepachev) 2015-02-18 06:23:59 -08:00
Abhishek Kumar 7b045d143a HBASE-13050 Empty Namespace validation
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-02-18 08:33:19 +01:00
Ramkrishna 8f5dae471a HBASE-13013 - Add read lock to ExpiredMobFileCleanerChore (Jingcheng Du) 2015-02-18 09:27:41 +05:30
tedyu b92ff24b0e HBASE-12948 Calling Increment#addColumn on the same column multiple times produces wrong result (hongyu bi) 2015-02-17 12:39:00 -08:00
stack 54d70e61bf HBASE-13040 Possible failure of TestHMasterRPCException (Zhang Duo) 2015-02-17 12:10:18 -08:00
stack d3621d24de HBASE-13041 TestEnableTableHandler should not call AssignmentManager#assign concurrently with master (Andrey Stepachev) 2015-02-16 21:00:00 -08:00
stack 0d880c99b5 HBASE-13047 Add "HBase Configuration" link missing on the table details pages (Vikas Vishwakarma) 2015-02-16 20:49:02 -08:00
tedyu 3e35bbdee4 HBASE-13055 HRegion FIXED_OVERHEAD missed one boolean (Duo Zhang) 2015-02-16 17:26:06 -08:00
Andrew Purtell 9b2e4ed064 HBASE-13044 Configuration option for disabling coprocessor loading 2015-02-15 11:02:40 -08:00
Sean Busbey 332515ed34 HBASE-13028 Cleanup MapReduce InputFormats 2015-02-14 14:13:36 -06:00
Lars Hofhansl 6f904fe4ca HBASE-12971 Replication stuck due to large default value for replication.source.maxretriesmultiplier. 2015-02-13 22:18:51 -08:00
Aditya Kishore f286797fbf HBASE-13010 HFileOutputFormat2 partitioner's path is hard-coded as '/tmp'
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-02-13 18:35:33 -08:00
Sean Busbey c96df5e240 HBASE-13027 Ensure extension of TableInputFormatBase works.
* move mapreduce version of TableInputFormat tests out of mapred
* add ability to get runnable job via MR test shims
* correct the javadoc example for current APIs.
* add tests the run a job based on the extending TableInputFormatBase (as given in the javadocs)
* add tests that run jobs based on the javadocs from 0.98
* fall back to our own Connection if ussers of the deprecated table configuration have a managed connection.
2015-02-13 18:41:04 -06:00
stack 421036c1c4 HBASE-13030 [1.0.0 polish] Make ScanMetrics public again and align Put 'add' with Get, Delete, etc., addColumn -- ADDENDUM 2015-02-13 15:54:33 -08:00
stack 3babad30e6 HBASE-13030 [1.0.0 polish] Make ScanMetrics public again and align Put 'add' with Get, Delete, etc., addColumn 2015-02-13 15:24:38 -08:00
Matteo Bertozzi a98898cf41 HBASE-13037 LoadIncrementalHFile should try to verify the content of unmatched families 2015-02-13 20:15:17 +01:00
Enis Soztutar 3e10e6e1a6 HBASE-11569 Flush / Compaction handling from secondary region replicas 2015-02-13 11:08:24 -08:00
Ashish Singhi 16ed345191 HBASE-9531 a command line (hbase shell) interface to retreive the replication metrics and show replication lag
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-02-12 14:50:01 -08:00
tedyu e0160d6937 HBASE-13029 Table state should be deleted from META as a last operation in DeleteTableHandler (Andrey Stepachev) 2015-02-12 14:02:54 -08:00
Andrew Purtell fc2e849cd3 HBASE-13008 Better default for hbase.regionserver.regionSplitLimit parameter (Srikanth Srungarapu) 2015-02-12 10:13:38 -08:00
tedyu 3dd220f8fd HBASE-13018 WALSplitter should not try to get table states while splitting META (Andrey Stepachev) 2015-02-11 12:45:54 -08:00
stack dec0ec2290 HBASE-13016 Clean up remnants of table states stored in table descriptors (Andrey Stepachev) 2015-02-11 11:09:03 -08:00
Ramkrishna f04850810e HBASE-13003 - Get tests in TestHFileBlockIndex back (Zhangduo) 2015-02-11 10:38:54 +05:30
stack 9c66afbae7 HBASE-12978 Region goes permanently offline (WAS: hbase:meta has a row missing hregioninfo and it causes my long-running job to fail) 2015-02-10 17:03:29 -08:00
Andrew Purtell f9cf565f1d HBASE-9910 TestHFilePerformance and HFilePerformanceEvaluation should be merged in a single HFile performance test class (Vikas Vishwakarma)
Amending-Author: Andrew Purtell <apurtell@apache.org>
2015-02-10 16:11:08 -08:00
stack fa852c4ce6 HBASE-12035 Keep table state in META (Andrey Stepachev) 2015-02-10 14:20:47 -08:00
tedyu a3f495f20d HBASE-13004 Make possible to explain why HBaseTestingUtility.waitFor fails (Andrey Stepachev) 2015-02-10 07:33:52 -08:00
Sean Busbey 3d692cf044 HBASE-12997 print wal pipeline on low replication. 2015-02-09 23:02:16 -06:00
Enis Soztutar f97c00fd99 HBASE-12998 Compilation with Hdfs-2.7.0-SNAPSHOT is broken after HDFS-7647 2015-02-09 18:17:33 -08:00
Andrew Purtell 1e6afa2f3c HBASE-12973 RegionCoprocessorEnvironment should provide HRegionInfo directly 2015-02-09 17:57:40 -08:00
Esteban Gutierrez 1f830bea89 HBASE-12984: SSL cannot be used by the InfoPort in branch-1 2015-02-09 16:43:37 -08:00
stack eea9873cef HBASE-12985 Javadoc warning and findbugs fixes to get us green again 2015-02-07 17:05:11 -08:00
Jeffrey Zhong 3f4427739d HBASE-11567 Write bulk load COMMIT events to WAL (Alex Newman, Jeffrey Zhong) 2015-02-06 18:07:30 -08:00
Andrew Purtell 7f4146bf4d Revert "HBASE-12891 Parallel execution for Hbck checkRegionConsistency"
This reverts commit eddd5739a1.
2015-02-06 16:52:04 -08:00
stack 2f2faa68d1 HBASE-12966 NPE in HMaster while recovering tables in Enabling state; ADDENDUM 2015-02-06 16:01:43 -08:00
rahulgidwani eddd5739a1 HBASE-12891 Parallel execution for Hbck checkRegionConsistency
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-02-06 15:14:18 -08:00
Esteban Gutierrez 3b56d2a0bc HBASE-12956 Binding to 0.0.0.0 is broken after HBASE-10569
Signed-off-by: Enis Soztutar <enis@apache.org>
2015-02-06 14:35:20 -08:00
stack 57319c536a HBASE-12980 Delete of a table may not clean all rows from hbase:meta 2015-02-06 14:06:59 -08:00
Jesse Yates 75148385ee HBASE-12979 Use setters instead of return values for handing back statistics from HRegion methods 2015-02-06 13:24:20 -08:00
Jonathan M Hsieh 2c4934eda6 HBASE-11861 Native MOB Compaction mechanisms (Jingcheng Du) 2015-02-06 05:37:13 -08:00
stack 96cdc7987e HBASE-12958 SSH doing hbase:meta get but hbase:meta not assigned 2015-02-04 22:56:40 -08:00
tedyu 8aeb3acaf9 HBASE-12966 NPE in HMaster while recovering tables in Enabling state (Andrey Stepachev) 2015-02-04 14:53:55 -08:00
Victoria Dudin 4f472062a4 HBASE-12961 Fix negative values in read and write region server metrics. 2015-02-04 10:32:09 -08:00
Ramkrishna 37ef793fab HBASE-12962 - TestHFileBlockIndex.testBlockIndex() commented out during
HBASE-10531 (Ram)
2015-02-04 11:42:55 +05:30
tedyu fd0bb89fdf HBASE-12957 Revert accidental checkin of unrelated test 2015-02-03 21:20:42 -08:00
tedyu 4388fed830 HBASE-12957 region_mover#isSuccessfulScan may be extremely slow on region with lots of expired data (Hongyu Bi) 2015-02-03 20:06:23 -08:00
stack 7861e518ef HBASE-7332 [webui] HMaster webui should display the number of regions a table has. (Andrey Stepachev) 2015-02-03 09:24:54 -08:00
Devaraj Das cf5ad96fcc HBASE-10942. support parallel request cancellation for multi-get (Nicolas Liochon & Devaraj Das) 2015-02-02 23:01:31 -08:00
zhangduo eb351b9ff8 HBASE-8329 Limit compaction speed
Signed-off-by: stack <stack@apache.org>
2015-02-02 22:19:05 -08:00
stack da30c72b73 HBASE-12951 TestHCM.testConnectionClose is flakey when using AsyncRpcClient as client implementation; ADDENDUM -- Remove flakey marking from TestHCM 2015-02-02 20:51:51 -08:00
stack 825871431e HBASE-12782 ITBLL fails for me if generator does anything but 5M per maptask 2015-01-30 19:12:17 -08:00
stack 538388c2b5 HBASE-6778 Deprecate Chore; its a thread per task when we should have one thread to do all tasks (Jonathan Lawlor) 2015-01-29 19:26:26 -08:00
Lars Hofhansl 9c37d5dab7 HBASE-12859; Addendum 2015-01-29 14:10:59 -08:00
Lars Hofhansl 1270e590d1 HBASE-12859 New master API to track major compaction completion. 2015-01-29 13:58:27 -08:00
tedyu 6bfa8ea977 HBASE-12936 Quota support for namespace should take region merge into account 2015-01-29 09:12:24 -08:00
Devaraj Das 7c8aa2e963 HBASE-11574. Addendum that should fix a unit test (TestMetaWithReplicas#testChangingReplicaCount) that fails once in a while 2015-01-29 00:27:08 -08:00
Ashish Singhi 070e2dd89a HBASE-12831 Changing the set of vis labels a user has access to doesn't generate an audit log event
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-01-28 16:29:45 -06:00
Devaraj Das 6b20a0f831 HBASE-11574. hbase:meta's regions can be replicated 2015-01-27 16:40:29 -08:00
Enis Soztutar 0f6faaf5fc HBASE-12916 No access control for replicating WAL entries (Liu Shaohui) 2015-01-27 15:33:29 -08:00
tedyu f7df0990c2 HBASE-12929 TableMapReduceUtil.initTableMapperJob unnecessarily limits the types of outputKeyClass and outputValueClass (Will Temperley) 2015-01-27 07:58:11 -08:00
Matteo Bertozzi b866e01a98 HBASE-12925 Use acl cache for doing access control checks in prepare and clean phases of Bulkloading (Srikanth Srungarapu) 2015-01-27 12:47:46 +00:00
tedyu aaeafca920 HBASE-7847 Use zookeeper multi to clear znodes (Rakesh R) 2015-01-26 21:40:39 -08:00
Enis Soztutar 2fb19fb951 HBASE-11908 Region replicas should be added to the meta table at the time of table creation 2015-01-26 19:55:47 -08:00
rahulgidwani a85cb0f89a HBASE-12627 Add back snapshot batching facility
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-01-26 18:44:25 -08:00
tedyu 1b9367d465 HBASE-12917 HFilePerformanceEvaluation Scan tests fail with StackOverflowError due to recursive call in createCell function (Vikas Vishwakarma) 2015-01-26 15:25:02 -08:00
Elliott Clark 45fdc0e835 HBASE-12892 Add a class to allow taking a snapshot from the command line 2015-01-25 17:18:50 -08:00
Jurriaan Mous 854f13afa1 HBASE-12684 Add new AsyncRpcClient (Jurriaan Mous)
Signed-off-by: stack <stack@apache.org>
2015-01-24 18:05:39 -08:00
Enis Soztutar e05341d01d HBASE-12728 buffered writes substantially less useful after removal of HTablePool (addendum for failing test in branch-1.0) 2015-01-24 17:57:04 -08:00
tedyu 8261d84290 HBASE-8410 Basic quota support for namespaces (Vandana) 2015-01-24 10:36:49 -08:00
anoopsjohn fbbb3249d9 HBASE-12820 Use table lock instead of MobZookeeper.(Jingcheng Du) 2015-01-24 11:37:01 +05:30
tedyu 74adb11f4c HBASE-10499 In write heavy scenario one of the regions does not get flushed causing RegionTooBusyException (Ram and Ted) 2015-01-23 09:43:01 -08:00
Nick Dimiduk ab18158e60 HBASE-12728 buffered writes substantially less useful after removal of HTablePool (Solomon Duskis and Nick Dimiduk)
In our pre-1.0 API, HTable is considered a light-weight object that consumed by
a single thread at a time. The HTablePool class provided a means of sharing
multiple HTable instances across a number of threads. As an optimization,
HTable managed a "write buffer", accumulating edits and sending a "batch" all
at once. By default the batch was sent as the last step in invocations of
put(Put) and put(List<Put>). The user could disable the automatic flushing of
the write buffer, retaining edits locally and only sending the whole "batch"
once the write buffer has filled or when the flushCommits() method in invoked
explicitly. Explicit or implicit batch writing was controlled by the
setAutoFlushTo(boolean) method. A value of true (the default) had the write
buffer flushed at the completion of a call to put(Put) or put(List<Put>). A
value of false allowed for explicit buffer management. HTable also exposed the
buffer to consumers via getWriteBuffer().

The combination of HTable with setAutoFlushTo(false) and the HTablePool
provided a convenient mechanism by which multiple "Put-producing" threads could
share a common write buffer. Both HTablePool and HTable are deprecated, and
they are officially replaced in The new 1.0 API by Table and BufferedMutator.
Table, which replaces HTable, no longer exposes explicit write-buffer
management. Instead, explicit buffer management is exposed via BufferedMutator.
BufferedMutator is made safe for concurrent use. Where code would previously
retrieve and return HTables from an HTablePool, now that code creates and
shares a single BufferedMutator instance across all threads.
2015-01-23 08:48:31 -08:00
Rajeshbabu Chintaguntla e13b9938a1 HBASE-12791 HBase does not attempt to clean up an aborted split when the regionserver shutting down-addendum(Rajeshbabu) 2015-01-23 12:41:45 +05:30
Andrew Purtell 71ab4ddb19 HBASE-12731 Heap occupancy based client pushback 2015-01-22 17:33:21 -08:00
Nick Dimiduk 9824eb7840 HBASE-12810 Update to htrace-incubating 2015-01-22 14:28:20 -08:00
Sean Busbey 418ea93774 HBASE-12898 ensure direct dependencies are declared. 2015-01-22 14:33:25 -06:00
Ramkrishna 1b800f7d4c HBASE-12669 - Have compaction scanner save info about delete markers
(Jingcheng Du)
2015-01-22 14:52:40 +05:30
anoopsjohn 833feefbf9 HBASE-12745 Visibility Labels: support visibility labels for user groups. (Jerry He) 2015-01-22 11:36:17 +05:30
Enis Soztutar 8b7a20f4ee HBASE-12393 The regionserver web will throw exception if we disable block cache (ChiaPing Tsai) 2015-01-21 17:22:10 -08:00
Enis Soztutar 8793383b66 HBASE-12774 Fix the inconsistent permission checks for bulkloading. (Srikanth Srungarapu) 2015-01-21 17:03:55 -08:00
Enis Soztutar 735fe20029 HBASE-12864 IntegrationTestTableSnapshotInputFormat fails 2015-01-21 16:21:42 -08:00
tedyu e87a69d9c0 HBASE-12886 Correct tag option name in PerformanceEvaluation (Jerry He) 2015-01-21 12:30:51 -08:00
Nick Dimiduk 9bdb81f0a1 HBASE-12887 Cleanup many checkstyle errors in o.a.h.h.client 2015-01-20 12:44:36 -08:00
Nick Dimiduk 3e777898aa HBASE-12881 TestFastFail is not compatible with surefire.rerunFailingTestsCount 2015-01-20 09:29:42 -08:00
rahulgidwani f71b980d37 HBASE-11195 Potentially improve block locality during major compaction for old regions
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-01-19 17:33:17 -08:00
Andrew Purtell 53815afc10 HBASE-12878 Incorrect HFile path in TestHFilePerformance print output (Vikas Vishwakarma) 2015-01-19 12:46:44 -08:00
Andrew Purtell 03e17168c3 HBASE-12840 Improve unit test coverage of the client pushback mechanism 2015-01-17 11:50:26 -08:00
Enis Soztutar a55bd21340 HBASE-12862 Uppercase wals in RegionServer webUI 2015-01-16 11:12:14 -08:00
zhangduo 7309bb4317 HBASE-12863 Master info port on RS UI is always 0
Signed-off-by: Enis Soztutar <enis@apache.org>
2015-01-16 10:45:38 -08:00
Matteo Bertozzi 621b33f2f9 HBASE-12773 Add warning message when user is trying to bulkload a large HFile (Srikanth Srungarapu) 2015-01-15 23:13:47 +00:00
tedyu eafc07a06d HBASE-12848 Utilize Flash storage for WAL 2015-01-15 08:52:30 -08:00
Enis Soztutar 51575197de HBASE-12844 ServerManager.isServerReacable() should sleep between retries 2015-01-14 15:45:46 -08:00
Rajeshbabu Chintaguntla 7e872a81a9 HBASE-12847 TestZKLessSplitOnCluster frequently times out in 0.98 builds(Rajeshbabu) 2015-01-15 00:00:37 +05:30
Misty Stanley-Jones 1a21c1684c HBASE-11533 Asciidoc Proof of Concept 2015-01-13 22:32:29 -08:00
stack 608025ae67 HBASE-7541 Convert all tests that use HBaseTestingUtility.createMultiRegions to HBA.createTable (Jonathan Lawlor) 2015-01-13 22:10:12 -08:00
Nick Dimiduk 9b7f36b8cf HBASE-11983 HRegion constructors should not create HLog 2015-01-13 15:07:59 -08:00
Virag Kothari 4ac457a7bc HBASE-12480 Regions in FAILED_OPEN/FAILED_CLOSE should be processed on master failover 2015-01-13 11:03:16 -08:00
tedyu 72a6a670ac HBASE-12849 LoadIncrementalHFiles should use unmanaged connection in branch-1 2015-01-13 10:51:56 -08:00
tedyu e5f3dd682f HBASE-11144 Filter to support scanning multiple row key ranges (Jiajia Li) 2015-01-13 07:02:06 -08:00
Andrew Purtell e52d8f85c4 HBASE-12838 After HBASE-5162 RSRpcServices accidentally applies mutations twice 2015-01-12 11:45:36 -08:00
Rajeshbabu Chintaguntla 5b850caa80 HBASE-12791 HBase does not attempt to clean up an aborted split when the regionserver shutting down(Rajeshbabu) 2015-01-12 01:04:26 +05:30
tedyu f6a017ce63 HBASE-12798 Map Reduce jobs should not create Tables in setConf() (Solomon Duskis) 2015-01-10 14:23:03 -08:00
tedyu 988cba762a HBASE-12834 Promote ScanType to LimitedPrivate 2015-01-09 15:35:14 -08:00
Nick Dimiduk 4bfd35aabc HBASE-12825 CallRunner exception messages should include destination host:port 2015-01-08 18:40:01 -08:00
Enis Soztutar 4d7c65ae84 HBASE-12824 CompressionTest fails with org.apache.hadoop.hbase.io.hfile.AbstractHFileReader: Not seeked to a key/value 2015-01-08 15:51:30 -08:00
Nick Dimiduk dde713ee4e HBASE-12071 Separate out thread pool for Master <-> RegionServer communication (Stephen Yuan Jiang) 2015-01-08 14:17:00 -08:00
tedyu 4ea490b63a HBASE-12811 [AccessController] NPE while scanning a table with user not having READ permission on the namespace (Ashish) 2015-01-08 09:06:12 -08:00
tedyu ee32eebeab HBASE-12819 ExportSnapshot doesn't close FileSystem instances 2015-01-08 08:51:25 -08:00
tedyu 9246af8dac HBASE-12796 Clean up HTable and HBaseAdmin deprecated constructor usage (Jurriaan Mous) 2015-01-08 07:49:28 -08:00
tedyu 645fbd7d87 HBASE-12817 Data missing while scanning using PREFIX_TREE data block encoding (Duo Zhang) 2015-01-07 18:45:09 -08:00
Virag Kothari 7dce0d5c45 HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula) 2015-01-07 10:57:47 -08:00
tedyu 45fc2bdd86 HBASE-10528 DefaultBalancer selects plans to move regions onto draining nodes (Churro Morales) 2015-01-06 12:33:28 -08:00
Sean Busbey 26e3e1b300 HBASE-12339 WALPerformanceEvaluation should have a log roller. 2015-01-06 08:22:48 -06:00
Lars Hofhansl 7774f964e6 HBASE-12779 SplitTransaction: Add metrics. 2015-01-05 17:13:58 -08:00
tedyu 2452d3861f HBASE-12802 Remove unnecessary Table.flushCommits() (Solomon Duskis) 2015-01-05 15:45:52 -08:00
tedyu 5b53a187d2 HBASE-12793 [hbck] closeRegionSilentlyAndWait() should log cause of IOException and retry until hbase.hbck.close.timeout expires (Esteban) 2015-01-05 15:05:35 -08:00
tedyu 37e1bb61f4 HBASE-12785 Use FutureTask to timeout the attempt to get the lock for hbck 2015-01-05 14:09:58 -08:00
Enis Soztutar 24bcebdeeb HBASE-12799 ITAG fails with java.lang.RuntimeException if table does not exist 2015-01-05 11:14:40 -08:00
tedyu 2ba6053163 HBASE-12804 ImportTsv fails to delete partition files created by it (Ashish) 2015-01-05 09:29:00 -08:00
tedyu ac95cc1fbb HBASE-12783 Create efficient RegionLocator implementation (Solomon Duskis) 2015-01-02 19:48:06 -08:00
Enis Soztutar 820f629423 HBASE-12028 Abort the RegionServer, when it's handler threads die (Alicia Ying Shu) 2015-01-02 13:07:57 -08:00
Sean Busbey a90e64c637 HBASE-12719 test provider to remove just the hdfs interactions from fshlog.
* Adds a provider that takes a config to determine if we actually do syncs, appends, and file rolls.
  - required relaxing some members of FSHLog from private to protected.
* Fixes DisabledWALProvider so it can be used as hbase.wal.provider in the wal perf eval tool.
2014-12-31 16:01:07 -06:00
Aditya Kishore 8514e2b20e HBASE-12775: CompressionTest ate my HFile 2014-12-30 16:14:59 -08:00
stack 305267b8e2 HBASE-12270 A bug in the bucket cache, with cache blocks on write enabled (Liu Shaohui) 2014-12-30 14:43:19 -08:00
Jurriaan Mous baa2d05374 HBASE-12740 Improve performance of TestHBaseFsck
Signed-off-by: stack <stack@apache.org>
2014-12-30 14:29:46 -08:00
stack 734324e80f Revert "HBASE-12740 Improve performance of TestHBaseFsck"
Undo because Jurriaan Mous did update in meantime.

This reverts commit 042743fff0.
2014-12-30 12:19:57 -08:00
stack c6002ccd38 HBASE-12772 TestPerColumnFamilyFlush failing -- ADDENDUM 2014-12-30 11:37:31 -08:00
Jurriaan Mous 042743fff0 HBASE-12740 Improve performance of TestHBaseFsck
Signed-off-by: stack <stack@apache.org>
2014-12-30 10:37:43 -08:00
tedyu 57b1efaabe HBASE-12607 TestHBaseFsck#testParallelHbck fails running against hadoop 2.6.0 2014-12-30 09:33:54 -08:00
Lars Hofhansl 0513a21dc8 HBASE-12776 SpliTransaction: Log number of files to be split. 2014-12-29 20:38:09 -08:00
xieliang c24810eebe HBASE-12767 Fix a StoreFileScanner NPE in reverse scan flow 2014-12-30 11:55:11 +08:00
stack 02b0332650 HBASE-12772 TestPerColumnFamilyFlush failing 2014-12-29 15:47:20 -08:00
Esteban Gutierrez b2eea8cac6 HBASE-12695 JDK 1.8 compilation broken
Signed-off-by: stack <stack@apache.org>
2014-12-29 11:02:04 -08:00
Elliott Clark e5ca773f78 HBASE-12429 Add port to ClusterManager's actions. 2014-12-29 10:22:52 -08:00
stack 8dac7f9e6c HBASE-12762 Region with no hfiles will have the highest locality cost in LocalityCostFunction (cuijianwei) 2014-12-29 07:44:46 -08:00
tedyu fbdaf62bf8 HBASE-12716 A bug in RegionSplitter.UniformSplit algorithm (Weichen Ye) 2014-12-28 07:48:24 -08:00
tedyu 9abab54d8e HBASE-12764 TestPerColumnFamilyFlush#testCompareStoreFileCount may fail due to new table not available 2014-12-27 21:10:47 -08:00
stack 317d137452 HBASE-12763 Make it so there must be WALs for a server to be marked dead 2014-12-27 13:09:40 -08:00
Elliott Clark 8426f1f53a HBASE-12697 Don't use RegionLocationFinder if localityCost == 0 2014-12-26 11:13:28 -08:00
Jonathan M Hsieh 36bec4fa07 HBASE-12331 Shorten the mob snapshot unit tests (Jiajia Li) 2014-12-25 14:06:26 -08:00
Jonathan M Hsieh 917adbf0e5 HBASE-12698 Add mob cell count to the metadata of each mob file (Jingcheng Du) 2014-12-25 13:59:53 -08:00
Jonathan M Hsieh 9f1f8c3bc6 HBASE-12758 treat mob region as any other region when generating rs manifest 2014-12-24 08:18:48 -08:00
Jonathan M Hsieh 30424ec73f HBASE-12749 Tighten HFileLink api to enable non-snapshot uses 2014-12-24 04:54:47 -08:00
Jonathan M Hsieh a912a56b38 HBASE-12590 A solution for data skew in HBase-Mapreduce jobs (Weichen Ye) 2014-12-24 04:50:42 -08:00
Jonathan M Hsieh 9a829dc458 HBASE-12735 Refactor TestAcidGuarantees so it can live as unit test and as an integration test 2014-12-23 17:18:58 -08:00
Jurriaan Mous 4880e5d83b HBASE-12736
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:30:25 -08:00
Jurriaan Mous e92a9bf003 HBASE-12742
Signed-off-by: stack <stack@apache.org>
2014-12-23 10:14:16 -08:00
Devaraj Das 1c45d1cd9d HBASE-12012. Improve cancellation for the scan RPCs 2014-12-22 16:22:04 -08:00
stack 4d53fe5dcd HBASE-12734 TestPerColumnFamilyFlush.testCompareStoreFileCount is flakey (zhangduo) 2014-12-22 08:56:33 -08:00
tedyu fbf8b30aa6 HBASE-12741 AccessController contains a javadoc issue (Jurriaan Mous) 2014-12-22 08:32:37 -08:00
tedyu 51334fb951 HBASE-10201 Addendum fixes typo of putIfAbsent (Duo Zhang) 2014-12-21 07:22:41 -08:00
Jesse Yates e267db45ac HBASE-12703 Cleanup TestClientPushback for repeatability 2014-12-19 19:16:43 -08:00
stack feede7abd8 HBASE-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt) 2014-12-19 17:47:11 -08:00
Enis Soztutar 40fb2e9219 HBASE-12720 Make InternalScan LimitedPrivate (Vladimir Rodionov) 2014-12-19 13:57:51 -08:00
Enis Soztutar d3002c6a8e HBASE-12511 namespace permissions - add support from table creation privilege in a namespace 'C' (Huaiyu Zhu) 2014-12-19 13:04:39 -08:00
Andrew Purtell 9a7adafcdb HBASE-12724 Upgrade the interface audience of RegionScanner from Private to LimitedPrivate 2014-12-19 09:37:03 -08:00
Virag Kothari dceaa2589f Revert "HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula)"
This reverts commit b24991d7a0.
2014-12-19 08:39:52 -08:00
Sean Busbey f1c41e307e HBASE-5699 Adds multiple WALs per Region Server based on groups of regions. 2014-12-19 10:31:41 -06:00
stack 0c7d22439d Fix single javadoc warning in VisibilityController -- removed a '@return' 2014-12-19 08:22:00 -08:00
tedyu cfd7584eef HBASE-12715 getLastSequenceId always returns -1 (Duo Zhang) 2014-12-19 06:58:16 -08:00
Jonathan M Hsieh 4a6f1d9d6b HBASE-12718 Convert TestAcidGuarantees from a unit test to an integration test 2014-12-18 17:45:08 -08:00
Jonathan M Hsieh 33c27f4e03 HBASE-12718 Convert TestAcidGuarantees from a unit test to an integration test 2014-12-18 17:21:23 -08:00
Virag Kothari b24991d7a0 HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula) 2014-12-18 17:00:07 -08:00
Virag Kothari 3caae62390 Revert "HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula)"
This reverts commit 9ae615f82b.
2014-12-18 11:29:39 -08:00
Virag Kothari 9ae615f82b HBASE-12694 testTableExistsIfTheSpecifiedTableRegionIsSplitParent in TestSplitTransactionOnCluster class leaves regions in transition (Vandana Ayyalasomayajula) 2014-12-18 11:24:26 -08:00
tedyu 15cf0a6e7b HBASE-12223 MultiTableInputFormatBase.getSplits is too slow (Yuanbo Peng) 2014-12-18 05:09:01 -08:00
Enis Soztutar 00f4ff420e HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken - ADDENDUM 2014-12-17 19:41:56 -08:00
Srikanth Srungarapu 072b2d659c HBASE-12640 Add Thrift-over-HTTPS and doAs support for Thrift Server 2014-12-17 16:12:48 -08:00
Jimmy Xiang d918570c80 Revert "Thrift Http implementation"
This reverts commit 1cf8521191.
2014-12-17 16:11:30 -08:00
Srikanth Srungarapu 1cf8521191 Thrift Http implementation 2014-12-17 16:06:19 -08:00
tedyu 6aa8b3727c HBASE-5162 Addendum to stabilize TestClientPushback 2014-12-17 12:37:40 -08:00
stack 422df8a3f4 HBASE-12645 HBaseTestingUtility is using ${$HOME} for rootDir (Varun Saxena) -- ADDENDUM 2014-12-17 10:53:50 -08:00
Andrew Purtell 99a11390b4 Amend HBASE-5162 Basic client pushback mechanism (Jesse Yates)
Applied hbase-5162-trunk-addendum.patch
2014-12-16 22:15:49 -08:00
Andrew Purtell 6a042c381a Revert "HBASE-5162 Basic client pushback mechanism (Jesse Yates); ADDENDUM"
This reverts commit f7154e1ac9.
2014-12-16 22:14:50 -08:00
stack f7154e1ac9 HBASE-5162 Basic client pushback mechanism (Jesse Yates); ADDENDUM 2014-12-16 21:09:52 -08:00
stack 89006f76f7 HBASE-12645 HBaseTestingUtility is using ${$HOME} for rootDir (Varun Saxena) 2014-12-16 16:41:27 -08:00
tedyu 885b065683 HBASE-10201 Addendum changes TestPerColumnFamilyFlush to LargeTest 2014-12-16 16:02:44 -08:00
zhangduo c7fad665f3 HBASE-10201 Port 'Make flush decisions per column family' to trunk
Signed-off-by: stack <stack@apache.org>
2014-12-16 11:49:17 -08:00
Jesse Yates a411227b0e HBASE-5162 Basic client pushback mechanism
Instead of just blocking the client for 90 seconds when the region gets too
busy, it now sends along region load stats to the client so the client can
know how busy the server is. Currently, its just the load on the memstore, but
it can be extended for other stats (e.g. cpu, general memory, etc.).

It is then up to the client to decide if it wants to listen to these stats.
By default, the client ignores the stats, but it can easily be toggled to the
built-in exponential back-off or users can plug in their own back-off
implementations
2014-12-16 11:14:30 -08:00
stack e5d813c46b HBASE-9431 Set 'hbase.bulkload.retries.number' to 10 as HBASE-8450 claims 2014-12-16 11:11:14 -08:00
Rajeshbabu Chintaguntla 96c6b9815d HBASE-12696 Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true(Rajeshbabu) 2014-12-16 08:38:15 +05:30
Ashish Singhi 110c5f5930 HBASE-12348 preModifyColumn and preDeleteColumn in AC denies user to perform its operation though it has required rights
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-12-15 17:43:19 -08:00
tedyu 065d03b784 HBASE-12685 TestSplitLogManager#testLogFilesAreArchived sometimes times out due to race condition 2014-12-15 11:49:39 -08:00
Jonathan M Hsieh 3a652ba41c HBASE-12692 NPE from SnapshotManager#stop (Ashish Singhi) 2014-12-15 11:17:59 -08:00
Enis Soztutar afb753ecc3 HBASE-12683 Compilation with hadoop-2.7.0-SNAPSHOT is broken 2014-12-15 11:09:20 -08:00
Jonathan M Hsieh c1eacd6221 HBASE-12691 Mob Sweeper job needs to exit with non-zero error value if job fails for any reason 2014-12-15 03:56:50 -08:00
Misty Stanley-Jones db873f0886 HBASE-12677 Update replication docs to clarify terminology 2014-12-15 15:44:26 +10:00
stack 029768287a HBASE-12422 Use ConnectionFactory in HTable constructors Fix method signature in test 2014-12-14 19:42:15 -08:00
Enis Soztutar 743d16138e HBASE-12679 Add HBaseInterfaceAudience.TOOLS and move some of the Public classes to LimitedPrivate 2014-12-14 17:46:30 -08:00
tedyu 65830b096b HBASE-12659 Replace the method calls to grant and revoke in shell scripts with AccessControlClient (Srikanth Srungarapu) 2014-12-13 10:17:43 -08:00
tedyu b24518562a HBASE-12644 Visibility Labels: issue with storing super users in labels table (Jerry He) 2014-12-13 09:10:50 -08:00
Enis Soztutar a0e473730e HBASE-12678 HBCK should print command line arguments 2014-12-12 13:17:06 -08:00
Jurriaan Mous 3275b964c1 HBASE-12668 Adapt PayloadCarryingRpcController so it can also be used in an async way
Signed-off-by: stack <stack@apache.org>
2014-12-12 07:44:04 -08:00
stack da2b5a9627 HBASE-12373 Provide a command to list visibility labels (Jerry He) 2014-12-11 15:18:03 -08:00
Matteo Bertozzi 7030d2187d HBASE-12674 Add permission check to getNamespaceDescriptor() 2014-12-11 17:43:51 +00:00
Jonathan M Hsieh bd5b3e92de HBASE-12540 TestRegionServerMetrics#testMobMetrics test failure (Jingcheng Du and Jiajia Li) 2014-12-10 19:43:59 -08:00
Jeffrey Zhong f67162547d HBASE-12485 Maintain SeqId monotonically increasing 2014-12-10 17:30:00 -08:00
Jonathan M Hsieh 30bc7d5598 HBASE-12646 SnapshotInfo tool does not find mob data in snapshots
Adds MobPath to HFileLink Resolver
2014-12-10 11:46:02 -08:00
Matteo Bertozzi 8ab96c40d8 HBASE-12663 unify getTableDescriptors() and listTableDescriptors 2014-12-10 15:15:53 +00:00
stack df22270756 HBASE-12665 When aborting, dump metrics
Add some fixup of checkstyle fails
2014-12-09 21:01:15 -08:00
tedyu 9b808155e3 HBASE-12553 request value is not consistent for restoreSnapshot in audit logs (Ashish) 2014-12-09 20:40:18 -08:00
Andrew Purtell 011442edda HBASE-12454 Setting didPerformCompaction early in HRegion#compact 2014-12-09 17:06:04 -08:00
Nick Dimiduk cc8bdcb498 HBASE-12467 Master joins cluster but never completes initialization
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-12-09 16:32:11 -08:00
stack 1be63539f1 HBASE-12664 TestDefaultLoadBalancer.testBalanceCluster fails in CachedDNSToSwitchMapping -- ADDENDUM 2014-12-09 13:52:46 -08:00
Andrew Purtell 5537fce353 HBASE-11979 Compaction progress reporting is wrong (Esteban Gutierrez) 2014-12-09 12:46:35 -08:00
Nick Dimiduk e720c83557 HBASE-12652 Allow unmanaged connections in MetaTableAccessor (Solomon Duskis) 2014-12-09 11:27:34 -08:00
stack f9df6a2766 HBASE-12664 TestDefaultLoadBalancer.testBalanceCluster fails in CachedDNSToSwitchMapping 2014-12-09 11:06:23 -08:00
Rajeshbabu Chintaguntla 53493ff5db HBASE-12583 Allow creating reference files even the split row not lies in the storefile range if required - Addendum(Rajeshbabu) 2014-12-09 23:36:28 +05:30
Sean Busbey 33d79bb5ec HBASE-12655 WALPerformanceEvaluation should only add stat gathering listener once per WAL. 2014-12-09 09:52:12 -06:00
tedyu c42c36521d HBASE-12653 Move TestRegionServerOnlineConfigChange & TestConfigurationManager to Junit4 tests (Ashish) 2014-12-09 07:25:44 -08:00
Rajeshbabu Chintaguntla 0354128780 HBASE-12583 Allow creating reference files even the split row not lies in the storefile range if required(Rajeshbabu) 2014-12-09 18:59:13 +05:30
Matteo Bertozzi 8a2c84156a HBASE-12564 consolidate the getTableDescriptors() semantic 2014-12-09 12:06:00 +00:00
Andrew Purtell b4371252fe HBASE-12575 Sanity check table coprocessor classes are loadable 2014-12-08 18:18:22 -08:00
Jurriaan Mous a8e6461855 HBASE-12597
Signed-off-by: stack <stack@apache.org>
2014-12-08 15:40:09 -08:00
stack b8ab1b176c Revert "HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG"
Accidental commit. Reverting.

This reverts commit 2458be08ed.
2014-12-08 15:34:53 -08:00
stack 2458be08ed HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG 2014-12-08 15:04:59 -08:00
stack 4b1983c89d HBASE-12611 Create autoCommit() method and remove clearBufferOnFail (Solomon Duskis) 2014-12-08 11:01:28 -08:00
Elliott Clark da0e807dd3 HBASE-12574 Update replication metrics to not do so many map look ups. 2014-12-08 10:35:57 -08:00
tedyu 9e9be97af7 HBASE-12650 Move ServerName to hbase-common module - check in changed files 2014-12-08 07:08:44 -08:00
Enis Soztutar 87e4414004 HBASE-12647 Truncate table should work with C as well 2014-12-07 20:57:04 -08:00
Devaraj Das 9fd6db3703 HBASE-11903. Directly invoking split & merge of replica regions should be disallowed 2014-12-07 11:56:53 -08:00
Andrew Purtell bb15fd5fe0 HBASE-12606 Sanity check encryption configuration before opening WAL or onlining regions
Also disables IntegrationTestIngestWithEncryption if distributed
cluster configuration is missing prerequisites.
2014-12-06 21:46:43 -08:00
Devaraj Das ca0c1774c9 HBASE-12548. Improve debuggability of IntegrationTestTimeBoundedRequestsWithRegionReplicas 2014-12-06 18:18:03 -08:00
tedyu 415ad6b686 HBASE-12642 LoadIncrementalHFiles does not throw exception after hitting hbase.bulkload.retries.number setting 2014-12-05 18:39:58 -08:00
Gary Helmling 1ec6609b97 HBASE-12493 Make User and TokenUtil public 2014-12-05 13:04:54 -08:00
Andrew Purtell 09cd3d7bfb HBASE-10560 Per cell TTLs 2014-12-05 11:10:26 -08:00
Keith Winkler f83e25e180 HBASE-12565 Race condition in HRegion.batchMutate() causes partial data to be written when region closes
Signed-off-by: stack <stack@apache.org>
2014-12-05 10:17:34 -08:00
Matteo Bertozzi c8362a7bb2 HBASE-12622 user_permission should require global admin to display global and ns permissions 2014-12-05 10:45:30 +00:00
Enis Soztutar 08754f2c43 HBASE-12637 Compilation with Hadoop-2.4- is broken 2014-12-04 18:14:59 -08:00
Andrew Purtell e690a83d41 HBASE-12635 Delete acl notify znode of table after the table is deleted (Liu Shaohui) 2014-12-04 16:43:33 -08:00
Ashish Singhi 04444299ab HBASE-12634 Fix the AccessController#requireGlobalPermission(ns) with NS
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2014-12-04 14:12:26 +00:00
stack 52e35b4473 Add timeout on TestDefaultLoadBalancer#testBalancerCluster to see if we can stop it hanging as a zombie in precommit builds 2014-12-03 11:13:36 -08:00
Sean Busbey c5c395b68a HBASE-12623 removes unused code to upgrade from pre-0.96 to 0.96.
Removes both insertion of namespaces and migration of zookeeper data to protobufs.
2014-12-03 13:13:12 -06:00
stack d6b1d8cbf7 HBASE-12617 Running IntegrationTestBigLinkedList against cluster getting not an instance of org.apache.hadoop.hbase.MiniHBaseCluster 2014-12-03 10:37:32 -08:00
Ramkrishna 3db5e20834 HBASE-11639 - [Visibility controller] Replicate the visibility of Cells as
strings- Addendum adding break (Ram)
2014-12-03 10:18:27 +05:30
tedyu a8a134374e HBASE-12614 Potentially unclosed StoreFile(s) in DefaultCompactor#compact() 2014-12-02 19:31:21 -08:00
stack 54f438cee4 HBASE-12616 We lost the linked list commands in recent usage refactoring 2014-12-02 14:15:04 -08:00
stack 7a3396f0e1 HBASE-12490 Replace uses of setAutoFlush(boolean, boolean) (Solomon Duskis) 2014-12-02 10:06:21 -08:00
stack 1a9b556474 Revert "HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG"
This reverts commit 8b8f2026bd.

Overcommit. Added "HBASE-12490 Replace uses of setAutoFlush(boolean,
boolean)" by mistake

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClusterStatusListener.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
2014-12-02 09:51:19 -08:00
Elliott Clark 29ee0cb0e1 HBASE-12576 Add metrics for rolling the HLog if there are too few DN's in the write pipeline 2014-12-02 09:30:52 -08:00
stack 7b10847ec8 HBASE-12610 Close connection in TableInputFormatBase (Solomon Duskis) 2014-12-02 09:28:02 -08:00
tedyu 5cc0714840 HBASE-12559 Addendum fixes findbugs warnings 2014-12-02 04:43:34 -08:00
Enis Soztutar 94d57f81dc HBASE-12537 HBase should log the remote host on replication error (Stack) 2014-12-01 20:10:20 -08:00
anoopsjohn 33fc1918de HBASE-12591 Ignore the count of mob compaction metrics when there is issue.(Jiajia Li) 2014-12-02 07:14:39 +05:30
tedyu a30cca91e0 HBASE-12559 Provide LoadBalancer with online configuration capability 2014-12-01 14:11:01 -08:00
Jeffrey Zhong 2c280e6253 HBASE-12600: Remove REPLAY tag dependency in Distributed Replay Mode 2014-12-01 11:19:47 -08:00
Jeffrey Zhong 0733450473 Revert "Remove Replay Tag"
This reverts commit f723ffde7f.
2014-12-01 11:17:24 -08:00
Jeffrey Zhong f723ffde7f Remove Replay Tag 2014-12-01 10:59:47 -08:00
tedyu 2fbbdfd9a1 HBASE-12559 Revert for addressing review comments 2014-12-01 10:38:05 -08:00
stack 308db3a5c8 HBASE-12520 Add protected getters on TableInputFormatBase (Solomon Duskis) 2014-12-01 10:20:37 -08:00
stack 69a437ac0d HBASE-12514 Cleanup HFileOutputFormat legacy code (Solomon Duskis)
Signed-off-by: stack <stack@apache.org>
2014-12-01 10:15:51 -08:00
stack 56a03d736a HBASE-12603 Remove javadoc warnings introduced due to removal of unused imports (Varun Saxena) 2014-12-01 10:13:16 -08:00
Ramkrishna b6b88edf93 HBASE-11639 [Visibility controller] Replicate the visibility of Cells as
strings (Ram)
2014-12-01 23:03:52 +05:30
tedyu 41041e8d6a HBASE-12559 Provide LoadBalancer with online configuration capability 2014-12-01 07:30:17 -08:00
stack b94b0e9ca7 HBASE-12491 TableMapReduceUtil.findContainingJar() NPE 2014-11-29 09:34:00 -08:00
stack 555e78005d HBASE-12526 Remove unused imports (Varun Saxena) 2014-11-29 09:20:46 -08:00
stack 58b6b24c29 HBASE-12519 Remove tabs used as whitespace (Varun Saxena) 2014-11-28 20:50:02 -08:00
stack eb4c194a87 HBASE-10536 ImportTsv should fail fast if any of the column family passed to the job is not present in the table (denny joesph) 2014-11-28 20:42:24 -08:00
stack 0f8894cd64 HBASE-12581 TestCellACLWithMultipleVersions failing since task 5 HBASE-12404 (HBASE-12404 addendum) -- SLEEP ADDENDUM 2014-11-27 05:28:55 -08:00
stack aa0bd50fd4 HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- DISABLING FAILING TEST 2014-11-26 22:22:35 -08:00
Jeffrey Zhong f0d95e7f11 HBASE-12533: staging directories are not deleted after secure bulk load 2014-11-26 16:23:11 -08:00
Jeffrey Zhong b2cdeacc8c HBASE-12053: SecurityBulkLoadEndPoint set 777 permission on input data files 2014-11-26 16:19:22 -08:00
stack 595d2a846c HBASE-12589 Forward-port fix for TestFromClientSideWithCoprocessor.testMaxKeyValueSize 2014-11-26 14:43:32 -08:00
stack 1c0a06193e HBASE-12587 TestReplicationTrackerZKImpl.testPeerRemovedEvent timedout 2014-11-26 12:53:54 -08:00
Enis Soztutar 02963b202a HBASE-12072 Standardize retry handling for master operations 2014-11-26 12:09:44 -08:00
stack d1f39d8246 Revert "HBASE-12563 After Starting up mini hbase cluster, Real Configuration of Cluster never set to HBaseTestingUtility (Talat UYARER)"
Causes TestZooKeeper to fail.  Reverting.

This reverts commit 9be143691c.
2014-11-26 10:23:49 -08:00
stack b719e7a8c6 HBASE-12518 Task 4 polish. Remove CM#{get,delete}Connection
Remove deleteConnection from everywhere except the two tests that ensure
it does the right thing and from HCM and CM themselves.

Undoes deleteConnection from tests and from the web ui
2014-11-26 08:11:41 -08:00
stack 9be143691c HBASE-12563 After Starting up mini hbase cluster, Real Configuration of Cluster never set to HBaseTestingUtility (Talat UYARER) 2014-11-26 07:59:26 -08:00
stack 1350055fcd HBASE-12581 TestCellACLWithMultipleVersions failing since task 5 HBASE-12404 (HBASE-12404 addendum) 2014-11-26 07:53:35 -08:00
Matteo Bertozzi c57bc08082 HBASE-12474 Incorrect handling of default namespace in user_permission command (Srikanth Srungarapu) 2014-11-26 12:29:38 +00:00
stack 8b8f2026bd HBASE-12558 TestHCM.testClusterStatus Unexpected exception, expected<org.apache.hadoop.hbase.regionserver.RegionServerStoppedException> but was<junit.framework.AssertionFailedError> -- ADDED DEBUG 2014-11-25 21:21:50 -08:00
stack 24f19328eb HBASE-12581 TestCellACLWithMultipleVersions failing since task 5 HBASE-12404 (HBASE-12404 addendum) 2014-11-25 16:29:53 -08:00
stack e6b4300756 HBASE-12404 Task 5 from parent: Replace internal HTable constructor use with
HConnection#getTable (0.98, 0.99)

Replaced HTable under hbase-*/src/main/java. Skipped tests. Would take
till end of time to do all and some cases are cryptic. Also skipped
some mapreduce where HTable comes through in API. Can do both of
these stragglers in another issue.
Generally, if a utility class or standalone class, tried to pass in a
Connection rather than have the utility or standalone create its own
connection on each invocation; e.g. the Quota stuff. Where not possible,
noted where invocation comes from... if test or hbck, didn't worry about
it.
Some classes are just standalone and nothing to be done to avoid
a Connection setup per invocation (this is probably how it worked
in the new HTable...days anyways). Some classes are not used:
AggregationClient, FavoredNodes... we should just purge this stuff.
Doc on what short circuit connection does (I can just use it...
I thought it was just for short circuit but no, it switches dependent
on where you are connecting).
Changed HConnection to super Interface ClusterConnection where safe (
internal usage by private classes only).
Doc cleanup in example usage so we do new mode rather than the old
fashion.
Used java7 idiom that allows you avoid writing out finally to call close
on implementations of Closeable.
Added a RegistryFactory.. moved it out from being inner class.
Added a utility createGetClosestRowOrBeforeReverseScan method to Scan
to create a Scan that can ...
Renamed getShortCircuitConnection as getConnection – users don't need
to know what implementation does (that it can short-circuit RPC).
The old name gave pause. I was frightened to use it thinking it only
for short-circuit reading – that it would not do remote too.
Squashed commit of the following:
2014-11-25 08:15:20 -08:00
Elliott Clark e83082a888 HBASE-12550 ADDENDUM Make HRegion's api not change. 2014-11-24 16:11:48 -08:00
Elliott Clark 0df5ed2ca6 HBASE-12550 Check all storefiles are referenced before splitting
Summary: If there are bugs in HDFS move and/or create we should protect against them by making sure that all files referenced end up in split daughters.

Test Plan: Unit tests cover splits pretty well

Subscribers: matteobertozzi

Differential Revision: https://reviews.facebook.net/D29373
2014-11-24 09:58:43 -08:00
stack 336c22d581 HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99) under src/main/java
Move from HConnection to ClusterConnection or Connection
Use unmanaged connections where we use managed previous
(used the jdk7 https://docs.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html idiom).

In ZKConfig, synchronize on Configuration rather than make a copy.
Making a copy we were dropping hbase configs in certain test context
(could not find the zk ensemble because default port).

In tests, some move to the new style connection setup but mostly
fixes for premature connection close or adding cleanup where it
was lacking.
2014-11-24 09:46:28 -08:00
tedyu 7ee4df600b HBASE-12554 TestBaseLoadBalancer may timeout due to lengthy rack lookup 2014-11-21 16:52:11 -08:00
Enis Soztutar 882324dbcc HBASE-10671 Add missing InterfaceAudience annotations for classes in hbase-common and hbase-client modules 2014-11-21 11:44:46 -08:00
tedyu 890c067b66 HBASE-12552 listSnapshots should list only owned snapshots for non-super user 2014-11-21 10:54:05 -08:00
Matteo Bertozzi 325cdc0987 HBASE-12073 Shell command user_permission fails on the table created by user if he is not global admin (Srikanth Srungarapu) 2014-11-21 10:55:48 +00:00
Ramkrishna 10e4ef7402 HBASE-12543 Incorrect log info in the store compaction of mob (Jiajia Li) 2014-11-21 15:28:37 +05:30
anoopsjohn 83f9f39e2a HBASE-12346 Scan's default auths behavior under Visibility labels.(Jerry He) 2014-11-21 13:29:42 +05:30
Ramkrishna 170eb1e88d HBASE-12487 Explicitly flush the file name in sweep job (Jingcheng Du) 2014-11-21 08:53:27 +05:30
Ramkrishna 0166ed2676 HBASE-12486 - Move the mob table name tag to the 2nd one (Jingcheng Du) 2014-11-21 08:52:11 +05:30
stack c5690b1be3 HBASE-12541 Add misc debug logging to hanging tests in TestHCM and TestBaseLoadBalancer 2014-11-20 17:54:39 -08:00
Enis Soztutar a16b4e0fd5 HBASE-12549 Fix TestAssignmentManagerOnCluster#testAssignRacingWithSSH() flaky test 2014-11-20 16:17:06 -08:00
Sean Busbey cd08f8b2be HBASE-12516 Clean up QA Bot warnings
Signed-off-by: stack <stack@apache.org>
2014-11-20 15:12:30 -08:00
tedyu d2ff1269f9 HBASE-11099 Two situations where we could open a region with smaller sequence number (Stephen Jiang) 2014-11-20 14:43:16 -08:00
tedyu 7eefd0cbed HBASE-12464 meta table region assignment stuck in the FAILED_OPEN state due to region server not fully ready to serve (Stephen Jiang) 2014-11-20 09:58:42 -08:00
Nick Dimiduk b6dd9b441f HBASE-12539 HFileLinkCleaner logs are uselessly noisy 2014-11-19 23:49:48 +01:00
Sean Busbey db2b6421ff HBASE-12535 NPE in WALFactory under contention for getInstance()
Signed-off-by: stack <stack@apache.org>
2014-11-19 14:39:46 -08:00
Matteo Bertozzi 05ced20a34 HBASE-12529 Use ThreadLocalRandom for RandomQueueBalancer 2014-11-19 16:50:29 +00:00
Matteo Bertozzi 3f95fe22e0 Patch up Jetty to disable SSLv3 (CVE-2014-3566) 2014-11-19 16:40:18 +00:00
stack 640274d5e1 HBASE-12532 TestFilter failing occasionally with ExitCodeException doing chmod since HBASE-10378 ADDENDUM 2014-11-18 23:41:35 -08:00
stack d87c550b94 HBASE-12532 TestFilter failing occasionally with ExitCodeException doing chmod since HBASE-10378 2014-11-18 21:54:48 -08:00
stack 1e77dd9f7a Revert "HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99)" ADDENDUM 2014-11-18 21:40:21 -08:00
stack 5f391efda1 Revert "HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99)"
This reverts commit d3e7c3cfa9.
2014-11-18 16:30:52 -08:00
Andrew Purtell 22f29ca8ef HBASE-12496 A blockedRequestsCount metric (Yi Deng) 2014-11-18 14:14:31 -08:00
Lars Hofhansl 822bcce91e HBASE-12411 Optionally enable p-reads and private readers for compactions. 2014-11-18 12:42:49 -08:00
stack b94e6738d9 HBASE-10378 Refactor write-ahead-log implementation -- ADDEDNUM 2014-11-18 12:12:35 -08:00
Sean Busbey f5e05eb836 HBASE-10378 Refactor write-ahead-log implementation
Incompatible changes called out in release notes on jira.

* Cleaned up references to HLog
* Deprecates HLogKey but maintains it for compatibility
  - Moves all Writeable from WALKey to HLogKey
* Adds utility code to CoprocessorHost to help with evolving Coprocessor APIs
* RSRpcServices roll WAL call now requests the non-meta LogRoller roll all logs
  - rolls actually happen asynchronously
  - deprecated old api (and noted incompatible behavior change)
  - modified api in new Admin interface to reflect lack of return values.
* Moved WAL user facing API to "WAL"
  - only 1 sync offered
  - WALTrailer removed from API
* make provider used by the WALFactory configurable.
* Move all WAL requests to use opaque ids instead of paths
* WALProvider provides API details for implementers and handles creation of WALs.
* Refactor WALActionsListener to have a basic implementation.
* turn MetricsWAL into a WALActionsListener.
* tests that needs FSHLog implementation details use them directly, others just reference provider + factory
  - Some tests moved from Large to Medium based on run time.
* pull out wal disabling into its own no-op class
* update region open to delegate to WALFactory
* update performance test tool to allow for multiple regions
* Removed references to meta-specific wals within wal code
  - replaced with generic suffixes
  - WALFactory maintains a dedicated WALProvider for meta (and so knows about the distinction)
* maintain backwards compat on HLogPrettyPrinter and mark it deprecated.
  - made WALPrettyPrinter IA.Private in favor of `bin/hbase wal`
* move WALUtil stuff that's implementation specific to said implementation
  - WALUtil now acts as an integration point between the RegionServer and hte WAL code.

Incorporates contributions from v.himanshu.

Signed-off-by: stack <stack@apache.org>
2014-11-18 12:04:41 -08:00
Enis Soztutar b97c3daf90 HBASE-12449 Use the max timestamp of current or old cell's timestamp in HRegion.append() 2014-11-18 11:34:49 -08:00
stack d3e7c3cfa9 HBASE-12471 Task 4. replace internal ConnectionManager#{delete,get}Connection use with #close, #createConnection (0.98, 0.99) 2014-11-18 09:48:54 -08:00
tedyu 0eb07609b6 HBASE-12337 Import tool fails with NullPointerException if clusterIds is not initialized 2014-11-18 09:18:25 -08:00
Nick Dimiduk 1276af23d5 HBASE-12459 Use a non-managed Table in mapred.TableOutputFormat 2014-11-17 08:36:08 +01:00
stack 0255fc2bf1 HBASE-12359 MulticastPublisher should specify IPv4/v6 protocol family when creating multicast channel (Qiang Tian) 2014-11-14 21:55:15 -08:00
tedyu 9583d14747 HBASE-12478 HBASE-10141 and MIN_VERSIONS are not compatible 2014-11-14 16:36:56 -08:00
Lars Hofhansl c29318c038 Revert "HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow compaction."
This reverts commit 231d3ee2ad.
2014-11-13 09:18:21 -08:00
Lars Hofhansl 9d634772fa Revert "Amend HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow compaction; Test import fix"
This reverts commit f6d8cde1e4.
2014-11-13 09:17:56 -08:00
Andrew Purtell f6d8cde1e4 Amend HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow compaction; Test import fix 2014-11-13 08:09:41 -08:00
Lars Hofhansl 231d3ee2ad HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow compaction. 2014-11-12 22:49:00 -08:00
Enis Soztutar f641aada36 HBASE-12445 hbase is removing all remaining cells immediately after the cell marked with marker = KeyValue.Type.DeleteColumn via PUT (Hani Nadra) 2014-11-12 15:50:10 -08:00
Matteo Bertozzi a376c8da9d HBASE-12366 Add login code to HBase Canary tool (Srikanth Srungarapu) 2014-11-12 20:34:55 +00:00
Andrew Purtell 210f5a3b01 Revert "HBASE-12454 Setting didPerformCompaction early in HRegion#compact"
This reverts commit b0a434a5ce.
2014-11-12 12:30:57 -08:00
Andrew Purtell 05c1663392 HBASE-12461 FSVisitor logging is excessive (Nick Dimiduk) 2014-11-12 10:23:54 -08:00
Andrew Purtell b0a434a5ce HBASE-12454 Setting didPerformCompaction early in HRegion#compact 2014-11-12 09:47:46 -08:00
stack fb6c5c7fe8 HBASE-10483 Provide API for retrieving info port when hbase.master.info.port is set to 0 (Liu Shaohui) 2014-11-12 08:56:42 -08:00
Esteban Gutierrez 8327f145c9 HBASE-12447 Add support for setTimeRange for RowCounter and CellCounter (addendum)
Signed-off-by: stack <stack@apache.org>
2014-11-11 15:44:56 -08:00
stack 804444f892 HBASE-12455 Add 'description' to bean and attribute output when you do /jmx?description=true 2014-11-11 12:59:43 -08:00
Esteban Gutierrez 6c2a299657 HBASE-12447 Add support for setTimeRange for RowCounter and CellCounter
Signed-off-by: stack <stack@apache.org>
2014-11-11 11:17:23 -08:00
Andrew Purtell 7657090ad9 HBASE-12448 Fix rate reporting in compaction progress DEBUG logging 2014-11-07 18:36:43 -08:00
Andrew Purtell 440767ff55 Reduce the effective scope of CREATE and ADMIN permissions 2014-11-07 11:53:25 -08:00
Andrew Purtell 7718390703 HBASE-12424 Finer grained logging and metrics for split transactions 2014-11-07 11:32:01 -08:00
Niels Basjes cc71d35112 Generate Thrift code using a maven profile
Signed-off-by: stack <stack@apache.org>
2014-11-06 10:27:59 -08:00
stack c71244c02d HBASE-12329 Table create with duplicate column family names quietly succeeds (Jingcheng Du) 2014-11-05 17:32:21 -08:00
stack b0eaa92f5b HBASE-8707 Add LongComparator for filter (Liu Shaohui) 2014-11-05 16:56:43 -08:00
Andrew Purtell e1b82fe91f HBASE-12389 Reduce the number of versions configured for the ACL table 2014-11-05 09:28:11 -08:00
Andrew Purtell 9255d6fdc7 HBASE-12420 BucketCache logged startup message is egregiously large 2014-11-05 09:22:00 -08:00
Andrew Purtell 48fd0369e5 HBASE-12344 Split up TestAdmin 2014-11-05 09:18:04 -08:00
Lars Hofhansl ecd708671c HBASE-12363 Improve how KEEP_DELETED_CELLS works with MIN_VERSIONS. 2014-11-04 17:08:39 -08:00
stack 3587fe8324 HBASE-12423 Use a non-managed Table in TableOutputFormat (Solomon Duskis) 2014-11-04 16:25:16 -08:00
Matteo Bertozzi 7442e5bd62 HBASE-12414 Move HFileLink.exists() to base class 2014-11-04 12:33:29 +00:00
tedyu ab927b8e1a HBASE-10780 HFilePrettyPrinter#processFile should return immediately if file does not exist (Ashish Singhi) 2014-11-03 20:31:40 -08:00
Enis Soztutar 71f73fcd0b HBASE-12402 ZKPermissionWatcher race condition in refreshing the cache leaving stale ACLs and causing AccessDenied 2014-11-03 20:09:55 -08:00
Ashish Singhi f7adec0548 HBASE-4625 Convert @deprecated HBaseTestCase tests JUnit4 style tests
Signed-off-by: stack <stack@apache.org>
2014-11-03 15:58:56 -08:00
Nick Dimiduk b5764a8e74 HBASE-12399 Master startup race between metrics and RpcServer 2014-11-01 10:45:45 -07:00
Adrian Muraru a1f59d8e1b Replication gets stuck following a transient zookeeper error to remote peer cluster
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-10-31 17:59:29 -07:00
Nick Dimiduk b784f7db99 HBASE-12401 Add some timestamp signposts in IntegrationTestMTTR 2014-10-31 17:21:20 -07:00
Nick Dimiduk f5d6314c87 HBASE-12335 IntegrationTestRegionReplicaPerf is flaky 2014-10-31 17:12:21 -07:00
Andrew Purtell a62f543c65 HBASE-12361 Show data locality of region in table page (Liu Shaohui) 2014-10-31 15:41:57 -07:00
Enis Soztutar 997c1adc2f HBASE-12390 Change revision style from svn to git 2014-10-31 11:10:38 -07:00
Ashish Singhi cacdb89e03 HBASE-10870 Deprecate and replace HCD methods that have a 'should' prefix with a 'is' instead
Signed-off-by: stack <stack@apache.org>
2014-10-31 08:34:00 -07:00
Ramkrishna 8a8b7de760 HBASE-12392 Incorrect implementation of
CompactionRequest.isRetainDeleteMarkers(Jingcheng Du)
2014-10-31 15:43:58 +05:30
Ramkrishna 3876bb764d HBASE-12391 Correct a typo in the mob metrics (Jingcheng Du) 2014-10-31 15:00:17 +05:30
Esteban Gutierrez ba7344f5d1 HBASE-12219 Cache more efficiently getAll() and get() in FSTableDescriptors
Signed-off-by: stack <stack@apache.org>
2014-10-30 21:12:41 -07:00
Nick Dimiduk a71dd16a70 HBASE-9003 TableMapReduceUtil should not rely on org.apache.hadoop.util.JarFinder#getJar (Esteban Gutierrez)
Signed-off-by: stack <stack@apache.org>
2014-10-30 21:03:01 -07:00
Sean Busbey 646f1d5f8f HBASE-12388 Document behavior wrt coprocessors when wal gets empty waledits.
Signed-off-by: stack <stack@apache.org>
2014-10-30 19:32:12 -07:00