Commit Graph

9630 Commits

Author SHA1 Message Date
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
stack 703848ceea Add note to upgrade section on DLR 2014-12-01 15:36:56 -08:00
Sean Busbey b8fcf0ff21 Added Sean Busbey to the pom.xml 2014-12-01 16:52:40 -06:00
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 5985b48594 HBASE-12595 Use Connection.getTable() in table.rb (Solomon Duskis) 2014-11-29 12:52:44 -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 57b38339db HBASE-12580 Zookeeper instantiated even though we might not need it in the shell (Alex Newman) 2014-11-26 13:00:29 -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
Enis Soztutar 54627ea6dc HBASE-12128 Cache configuration and RpcController selection for Table in Connection 2014-11-26 12:07:49 -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 3078316ec5 Add note on how to disable integration tests running 2014-11-26 10:08:43 -08:00
stack 8df780db88 HBASE-12400 Fix refguide so it does connection#getTable rather than new HTable everywhere 2014-11-26 09:12:16 -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
Patrick White f2be914f73 HBASE-12569 Update scripts to control MaxDirectMemorySize via env vars
Signed-off-by: stack <stack@apache.org>
2014-11-24 23:57:46 -08:00
Elliott Clark e83082a888 HBASE-12550 ADDENDUM Make HRegion's api not change. 2014-11-24 16:11:48 -08:00
stack 7893c013bc HBASE-12495 Use interfaces in the shell scripts (solomon duskis) 2014-11-24 12:18:25 -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
Enis Soztutar 5911c030a5 HBASE-12560 [WINDOWS] Append the classpath from Hadoop to HBase classpath in bin/hbase.cmd 2014-11-21 22:07:10 -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