Sean Busbey [Mon, 7 Feb 2022 06:41:24 +0000 (00:41 -0600)]
HBASE-26737 addendum for parallel stage node label
Sean Busbey [Mon, 7 Feb 2022 05:47:44 +0000 (23:47 -0600)]
HBASE-26737 run PR checks on the hbase specific worker nodes (#16)
Bharath Vissapragada [Sun, 2 Aug 2020 20:42:58 +0000 (13:42 -0700)]
HBASE-24642 (addendum): Reduce make concurrency and increase container mem limit
Signed-off-by: Josh Elser <elserj@apache.org>
Bharath Vissapragada [Fri, 31 Jul 2020 04:14:23 +0000 (21:14 -0700)]
HBASE-24810: Download Boost with other dependencies
Signed-off-by: Josh Elser <elserj@apache.org>
Bharath Vissapragada [Mon, 3 Aug 2020 00:06:34 +0000 (17:06 -0700)]
HBASE-24642 (addendum): Do not run the container as root (#13)
This pollutes the permissions of output artifacts thus affecting the
final cleanup. This can potentially fill up disks on jenkins machines.
Also adds some additional debugging information related to the env.
Bharath Vissapragada [Thu, 30 Jul 2020 17:47:31 +0000 (10:47 -0700)]
HBASE-24724: Parallelize make with Yetus (#11)
Passes -j$(nproc) args to make compilation.
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Marc Parisi <phrocker@apache.org>
Bharath Vissapragada [Mon, 13 Jul 2020 16:21:45 +0000 (09:21 -0700)]
HBASE-24642: Apache Yetus test-patch and Jenkins integration. (#10)
Adds the plumbing needed to run test-patch tooling from Yetus.
Sample output (with a few failing tests).
| Vote | Subsystem | Runtime | Comment
============================================================================
+---------------------------------------------------------------------------
| | | | Prechecks
+---------------------------------------------------------------------------
+---------------------------------------------------------------------------
| | | | master Compile Tests
+---------------------------------------------------------------------------
| +1 | CMakeLists.txt | 2m 9s | master passed
| +1 | compile | 0m 44s | master passed
+---------------------------------------------------------------------------
| | | | Patch Compile Tests
+---------------------------------------------------------------------------
| +1 | CMakeLists.txt | 2m 3s | the patch passed
| +1 | compile | 13m 54s | the patch passed
+---------------------------------------------------------------------------
| | | | Other Tests
+---------------------------------------------------------------------------
| -1 | unit | 0m 34s | root in the patch failed.
| | | 21m 1s |
Reason | Tests
Failed CTEST tests | async-batch-rpc-retrying-test
| async-rpc-retrying-test
| client-test
| filter-test
| location-cache-retry-test
| location-cache-test
| scanner-test
Supports both docker and non-docker mode. Runs all the unit-tests
as a part of the test-patch run.
Additionally adds the Jenkins integration needed to run the precommit
on Apache infra. To be hooked up with the following job
https://builds.apache.org/view/H-L/view/HBase/job/hbase-native-client-github-precommit/
Signed-off-by: Marc Parisi <phrocker@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Bharath Vissapragada [Fri, 19 Jun 2020 20:42:51 +0000 (13:42 -0700)]
HBASE-24559: Fix test logging (#8)
1. Moved test-util/* to mini-cluster-util*
2. Implement a macro that is to be used by all tests. The macro adds
the initialization that can be exploited by all the unit tests
3. Misc fixes for classpath resolution.
4. Enforces boost min version to 1.6.1 for using
boost::dll::program_location
Ex: GLOG_logtostderr=1 ./async-batch-rpc-test // logs to stderr
Signed-off-by: Marc Parisi <phrocker@apache.org>
Bharath Vissapragada [Wed, 17 Jun 2020 19:33:37 +0000 (12:33 -0700)]
HBASE-24575: Cleanup the build directory structure (#9)
Switches the build layout to the following. Logically groups
all the build artifacts to make it easy to work with.
.
├── bin
├── CMakeCache.txt
├── CMakeFiles
├── cmake_install.cmake
├── CTestTestfile.cmake
├── dependencies
├── libs
├── Makefile
└── tests
Signed-off-by: Marc Parisi <phrocker@apache.org>
Bharath Vissapragada [Wed, 17 Jun 2020 19:02:31 +0000 (12:02 -0700)]
HBASE-24538: Simplify the lifecycle of mini cluster. (#7)
Cleans up unnecessary methods and moves the teardown of the mini cluster
to the d'tor so that an explicit cleanup is not needed. It is not prone
to the deadlocks mentioned in the jira anymore.
Signed-off-by: Marc Parisi <phrocker@apache.org>
Marc [Mon, 15 Jun 2020 16:22:40 +0000 (12:22 -0400)]
HBASE-24540: Leverage DOWNLOAD_DEPENDENCIES in docker build system (#5)
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Bharath Vissapragada [Fri, 12 Jun 2020 22:12:43 +0000 (15:12 -0700)]
HBASE-24539: Fix the classpath for mini-cluster (#4)
Fixes the classpath and HBaseTestingUtility c'tor invocation.
Promoted some local JNI refs to global to avoid GC cleaning them up.
Tested locally with a single unit-test that can bring-up the minicluster
up cleanly. There are other minicluster lifecycle issues that need to
be fixed (follow on patches) before we can fully use it.
Signed-off-by: Marc Parisi <phrocker@apache.org>
Marc Parisi [Mon, 1 Jun 2020 16:00:42 +0000 (12:00 -0400)]
HBASE-24400: Download folly, wangle, zookeeper, and protobuf
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Bharath Vissapragada [Wed, 6 May 2020 00:21:16 +0000 (17:21 -0700)]
HBASE-24261: Initial version of ASF infra integration configuration
This is an initial version of the yaml config for ASF infra
integration. We might have some hiccups in the beginning but we
can iteratively improve until the old (desired) setup is back
in place.
Ian Buss [Tue, 23 Apr 2019 17:52:49 +0000 (13:52 -0400)]
HBASE-22201 Fixing a number of issues with test cases (#1)
* fix classpath and meta region spec
* fix result-test failing on EstimatedSize assertion
* allow classpath to be set through env var
* update building instructions
* use correct classpath file for makefile test execution
* cleanup env between tests
* fix cell-tests which don't take string capacity into account with size estimates
xujunhong [Tue, 12 Mar 2019 02:11:41 +0000 (19:11 -0700)]
HBASE-22024 Clean up BUCK related things for C++ native client
Signed-off-by: Guanghao Zhang <zghao@apache.org>
xujunhong [Tue, 12 Mar 2019 12:11:25 +0000 (05:11 -0700)]
HBASE-22038 fix buiding failures
Signed-off-by: Guanghao Zhang <zghao@apache.org>
tedyu [Wed, 28 Feb 2018 18:19:54 +0000 (10:19 -0800)]
HBASE-20009 Add license header to krb5.conf
Marc Parisi [Thu, 21 Sep 2017 18:40:40 +0000 (14:40 -0400)]
HBASE-18901 [C++] Provide CMAKE infrastructure
* Provided cmake files for packages in which a default module
did not exist.
* Moved tests to a location where we could automatically build
the test suite.
* Resolved minor issues with tests
* Tested across OSX, RHEL7, and Ubuntu16
* Fix PROTOBUF_LIBRARY by removing static override in FindZookeeper
* Get the Dockerfile working again
Signed-off-by: Josh Elser <elserj@apache.org>
Enis Soztutar [Fri, 22 Sep 2017 18:23:59 +0000 (11:23 -0700)]
HBASE-18861 [C++] Use boost::optional instead of std::experimental::optional
Enis Soztutar [Sat, 16 Sep 2017 00:55:30 +0000 (17:55 -0700)]
HBASE-18725 [C++] Install header files as well as library - ADDENDUM to only install .h files for if/
Enis Soztutar [Tue, 12 Sep 2017 01:36:11 +0000 (18:36 -0700)]
HBASE-18725 [C++] Install header files as well as library
Enis Soztutar [Thu, 14 Sep 2017 21:07:34 +0000 (14:07 -0700)]
HBASE-18802 [C++] Remove hbase-macros.h
Enis Soztutar [Thu, 14 Sep 2017 19:27:45 +0000 (12:27 -0700)]
HBASE-18727 [C++] Don't link JNI/JVM stuff into libHbaseClient
tedyu [Fri, 8 Sep 2017 02:31:59 +0000 (19:31 -0700)]
HBASE-18579 Enable core dump by default for docker
tedyu [Fri, 8 Sep 2017 02:24:34 +0000 (19:24 -0700)]
HBASE-18777 Create one table for subtests in multi-retry-test
Enis Soztutar [Wed, 6 Sep 2017 23:29:18 +0000 (16:29 -0700)]
HBASE-18720 [C++] Update wangle dependency to pick up the new release with Apache License v2
Enis Soztutar [Fri, 1 Sep 2017 17:55:57 +0000 (10:55 -0700)]
HBASE-18507 [C++] Support for MultiPuts in AsyncBatchRpcRetryingCaller class (Sudeep Sunthankar)
Enis Soztutar [Fri, 1 Sep 2017 00:34:37 +0000 (17:34 -0700)]
HBASE-18728 [C++] The library should be named libHBaseClient, instead of libHbaseClient
Enis Soztutar [Wed, 23 Aug 2017 02:04:29 +0000 (19:04 -0700)]
HBASE-18204 [C++] Rpc connection close and reconnecting
Xiaobing Zhou [Tue, 22 Aug 2017 19:01:21 +0000 (12:01 -0700)]
HBASE-18578 [C++] Add pause for RPC test
Signed-off-by: Enis Soztutar <enis@apache.org>
tedyu [Tue, 15 Aug 2017 18:26:56 +0000 (11:26 -0700)]
HBASE-18603 buck complains about Build target path containing double slash
tedyu [Mon, 14 Aug 2017 23:15:22 +0000 (16:15 -0700)]
HBASE-18579 Enable core dump by default for docker -revert
tedyu [Mon, 14 Aug 2017 14:06:23 +0000 (07:06 -0700)]
HBASE-18579 Enable core dump by default for docker
Xiaobing Zhou [Fri, 11 Aug 2017 22:02:58 +0000 (15:02 -0700)]
HBASE-18576. [C++] Add ping for RPC test
Signed-off-by: Enis Soztutar <enis@apache.org>
Enis Soztutar [Fri, 11 Aug 2017 19:23:43 +0000 (12:23 -0700)]
HBASE-18565 [C++] Fix deadlock in AsyncScanRetryingCaller and other RPCs
Enis Soztutar [Fri, 11 Aug 2017 18:09:34 +0000 (11:09 -0700)]
HBASE-18537 [C++] Improvements to load-client
Enis Soztutar [Fri, 11 Aug 2017 17:47:56 +0000 (10:47 -0700)]
HBASE-18564 [C++] Problems compiling with GCC
Xiaobing Zhou [Tue, 8 Aug 2017 00:44:59 +0000 (17:44 -0700)]
HBASE-18078. [C++] Harden RPC by handling various communication abnormalities
Signed-off-by: Enis Soztutar <enis@apache.org>
Xiaobing Zhou [Tue, 8 Aug 2017 00:51:34 +0000 (17:51 -0700)]
HBASE-18536. [C++] Add fault injection infra
Signed-off-by: Enis Soztutar <enis@apache.org>
Enis Soztutar [Tue, 1 Aug 2017 23:02:20 +0000 (16:02 -0700)]
HBASE-18459 [C++] Fix Segfault in location-cache
Xiaobing Zhou [Fri, 28 Jul 2017 00:33:08 +0000 (17:33 -0700)]
HBASE-18466. [C++] Support handling exception in RpcTestServer
Signed-off-by: Enis Soztutar <enis@apache.org>
Enis Soztutar [Wed, 26 Jul 2017 21:01:01 +0000 (14:01 -0700)]
HBASE-18338 [C++] Implement RpcTestServer - ADDENDUM to fix rsync for new proto files
Enis Soztutar [Wed, 26 Jul 2017 19:18:05 +0000 (12:18 -0700)]
HBASE-18371 [C++] Update folly and wangle dependencies
tedyu [Mon, 24 Jul 2017 06:52:58 +0000 (23:52 -0700)]
HBASE-18086 Create native client which creates load on selected cluster
Enis Soztutar [Fri, 21 Jul 2017 23:46:54 +0000 (16:46 -0700)]
HBASE-18407 [C++] make Configuration::Set/GetBool work for both true/false and 1/0 (Xiaobing Zhou)
Enis Soztutar [Fri, 21 Jul 2017 23:29:44 +0000 (16:29 -0700)]
HBASE-18338 [C++] Implement RpcTestServer (Xiaobing Zhou)
Enis Soztutar [Wed, 19 Jul 2017 18:50:40 +0000 (11:50 -0700)]
HBASE-18061 [C++] Fix retry logic in multi-get calls (Sudeep Sunthankar)
Enis Soztutar [Wed, 19 Jul 2017 18:45:45 +0000 (11:45 -0700)]
HBASE-18400 [C++] ConnectionId Equals/Hash should consider service_name (Xiaobing Zhou) - ADDENDUM to reformat the code.
tedyu [Tue, 18 Jul 2017 21:11:43 +0000 (14:11 -0700)]
HBASE-18400 [C++] ConnectionId Equals/Hash should consider service_name (Xiaobing Zhou)
Enis Soztutar [Mon, 26 Jun 2017 21:30:49 +0000 (14:30 -0700)]
HBASE-18214 Replace the folly::AtomicHashMap usage in the RPC layer
Enis Soztutar [Mon, 26 Jun 2017 19:28:42 +0000 (12:28 -0700)]
HBASE-18236 [C++] Add batching and reporting to simple-client
tedyu [Wed, 21 Jun 2017 01:41:14 +0000 (18:41 -0700)]
HBASE-18210 Implement Table#checkAndDelete()
Enis Soztutar [Fri, 16 Jun 2017 18:55:51 +0000 (11:55 -0700)]
HBASE-18178 [C++] Retrying meta location lookup and zookeeper connection
Enis Soztutar [Fri, 16 Jun 2017 18:38:22 +0000 (11:38 -0700)]
HBASE-18188 [C++] Fix Handling do not retry exceptions
tedyu [Sat, 10 Jun 2017 00:19:57 +0000 (17:19 -0700)]
HBASE-18174 Implement Table#checkAndPut()
Enis Soztutar [Thu, 8 Jun 2017 00:49:47 +0000 (17:49 -0700)]
HBASE-18173 Append class - Addendum to fix formatting
tedyu [Tue, 6 Jun 2017 23:42:45 +0000 (16:42 -0700)]
HBASE-18173 Append class
tedyu [Tue, 6 Jun 2017 23:28:32 +0000 (16:28 -0700)]
HBASE-18126 Increment class - addendum changes table name for test
Enis Soztutar [Tue, 6 Jun 2017 22:16:09 +0000 (15:16 -0700)]
HBASE-17907 [C++] End to end Scans from Client/Table
tedyu [Tue, 6 Jun 2017 18:32:36 +0000 (11:32 -0700)]
HBASE-18126 Increment class - addendum creates TestToStringToInt64 in bytes-util-test
tedyu [Mon, 5 Jun 2017 23:33:48 +0000 (16:33 -0700)]
HBASE-18126 Increment class
Enis Soztutar [Sat, 3 Jun 2017 00:19:57 +0000 (17:19 -0700)]
HBASE-18153 [C++] Add valgrind to the docker image
tedyu [Fri, 2 Jun 2017 00:13:03 +0000 (17:13 -0700)]
HBASE-15903 Delete Object - addnedum moves misplaced sleep
tedyu [Thu, 1 Jun 2017 00:18:10 +0000 (17:18 -0700)]
HBASE-15903 Delete Object - addnedum makes PutGetDelete robust
Enis Soztutar [Wed, 31 May 2017 18:34:51 +0000 (11:34 -0700)]
HBASE-17860 Implement secure native client connection - ADDENDUM to remove Dockerfile
tedyu [Wed, 31 May 2017 18:13:14 +0000 (11:13 -0700)]
HBASE-15903 Delete Object
Scott Hunt [Tue, 30 May 2017 23:26:04 +0000 (16:26 -0700)]
HBASE-15602 Clean up using directives in cc files.
Signed-off-by: Enis Soztutar <enis@apache.org>
tedyu [Tue, 30 May 2017 21:31:23 +0000 (14:31 -0700)]
HBASE-17860 Implement secure native client connection
Enis Soztutar [Tue, 16 May 2017 18:43:04 +0000 (11:43 -0700)]
HBASE-17576 [C++] Implement request retry mechanism over RPC for Multi calls. (Sudeep Sunthankar)
Enis Soztutar [Fri, 28 Apr 2017 01:52:53 +0000 (18:52 -0700)]
HBASE-17800 [C++] handle exceptions in client RPC (Xiaobing Zhou and Enis Soztutar)
Enis Soztutar [Tue, 11 Apr 2017 13:14:41 +0000 (06:14 -0700)]
HBASE-17726 [C++] Move implementation from header to cc for request retry
Enis Soztutar [Wed, 29 Mar 2017 23:53:45 +0000 (16:53 -0700)]
HBASE-16365 [C++] End to end Table::Put()
Enis Soztutar [Wed, 29 Mar 2017 23:34:20 +0000 (16:34 -0700)]
HBASE-15894 [C++] Put and Mutation objects
Sudeep Sunthankar [Wed, 29 Mar 2017 05:55:21 +0000 (16:55 +1100)]
HBASE-17771 [C++] Classes required for implementation of BatchCallerBuilder
Signed-off-by: Enis Soztutar <enis@apache.org>
Enis Soztutar [Tue, 28 Mar 2017 20:52:31 +0000 (13:52 -0700)]
HBASE-17727 [C++] Make RespConverter work with RawAsyncTableImpl
Sudeep Sunthankar [Fri, 24 Mar 2017 04:58:58 +0000 (15:58 +1100)]
Adding methods to run a stand-alone HBase instance
Signed-off-by: Enis Soztutar <enis@apache.org>
Enis Soztutar [Sat, 18 Mar 2017 02:23:09 +0000 (19:23 -0700)]
HBASE-17754 [C++] RawAsyncTable
Enis Soztutar [Tue, 14 Mar 2017 21:35:22 +0000 (14:35 -0700)]
HBASE-17768 [C++] Makefile should recompile only the changed sources (Sudeep Sunthankar)
Enis Soztutar [Mon, 13 Mar 2017 21:21:24 +0000 (14:21 -0700)]
HBASE-17466 [C++] Test cleanup and minor improvements
tedyu [Wed, 8 Mar 2017 20:11:57 +0000 (12:11 -0800)]
HBASE-17728 Create separate build target for Configuration classes
Enis Soztutar [Tue, 7 Mar 2017 03:27:20 +0000 (19:27 -0800)]
HBASE-17741 [C++] rename some files to use (dash) instead of _
tedyu [Mon, 6 Mar 2017 22:59:39 +0000 (14:59 -0800)]
HBASE-17680 Run mini cluster through JNI in tests
Enis Soztutar [Sat, 4 Mar 2017 03:15:16 +0000 (19:15 -0800)]
HBASE-17465 [C++] implement request retry mechanism over RPC (Xiaobing Zhou)
Enis Soztutar [Sat, 25 Feb 2017 00:30:52 +0000 (16:30 -0800)]
HBASE-17629 [C++] Timeouts and retry configuration for connections
Enis Soztutar [Fri, 24 Feb 2017 22:18:18 +0000 (14:18 -0800)]
HBASE-17226 [C++] Filter and Query classes
Enis Soztutar [Tue, 14 Feb 2017 02:52:04 +0000 (18:52 -0800)]
HBASE-17612 [C++] Set client version info in RPC header
Enis Soztutar [Tue, 14 Feb 2017 02:50:36 +0000 (18:50 -0800)]
HBASE-17585 [C++] Use KVCodec in the RPC request/response
Enis Soztutar [Thu, 9 Feb 2017 19:26:47 +0000 (11:26 -0800)]
HBASE-17278 [C++] Cell Scanner and KeyValueCodec for encoding cells in RPC (Sudeep Sunthankar and enis)
Enis Soztutar [Tue, 24 Jan 2017 23:41:34 +0000 (15:41 -0800)]
HBASE-17485 [C++] Zookeeper quorum and znode lookup made configurable (Sudeep Sunthankar & enis)
Enis Soztutar [Tue, 24 Jan 2017 23:38:43 +0000 (15:38 -0800)]
HBASE-17503 [C++] Configuration should be settable and used w/o XML files
Sudeep Sunthankar [Tue, 17 Jan 2017 12:57:16 +0000 (23:57 +1100)]
HBASE-17481 [C++] cpplint should use line wrapping of 100
Signed-off-by: Enis Soztutar <enis@apache.org>
Enis Soztutar [Thu, 19 Jan 2017 23:01:11 +0000 (15:01 -0800)]
HBASE-15705 Add on meta cache (Mikhail Antonov)
Enis Soztutar [Sat, 14 Jan 2017 01:42:10 +0000 (17:42 -0800)]
HBASE-17219 [C++] Reformat the code according to the style guidelines - ADDENDUM after HBASE-17395
Enis Soztutar [Sat, 14 Jan 2017 00:03:30 +0000 (16:03 -0800)]
HBASE-17315 [C++] HBase Client and Table Implementation (Sudeep Sunthankar)
Enis Soztutar [Fri, 13 Jan 2017 19:29:00 +0000 (11:29 -0800)]
HBASE-17463 [C++] RpcClient should close the thread pool
Sudeep Sunthankar [Wed, 11 Jan 2017 09:44:39 +0000 (20:44 +1100)]
HBASE-17451 [C++] HBase Request and Response Converter
Signed-off-by: Enis Soztutar <enis@apache.org>
Sudeep Sunthankar [Thu, 5 Jan 2017 07:17:52 +0000 (18:17 +1100)]
HBASE-17395 [C++] Use custom line wrapping in formatting - ADDENDUM to remove an extra '=' sign.
Signed-off-by: Enis Soztutar <enis@apache.org>
Sudeep Sunthankar [Thu, 29 Dec 2016 23:03:56 +0000 (10:03 +1100)]
HBASE-17395 [C++] Use custom line wrapping in formatting
Signed-off-by: Enis Soztutar <enis@apache.org>
Sudeep Sunthankar [Thu, 29 Dec 2016 23:27:29 +0000 (10:27 +1100)]
HBASE-17283 [C++] Result class
Signed-off-by: Enis Soztutar <enis@apache.org>