Commit Graph

3814 Commits

Author SHA1 Message Date
Enis Soztutar 1895f99faf HBASE-13812 Deleting of last Column Family of a table should not be allowed (ADDENDUM for failing unit test) 2015-06-01 11:43:47 -07:00
Enis Soztutar 0e6102a68c HBASE-13809 TestRowTooBig should use HDFS directory for its region directory (Stephen Yuan Jiang) 2015-05-30 17:13:05 -07:00
Enis Soztutar ae803d72fe HBASE-13812 Deleting of last Column Family of a table should not be allowed 2015-05-30 16:30:48 -07:00
Matteo Bertozzi 8ac8fb4476 HBASE-13789 ForeignException should not be sent to the client 2015-05-29 19:32:42 +01:00
Matteo Bertozzi d86f2fa3b2 HBASE-13759 Procedure v2 - Improve procedure yielding 2015-05-29 19:29:29 +01:00
Sean Busbey a016b23e85 HBASE-13728 Remove direct use of Hadoop's GenericOptionParser.
* In most cases, just shift to proper use of ToolRunner
* Fix timing issue in TestImportExport
** add some diagnostic logs to Import and TestImportExport
** when testing for WAL use under different durability requests, ignore meta edits.
* In the case of TestImportTsv make a local anonymous class so we can get at internals.
2015-05-29 12:38:52 -05:00
Matteo Bertozzi 18fef46901 HBASE-13779 Calling table.exists() before table.get() end up with an empty Result 2015-05-29 16:39:03 +01:00
tedyu f35b6c6b77 HBASE-13776 Setting illegal versions for HColumnDescriptor does not throw IllegalArgumentException (Yuhao Bi) 2015-05-29 07:35:02 -07:00
tedyu cca687d718 HBASE-13802 Addendum fixes checkstyle warning by removing the whitespace before the right parenthesis 2015-05-29 02:47:54 -07:00
tedyu 5646071c73 HBASE-13802 Procedure V2: Master fails to come up due to rollback of create namespace table (Stephen Jiang) 2015-05-29 02:37:22 -07:00
stack 325614220f HBASE-13616 Move ServerShutdownHandler to Pv2 2015-05-28 20:45:38 -07:00
tedyu 63d617a0cc HBASE-13800 TestStore#testDeleteExpiredStoreFiles should create unique data/log directory for each call (Stephen Jiang) 2015-05-28 19:30:36 -07:00
tedyu 365ddfaf58 HBASE-13797 Fix resource leak in HBaseFsck 2015-05-28 19:18:27 -07:00
Enis Soztutar eea28a334c HBASE-13801 Hadoop src checksum is shown instead of HBase src checksum in master / RS UI 2015-05-28 18:42:59 -07:00
Joao Girao d16d3afb60 HBASE-13718 added columns schema to table description in web view
Summary:
 * added a new table "Table Schema" on the table description page
 * per column, list all the key/values on the column description

Test Plan:
 * mvn test # and wait..
 * create a new table using hbase shell:
   * create 'mytesttable', {NAME=>'CF1'}, {NAME=>'CF2'}
 * open http://localhost:16010/table.jsp?name=mytesttable
 * check the "Table Schema" appears and lists the columns correctly

Reviewers: eclark, vicka.dudin

Differential Revision: https://reviews.facebook.net/D38649

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-05-28 17:07:42 -07:00
Matteo Bertozzi 4aa7209826 HBASE-13476 Procedure v2 - Add Replay Order logic for child procedures 2015-05-28 19:33:22 +01:00
Nick Dimiduk f0a1ca4a6f HBASE-13761 Optimize FuzzyRowFilter (Vladimir Rodionov) 2015-05-28 10:12:21 -07:00
Lars George 91a5090365 HBASE-13777 Table fragmentation display triggers NPE on master status page 2015-05-28 08:14:36 +02:00
Sean Busbey 353b046d6c HBASE-13710 Remove dependency on Hadoop's ReflectionUtil.
* copies ReflectionUtils.logThreadInfo and needed private methods from Hadoop
  branch-2, fixes minor issues specific to our use.
