9194 Commits

Author SHA1 Message Date
Enis Soztutar
5ad5d0e8bc HBASE-12140 Add ConnectionFactory.createConnection() to create using default HBaseConfiguration. (Jean-Marc Spaggiari)) 2014-10-01 19:27:20 -07:00
Enis Soztutar
17b2c0f90e HBASE-12127 Move the core Connection creation functionality into ConnectionFactory (Solomon Duskis) 2014-10-01 19:02:56 -07:00
Matteo Bertozzi
e00492b2c6 HBASE-12120 HBase shell doesn't allow deleting of a cell by user with W-only permissions to it (Srikanth Srungarapu) 2014-10-02 02:32:25 +01:00
zhangduo
947f09a62b HBASE-12078 Missing Data when scanning using PREFIX_TREE DATA-BLOCK-ENCODING
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-10-01 17:03:23 -07:00
stack
9f33edab0e HBASE-12145 Fix javadoc and findbugs so new folks aren't freaked when they see them
Fix javadoc warnings.

Fixup findbugs warnings mostly by adding annotations saying 'working as expected'.

In RpcRetryingCallerWithReadReplicas made following change which findbugs spotted:

-        if (completed == null) tasks.wait();
+        while (completed == null) tasks.wait();

In RecoverableZooKeeper, made all zk accesses synchronized -- we were doing it
half-ways previously.

In RatioBasedCompactionPolicy we were making an instance of Random on
each invocation of getNextMajorCompactionTime

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionAdminServiceCallable.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RowTooBigException.java
2014-10-01 16:57:13 -07:00
Andrew Purtell
0fb931672f HBASE-12065 Import tool is not restoring multiple DeleteFamily markers of a row (Maddineni Sukumar) 2014-10-01 14:54:30 -07:00
Misty Stanley-Jones
b362dc71d6 HBASE-11930 Document new permission check to roll WAL writer (Jerry He) 2014-10-02 07:43:11 +10:00
stack
324e048ed0 HBASE-12130 HBASE-11980 calls hflush and hsync doing near double the syncing work 2014-10-01 14:12:14 -07:00
Elliott Clark
bb1d6ce437 HBASE-11804 Raise default heap size if unspecified 2014-10-01 13:39:37 -07:00
Ted Yu
bed04816a3 HBASE-12143 Minor fix for Table code (Solomon Duskis) 2014-10-01 20:30:52 +00:00
Elliott Clark
4efb03e6f5 HBASE-12139 StochasticLoadBalancer doesn't work on large lightly loaded clusters
Summary:
Currently the move cost overshadows the skew cost on a large cluster. This can render the split policy worse than useless
and it can trap meta on the most loaded server in the cluster.

Test Plan:
Unit tests everywhere
likeaboss

Reviewers: stack, manukranthk

Subscribers: tedyu

Differential Revision: https://reviews.facebook.net/D24285
2014-10-01 13:01:29 -07:00
Jimmy Xiang
6851bbc83d HBASE-12124 Closed region could stay closed if master stops at bad time 2014-10-01 08:56:29 -07:00
Ted Yu
d8a055e220 HBASE-12095 SecureWALCellCodec should handle the case where encryption is disabled 2014-10-01 14:21:30 +00:00
anoopsjohn
ebe74abda9 HBASE-12112 Avoid KeyValueUtil#ensureKeyValue some more simple cases. 2014-10-01 14:15:51 +05:30
Misty Stanley-Jones
50a3019255 HBASE-12049 Help for alter command is a bit confusing (Ashish Singhi) 2014-10-01 16:24:30 +10:00
Misty Stanley-Jones
3a4be7f2ac HBASE-12134 publish_hbase_website.sh script can delete the website accidentally 2014-10-01 15:46:21 +10:00
stack
7b64e7d7df HBASE-11879 Change TableInputFormatBase to take interface arguments (Solomon Duskis) 2014-09-30 21:26:14 -07:00
Nick Dimiduk
b30b34abe7 HBASE-12123 Failed assertion in BucketCache after 11331 2014-09-30 17:28:33 -07:00
stack
eb361fc33d HBASE-12038 Replace internal uses of signatures with byte[] and String tableNames to use the TableName equivalents (Solomon Duskis)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestTableLockManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaAdmin.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaTableUtil.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaThrottle.java
2014-09-30 16:44:29 -07:00
Jimmy Xiang
d7283ae8d5 HBASE-12119 Master regionserver web UI NOT_FOUND 2014-09-30 14:48:07 -07:00
manukranthk
2097f88eb0 HBASE-12115 Fix TableInputFormatBase.reverseDNS for ipv6 addresses
Summary: Hadoop's DNS.reverDns function cannot handle Inet6Address properly and throws Runtime Exceptions.

Test Plan: Added Unit test to test the particular case.

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

