mbautin
00316a4a51
[jira] [HBASE-5744] Thrift server metrics should be long instead of int
...
Summary:
As we measure our Thrift call latencies in nanoseconds, we need to make
latencies long instead of int everywhere. There is a bug where we truncate a
nanosecond latency to int, which is a problem with RPCs that take more than
2.147483647 seconds to process.
This is a trunk diff. The 89-fb version of this diff is at D2679.
Test Plan:
TestThriftServer is updated to test for the failure case (an RPC is artificially
made to take 3 seconds). The new test case fails without the fix.
Re-run all unit tests.
Reviewers: stack, sc, Kannan, JIRA
Reviewed By: sc
Differential Revision: https://reviews.facebook.net/D2685
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311167 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 09:00:11 +00:00
larsh
720a974794
HBASE-5656 LoadIncrementalHFiles createTable should detect and set compression algorithm(Cosmin Lehene)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311106 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 21:34:19 +00:00
Michael Stack
2f06c667d3
HBASE-5618 SplitLogManager - prevent unnecessary attempts to resubmits
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310923 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:32:28 +00:00
Michael Stack
00781a6eb1
HBASE-5735 Clearer warning message when connecting a non-secure HBase client to a secure HBase server
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310914 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:15:40 +00:00
Zhihong Yu
7a0c1daf63
HBASE-5689 Skipping RecoveredEdits may cause data loss (Chunhui)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310788 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 15:30:59 +00:00
Zhihong Yu
915f2cd40d
HBASE-5736 ThriftServerRunner.HbaseHandler.mutateRow() does not use ByteBuffer correctly (Scott Chen)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310634 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 23:37:01 +00:00
Jonathan Hsieh
6d43887b88
HBASE-5734 Change hbck sideline root (Jimmy Xiang)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310625 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 22:41:10 +00:00
Nicolas Spiegelberg
20e281d7e1
HBASE-5743 Support GIT patches with Hadoop QA
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310600 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 21:40:15 +00:00
Michael Stack
af91c18d63
HBASE-5707 Move clusterid and clusterup (shutdown) znodes over to pb
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310568 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 20:15:10 +00:00
Michael Stack
4cc08fa5d6
HBASE-5709 Move active master and backup master znodes to use pbs
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310553 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 19:05:42 +00:00
Jonathan Hsieh
4317892dce
HBASE-5680 Improve compatibility warning about HBase with Hadoop 0.23.x
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310429 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 16:03:42 +00:00
Zhihong Yu
ccc24e39f9
HBASE-5615 revert due to race condition in case master dies
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310324 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 13:43:03 +00:00
Jonathan Hsieh
9b57215185
HBASE-4348 Add metrics for regions in transition (Himanshu Vashishtha)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310159 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 03:46:04 +00:00
Jonathan Hsieh
be245101ac
HBASE-5644 [findbugs] Fix null pointer warnings (Uma Maheswara Rao G)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310125 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 23:05:07 +00:00
Michael Stack
fa97600ea9
HBASE-5722 NPE in ZKUtil#getChildDataAndWatchForNewChildren when ZK not available or NW down.
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310104 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:09:41 +00:00
Michael Stack
1140530cc2
HBASE-5711 Tests are failing with incorrect data directory permissions -- RE-REVERT
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310102 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:06:05 +00:00
Michael Stack
8fd194d696
HBASE-5711 Tests are failing with incorrect data directory permissions -- OVER-REVERTED; UNDOING LAST COMMIT
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310097 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:04:26 +00:00
Michael Stack
050e8df896
HBASE-5711 Tests are failing with incorrect data directory permissions -- REVERT
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310095 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 22:02:38 +00:00
Michael Stack
e1449b5538
HBASE-5727 secure hbase build broke because of 'HBASE-5451 Switch RPC call envelope/headers to PBs
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310073 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 20:58:57 +00:00
Michael Stack
7ab743986f
HBASE-5724 Row cache of KeyValue should be cleared in readFields().
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310065 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 20:47:38 +00:00
Michael Stack
1f253c23fa
HBASE-5711 Tests are failing with incorrect data directory permissions.
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310050 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 20:20:55 +00:00
Michael Stack
de4f4aa9e4
HBASE-5715 Revert 'Instant schema alter' for now, HBASE-4213
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310012 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:57:09 +00:00
mbautin
569dc33d03
[jira] [HBASE-5731] Make max line length 100 in linter
...
Summary: We have switched to 100 characters per line in our Java files. Making
the change in the linter. The 89-fb version is D2625.
Test Plan: arc lint
Reviewers: JIRA, nspiegelberg, Kannan, Liyin, tedyu, stack
Reviewed By: Kannan
Differential Revision: https://reviews.facebook.net/D2631
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310006 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:44:17 +00:00
Michael Stack
3903a7202f
HBASE-5721 Update bundled hadoop to be 1.0.2 (it was just released)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309963 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 17:30:57 +00:00
Nicolas Spiegelberg
72dfa4207d
HBASE-5359 Alter in the shell can be too quick and return before the table is altered
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309611 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 21:53:12 +00:00
Michael Stack
753afe9de3
HBASE-5706 'Dropping fs latency stats since buffer is full' spam
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309457 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 15:36:28 +00:00
Zhihong Yu
5e07b71ed6
HBASE-5606 SplitLogManger async delete node hangs log splitting when ZK connection is lost
...
(Prakash)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309173 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 22:04:45 +00:00
Michael Stack
e72b67e20c
HBASE-5451 Switch RPC call envelope/headers to PBs
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1309019 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 16:26:50 +00:00
Michael Stack
b5b0116712
HBASE-5701 Put RegionServerDynamicStatistics under RegionServer in MBean hierarchy rather than have it as a peer
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308971 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 15:08:38 +00:00
Michael Stack
3d06717256
HBASE-5704 HBASE-4398 mistakenly rolled back on trunk
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308964 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 14:57:18 +00:00
Michael Stack
f1a09236ab
HBASE-5688 Convert zk root-region-server znode content to pb; DELETE RLE... causing build to fail because of RAT warnings
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308697 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 05:23:13 +00:00
Michael Stack
3d7e7f1626
HBase-5688 Convert zk root-region-server znode content to pb
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308681 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 04:42:54 +00:00
larsh
450583b9bd
HBASE-3134 [replication] Add the ability to enable/disable streams (Teruyoshi Zenmyo)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308675 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 04:14:46 +00:00
Michael Stack
f9802e4cdf
HBASE-5692 Add real action time for HLogPrettyPrinter
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308609 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 23:02:56 +00:00
Michael Stack
4e99cb4923
HBASE-5688 Convert zk root-region-server znode content to pb
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308560 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 21:00:47 +00:00
Michael Stack
3e23493543
HBASE-5665 Repeated split causes HRegionServer failures and breaks table
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308545 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 20:48:22 +00:00
Michael Stack
fe2f84dbb1
HBASE-5693 When creating a region, the master initializes it and creates a memstore within the master server
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308535 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 20:30:27 +00:00
Michael Stack
6135aa2d5a
HBASE-5694 getRowsWithColumnsTs() in Thrift service handles timestamps incorrectly
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308445 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 17:59:48 +00:00
Zhihong Yu
80722e7290
HBASE-5663 HBASE-5636 MultithreadedTableMapper doesn't work (Takuya Ueshin)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1308353 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 13:50:03 +00:00
larsh
86f8282bef
HBASE-5084 Clow different HTable instances to share one ExecutorService
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307661 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 00:26:22 +00:00
Jonathan Hsieh
81b15f1907
HBASE-5598 [findbugs] Exclude Protobuf warnings from wire compat patches
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307656 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 23:57:24 +00:00
Michael Stack
a99bd2c9ec
HBASE-5564 Bulkload is discarding duplicate records
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307629 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 21:44:08 +00:00
Michael Stack
c7c1dbeb65
HBASE-5443 Create PB protocols for HRegionInterface
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307625 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 21:38:44 +00:00
Zhihong Yu
229cf740b8
HBASE-5667 RegexStringComparator supports java.util.regex.Pattern flags (David Arthur)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307580 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 19:33:27 +00:00
larsh
f1a9b5bed1
HBASE-5542 Addendum - accidentally checked in .orig file
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307562 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 18:04:32 +00:00
Zhihong Yu
06e70aa877
HBASE-5573 Replace client ZooKeeper watchers by simple ZooKeeper reads (N Keywal)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307549 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 17:45:57 +00:00
Michael Stack
8ecfa1087c
HBASE-5673 The OOM problem of IPC client call cause all handle block; REVERT OF V2, A SECOND REVERT
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307513 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 16:33:26 +00:00
Zhihong Yu
2ecce6117e
HBASE-5655 Cap space usage of default log4j rolling policy (Himanshu)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307453 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 14:46:49 +00:00
Michael Stack
277e246110
HBASE-5673 The OOM problem of IPC client call cause all handle block; REAPPLY; V2 OF PATCH
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307277 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 05:33:19 +00:00
Michael Stack
81482cebb8
HBASE-5673 The OOM problem of IPC client call cause all handle block; REVERT -- APPLIED WRONG PATCH
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307270 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 05:30:47 +00:00