* updates HttpServer's use of RU.newInstance to use the HBase version.
  Side effect: previously, FilterInitializer instances that happened to also
  implement Configurable would have setConfiguration called. Such uses should
  instead rely on the mandatory FilterInitializer.initFilter method call.
2015-05-27 23:51:11 -05:00
ramkrishna eeb11b5327 HBASE-13393 - Optimize memstore flushing to avoid writing tag information
to hfiles when no tags are present. (Ram)
2015-05-28 10:00:59 +05:30
Enis Soztutar ef18d75d00 HBASE-13732 TestHBaseFsck#testParallelWithRetriesHbck fails intermittently (Stephen Yuan Jiang) 2015-05-27 17:06:58 -07:00
Sean Busbey 6529d8833d HBASE-13716 use HdfsConstants instead of deprecated FSConstants. 2015-05-27 16:15:23 -05:00
Sean Busbey 4cab6963b0 HBASE-13726 Use commons-io to cleanup Closeables instead of hadoop IOUtils. 2015-05-27 16:04:55 -05:00
Andrew Purtell 4070770243 HBASE-13780 Default to 700 for HDFS root dir permissions for secure deployments (Enis Soztutar) 2015-05-27 13:15:32 -07:00
Andrew Purtell 942e09b71e HBASE-13768 ZooKeeper znodes are bootstrapped with insecure ACLs in a secure configuration (Enis Soztutar) 2015-05-27 12:23:14 -07:00
anoopsjohn 9ee184b673 HBASE-13760 Cleanup Findbugs keySet iterator warnings. (Gabor Liptak) 2015-05-25 22:11:49 +05:30
anoopsjohn d45e0a7d41 HBASE-13734 Improper timestamp checking with VisibilityScanDeleteTracker. 2015-05-25 13:53:13 +05:30
anoopsjohn f28e395290 HBASE-13375 Provide HBase superuser higher priority over other users in the RPC handling. (Mikhail Antonov) 2015-05-23 21:12:47 +05:30
tedyu e93e1ea73c HBASE-13671 More classes to add to org.apache.hadoop.hbase.mapreduce.driver (li xiang) 2015-05-22 19:32:51 -07:00
Srikanth Srungarapu 7662980798 HBASE-13658 Improve the test run time for TestAccessController class (Ashish Singhi) 2015-05-22 14:25:16 -07:00
stack c2d73f02eb HBASE-13745 Say why a flush was requested in log message 2015-05-22 11:41:22 -07:00
Lars Hofhansl f8893e0012 HBASE-13703 ReplicateContext should not be a member of ReplicationSource. 2015-05-21 21:56:21 -07:00
tedyu b886bac53c HBASE-13733 Failed MiniZooKeeperCluster startup did not shutdown ZK servers (Stephen Jiang) 2015-05-21 14:04:31 -07:00
tedyu a9cf353c75 HBASE-13741 Disable TestRegionObserverInterface#testRecovery and testLegacyRecovery (Stephen Jiang) 2015-05-21 13:59:09 -07:00
stack e1e8434340 HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered 2015-05-21 11:06:27 -07:00
tedyu cb1ef915df HBASE-13731 TestReplicationAdmin should clean up MiniZKCluster resource (Stephen Jiang) 2015-05-21 10:27:21 -07:00
Lars Francke d16f349a63 HBASE-13645: Rename *column methods in MasterObserver to *columnFamily
Signed-off-by: stack <stack@apache.org>
2015-05-21 10:11:56 -07:00
anoopsjohn 6c3fd34475 HBASE-13641 Deperecate Filter#filterRowKey(byte[] buffer, int offset, int length) in favor of filterRowKey(Cell firstRowCell). 2015-05-21 16:50:42 +05:30
anoopsjohn d69807663c HBASE-13642 Deprecate RegionObserver#postScannerFilterRow CP hook with byte[],int,int args in favor of taking Cell arg. 2015-05-21 13:36:12 +05:30
anoopsjohn 5e06ede3f7 HBASE-13679 Change ColumnTracker and SQM to deal with Cell instead of byte[], int, int. 2015-05-21 10:24:08 +05:30
Enis Soztutar eddabdd353 HBASE-13709 Updates to meta table server columns may be eclipsed 2015-05-20 17:42:32 -07:00
stack e2e9ea5bd5 Revert "HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered"
Committed by mistake. Backing out till sure it good.