Signed-off-by: Elliott Clark <eclark@apache.org>
2014-09-30 13:32:21 -07:00
Enis Soztutar
2814f3b169 HBASE-12099 TestScannerModel fails if using jackson 1.9.13 (Esteban Gutierrez) 2014-09-30 11:34:34 -07:00
Nick Dimiduk
33a00c1308 HBASE-11178 Remove deprecation annotations from mapred namespace
Our parent project is not dropping its legacy API, so neither shall we. Remove
the deprecation annotations from that implementation.
2014-09-30 11:21:00 -07:00
Matteo Bertozzi
469bfdf95a HBASE-12098 User granted namespace table create permissions can't create a table (Srikanth Srungarapu) 2014-09-30 19:13:45 +01:00
stack
f719b57f76 HBASE-12096 In ZKSplitLog Coordination and AggregateImplementation replace enhaced for statements with basic for statement to avoid unnecessary object allocation 2014-09-30 08:11:10 -07:00
stack
2ce0884aca HBASE-12118 Explain how to grant permission to a namespace in grant command usage 2014-09-30 08:05:43 -07:00
stack
ddc6a42f0f HBASE-11980 Change sync to hsync, remove unused InfoServer, and reference our httpserver instead of hadoops 2014-09-29 22:29:09 -07:00
Enis Soztutar
1e821bc02a HBASE-12042 Replace internal uses of HTable(Configuration, String) with HTable(Configuration, TableName) (Solomon Duskis) 2014-09-29 19:39:18 -07:00
Jimmy Xiang
e7c610b94c HBASE-12034 If I kill single RS in branch-1, all regions end up on Master! 2014-09-29 17:12:43 -07:00
Nick Dimiduk
895768dd70 HBASE-12008 Remove IntegrationTestImportTsv#testRunFromOutputCommitter 2014-09-29 13:29:45 -07:00
anoopsjohn
97a458010d HBASE-12082 Find a way to set timestamp on Cells on the server. 2014-09-29 11:23:14 +05:30
anoopsjohn
4488dad561 HBASE-12079 Deprecate KeyValueUtil#ensureKeyValue(s). 2014-09-29 08:07:55 +05:30
Elliott Clark
10490bfbde HBASE-12110 Fix .arcconfig
Summary: Not many people are currently using arc but it's a nice tool for the developers who are used to it. Since it's already there let's make it work.

Test Plan: If this works then it's tested.

Differential Revision: https://reviews.facebook.net/D24075
2014-09-28 14:25:57 -07:00
Ramkrishna
8a7920ecdb HBASE-11920 Add CP hooks for ReplicationEndPoint 2014-09-28 15:58:57 +05:30
Lars Hofhansl
ae65975426 HBASE-11957 addendum 2; fix TestAssignmentManager 2014-09-27 21:07:46 -07:00
Lars Hofhansl
b58c66d596 HBASE-12090 Bytes: more Unsafe, more Faster. (Vladimir Rodionov) 2014-09-27 19:43:05 -07:00
Jeffrey Zhong
b22e670b49 HBASE-12052: BulkLoad Failed due to no write permission on input files - Addendum 2014-09-26 17:55:27 -07:00
Jeffrey Zhong
ae3e70b6e9 HBASE-12052: BulkLoad Failed due to no write permission on input files 2014-09-26 16:06:08 -07:00
Enis Soztutar
669bc49b47 HBASE-11995 Use Connection and ConnectionFactory where possible (Solomon Duskis) 2014-09-26 12:00:24 -07:00
Ted Yu
e5840e9517 HBASE-11948 graceful_stop.sh should use hbase-daemon.sh when executed on the decomissioned node (Sebastien Barrier) 2014-09-26 15:34:10 +00:00
David Deng
a01f1f8ef9 HBASE-12086 Fix bug of HTableMultipliexer
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-09-25 19:17:20 -07:00
stack
be6d354300 HBASE-12069 Finish making HFile.Writer Cell-centric; undo APIs that expect KV serializations
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileInlineToRootChunkConversion.java
2014-09-25 11:12:16 -07:00
anoopsjohn
50e5f13ec1 HBASE-12050 Avoid KeyValueUtil#ensureKeyValue from DefaultMemStore. 2014-09-25 17:45:15 +05:30
Andrew Purtell
dab2af79ea HBASE-11796 Add client support for atomic checkAndMutate (Srikanth Srungarapu) 2014-09-24 15:20:53 -07:00
Matteo Bertozzi
5e096c5dea HBASE-12054 bad state after NamespaceUpgrade with reserved table names 2014-09-24 19:42:13 +01:00
Andrew Purtell
8ff5f2548a HBASE-12077 FilterLists create many ArrayList objects per row (Lars Hofhansl)
Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
2014-09-24 11:14:14 -07:00
stack
1fbab729a3 HBASE-10748 hbase-daemon.sh fails to execute with 'sh' command 2014-09-24 09:21:36 -07:00
Elliott Clark
eca856bad6 HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 04:12:52 -07:00
Elliott Clark
91642eed82 HBASE-12076 Move InterfaceAudience imports to hbase-annotations 2014-09-24 04:01:58 -07:00
anoopsjohn
af35daac77 HBASE-12068 [Branch-1] Avoid need to always do KeyValueUtil#ensureKeyValue for Filter transformCell. 2014-09-24 13:17:34 +05:30