This reverts commit dc72dad7cd.
2015-05-20 13:25:49 -07:00
stack dc72dad7cd HBASE-5980 Scanner responses from RS should include metrics on rows/KVs filtered 2015-05-20 11:55:06 -07:00
anoopsjohn 88f19ab697 HBASE-13722 Avoid non static method from BloomFilterUtil. 2015-05-20 22:18:45 +05:30
tedyu 132573792d HBASE-13704 Hbase throws OutOfOrderScannerNextException when MultiRowRangeFilter is used (Aleksandr Maksymenko) 2015-05-19 20:22:53 -07:00
Enis Soztutar 0ef4a10882 HBASE-13717 TestBoundedRegionGroupingProvider#setMembershipDedups need to set HDFS diretory for WAL (Stephen Yuan Jiang) 2015-05-19 19:03:19 -07:00
Lars Francke 1fcee86978 HBASE-13636 Remove deprecation for HBASE-4072 (Reading of zoo.cfg)
Signed-off-by: stack <stack@apache.org>
2015-05-19 16:32:32 -07:00
Esteban Gutierrez 74e5b26e57 HBASE-13694 CallQueueSize is incorrectly decremented until the response is sent
Signed-off-by: stack <stack@apache.org>
2015-05-19 09:22:31 -07:00
ramkrishna 5e7e626ef5 HBASE-13510 - Purge ByteBloomFilter (Ram) 2015-05-19 10:22:56 +05:30
Nick Dimiduk 92e66ef522 HBASE-13609 TestFastFail is still failing 2015-05-18 12:46:52 -07:00
Andrew Purtell f49111e5f8 HBASE-13668 TestFlushRegionEntry is flaky 2015-05-16 16:28:10 -07:00
Patrick White 3fa0bf3cb6 HBASE-13684 Allow mlockagent to be used when not starting as root
Fixes for mlockall_agent
changed init_str to options, to match the JVMTI docs
added support for running with no user (allow via adding user to limits.conf)

Signed-off-by: Elliott Clark <eclark@apache.org>
2015-05-16 12:38:20 -07:00
Apekshit(Appy) Sharma 988593857f HBASE-11927 Use Native Hadoop Library for HFile checksum. (Apekshit)
Signed-off-by: stack <stack@apache.org>
2015-05-15 11:40:23 -07:00
Matteo Bertozzi fec091a807 HBASE-13651 Handle StoreFileScanner FileNotFoundException 2015-05-15 18:57:58 +01:00
Andrey Stepachev 9ba7337ac8 HBASE-13646 HRegion#execService should not try to build incomplete messages 2015-05-14 13:21:48 +01:00
stack 94937ddaf2 HBASE-11830 TestReplicationThrottler.testThrottling failed on virtual boxes 2015-05-13 09:43:16 -07:00
eshcar 86b91997d0 HBASE-13071 Hbase Streaming Scan Feature
Signed-off-by: stack <stack@apache.org>
2015-05-13 08:23:39 -07:00
Lars Hofhansl 220ac141bf HBASE-13618 ReplicationSource is too eager to remove sinks. 2015-05-12 21:27:55 -07:00
Matteo Bertozzi befb46c4d5 HBASE-13662 RSRpcService.scan() throws an OutOfOrderScannerNext if the scan has a retriable failure 2015-05-12 17:47:04 +01:00
tedyu 89688d4a43 HBASE-13663 HMaster fails to restart 'HMaster: Failed to become active master' 2015-05-12 09:04:56 -07:00
Srikanth Srungarapu 9e131dfa8e HBASE-13571 Procedure v2 - client modify table sync 2015-05-11 23:07:15 -07:00
Enis Soztutar 59a6e031fb HBASE-13661 Correct binary compatibility issues discovered in 1.1.0RC0 2015-05-11 18:28:29 -07:00
Matteo Bertozzi 30ecf990fe HBASE-13606 AssignmentManager.assign() is not sync in both path 2015-05-12 00:13:29 +01:00
Elliott Clark c3f83a9eff HBASE-13635 Regions stuck in transition because master is incorrectly assumed dead
Summary:
Requests to tell master that meta is moved can be blocked behind other requests that are trying to mutate meta.
This causes a dead lock and the master is assumed dead. However the master stays up the whole time.

This patch adds prioritization onto reporting meta moves. It should allow meta to make progress.

Test Plan: unit tests.

Differential Revision: https://reviews.facebook.net/D38109
2015-05-11 15:21:17 -07:00
Jerry He 174632111c HBASE-13217 Procedure fails due to ZK issue 2015-05-11 14:19:13 -07:00
Lars Francke fa6dc9c44e HBASE-13634 Avoid unsafe reference equality checks to EMPTY byte[]
Add comment

Signed-off-by: stack <stack@apache.org>
2015-05-11 10:55:48 -07:00
Lars Francke ec51d7b2e6 HBASE-1989 Admin (et al.) not accurate with Column vs. Column-Family
usage

Fix check style issues & rename parameter

Incorporate comments

Signed-off-by: stack <stack@apache.org>
2015-05-11 09:46:28 -07:00
stack b03ff8ccca Revert "Rename & deprecate everything in Admin"
Revert because does not cite associated JIRA in commit message (my
fault)

This reverts commit 2ad4114149.
2015-05-11 09:45:33 -07:00
Sean Busbey 9aeafe30b7 HBASE-13611 update clover profile to work with clover 4.x and maven 3.
* change pom to use a maven 3 compat version of clover
* add clover to javadoc plugin deps so that instrumented doclet works
* modify IA annotation test to filter out clover instrumentation
* make splitlog counters check for atomiclong before casting
2015-05-11 01:01:57 -05:00
Lars Francke 8e5a183256 HBASE-13655 Deprecate duplicate getCompression methods in HColumnDescriptor (Lars Francke <lars.francke@gmail.com>)
Recommit after commit missing JIRA
Signed-off-by: stack <stack@apache.org>
2015-05-10 22:52:10 -07:00
stack 17b6f59a98 Revert "Deprecate old methods"
Revert commit of HBASE-13655 Deprecate duplicate getCompression methods in HColumnDescriptor
I committed with bad commit message.

This reverts commit 5732bdb483.
2015-05-10 22:48:09 -07:00
Lars Francke 2ad4114149 Rename & deprecate everything in Admin
Fix check style issues & rename parameter

Incorporate comments

Signed-off-by: stack <stack@apache.org>
2015-05-10 20:47:12 -07:00
Lars Francke 5732bdb483 Deprecate old methods
Add proper JIRA

Signed-off-by: stack <stack@apache.org>
2015-05-10 20:11:12 -07:00
tedyu 7bdacf53f4 HBASE-13653 Uninitialized HRegionServer#walFactory may result in NullPointerException at region server startup​ 2015-05-10 07:37:07 -07:00
Sean Busbey 5a2ca43fa1 HBASE-13612 TestRegionFavoredNodes should guard against setup failure. 2015-05-09 14:13:54 -07:00
tedyu c90da7a81c HBASE-13593 Quota support for namespace should take snapshot restore and clone into account (Ashish Singhi) 2015-05-09 11:11:11 -07:00
Enis Soztutar 11b76732c0 HBASE-13576 HBCK enhancement: Failure in checking one region should not fail the entire HBCK operation. (Stephen Yuan Jiang) 2015-05-06 12:08:36 -07:00
tedyu a93ba89b5b HBASE-13625 Use HDFS for HFileOutputFormat2 partitioner's path (Stephen Yuan Jiang) 2015-05-06 07:31:15 -07:00
zhangduo 652929c0ff HBASE-13628 Use AtomicLong as size in BoundedConcurrentLinkedQueue 2015-05-06 14:51:22 +08:00
Josh Elser 2e132db85c HBASE-13591 Attempt to stabilize TestHBaseFsck 2015-05-05 15:37:19 -07:00
ramkrishna 977f867439 HBASE-10800 - Use CellComparator instead of KVComparator (Ram) 2015-05-05 11:38:10 +05:30
stack 25b5098da7 HBASE-13617 TestReplicaWithCluster.testChangeTable timeout (Stephen Yuan Jiang) 2015-05-04 17:15:35 -07:00
stack 2ee5f8f5fd HBASE-13464 Remove deprecations for 2.0.0 - Part 1 (Lars Francke) 2015-05-04 14:42:58 -07:00
Lars Hofhansl a4799acd6b HBASE-13333 Renew Scanner Lease without advancing the RegionScanner. 2015-05-02 17:48:32 -07:00
tedyu 807eba3e1a HBASE-13607 TestSplitLogManager.testGetPreviousRecoveryMode consistently failing (Josh Elser) 2015-05-02 07:14:10 -07:00
Andrew Purtell a6027aedb3 HBASE-13312 SmallScannerCallable does not increment scan metrics 2015-05-01 16:33:14 -07:00
Nick Dimiduk 9925e6df39 HBASE-13604 bin/hbase mapredcp does not include yammer-metrics jar 2015-05-01 09:15:16 -07:00
Matt Warhaftig d50d6d967d HBASE-13358 - Update VisibilityClient to accept Connection objects.
Signed-off-by: Srikanth Srungarapu <ssrungarapu@cloudera.com>
2015-04-30 21:28:01 -07:00
Lars Hofhansl 235dc9734f HBASE-13601 Connection leak during log splitting. (Abhishek Singh Chouhan) 2015-04-30 17:05:05 -07:00
Lars Hofhansl aabf6ea2f6 HBASE-13497 Remove MVCC stamps from HFile when that is safe. 2015-04-30 16:47:55 -07:00
Andrew Purtell 81e793e582 HBASE-13420 RegionEnvironment.offerExecutionLatency Blocks Threads under Heavy Load 2015-04-30 12:54:28 -07:00
ramkrishna 3a9c2b0c55 HBASE-13579 Avoid isCellTTLExpired() for NO-TAG cases (Ram) 2015-04-30 15:14:41 +05:30
stack 4120f657b9 HBASE-13564 Master MBeans are not published (Ashish Singhi) + Addendum 2015-04-29 11:35:31 -07:00
Nick Dimiduk 167f0f0480 Revert "HBASE-13564 Master MBeans are not published"
This reverts commit a725044644.
2015-04-29 09:14:59 -07:00
Devaraj Das b27e9e70be HBASE-13351. Annotate internal MasterRpcServices methods with admin priority (Josh Elser) 2015-04-28 23:38:28 -07:00
Rajeshbabu Chintaguntla e2f7508afd HBASE-13431 Allow to skip store file range check based on column family while creating reference files in HRegionFileSystem#splitStoreFile(Rajeshbabu) 2015-04-29 08:30:03 +05:30
Enis Soztutar 7348a05e99 HBASE-13585 HRegionFileSystem#splitStoreFile() finishes without closing the file handle in some situation (Stephen Yuan Jiang) 2015-04-28 17:27:46 -07:00
Matteo Bertozzi ee562faeb3 HBASE-13578 Remove Arrays.asList().subList() from FSHLog.offer() 2015-04-28 20:43:08 +01:00
Usha Kuchibhotla 94a00bea07 HBASE-11677 Making Logger instance modifiers consistent.
* IA.Public accessible logger instances deprecated
* logger instances modified by tests left in place
* all others made private static final

Signed-off-by: Sean Busbey <busbey@apache.org>
2015-04-28 09:20:34 -05:00
Ashish Singhi 84dd84fc58 HBASE-13572 Procedure v2 - client truncate table sync
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-04-28 12:46:06 +01:00