incubator-ratis.git
9 days agoRATIS-469. Fix RAT failures from missing license headers master
Josh Elser [Thu, 3 Jan 2019 20:49:44 +0000 (15:49 -0500)] 
RATIS-469. Fix RAT failures from missing license headers

Signed-off-by: Vladimir Rodionov <vrodionov@apache.org>
13 days agoRATIS-372. Docker containers and docker-compose orchestration for the logservice
Josh Elser [Mon, 24 Dec 2018 04:46:00 +0000 (23:46 -0500)] 
RATIS-372. Docker containers and docker-compose orchestration for the logservice

Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
13 days agoRATIS-468. Create a tarball assembly for logservice
Josh Elser [Mon, 24 Dec 2018 04:16:42 +0000 (23:16 -0500)] 
RATIS-468. Create a tarball assembly for logservice

Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
2 weeks agoRATIS-387. An interactive shell for the logservice
Josh Elser [Wed, 5 Dec 2018 03:32:20 +0000 (22:32 -0500)] 
RATIS-387. An interactive shell for the logservice

Includes instructions on how to start a local quorum and connect the shell to it

2 weeks agoRATIS-464. FileStore example readme is incorrect. Contributed by Mukul Kumar Singh.
Mukul Kumar Singh [Fri, 28 Dec 2018 05:26:16 +0000 (10:56 +0530)] 
RATIS-464. FileStore example readme is incorrect. Contributed by Mukul Kumar Singh.

3 weeks agoRATIS-454. Update to ratis-thirdparty 0.2.0. Contributed by Josh Elser.
Xiaoyu Yao [Thu, 20 Dec 2018 20:21:07 +0000 (12:21 -0800)] 
RATIS-454. Update to ratis-thirdparty 0.2.0. Contributed by Josh Elser.

3 weeks agoRATIS-462. Add readStateMachineData api for FileStoreStateMachine. Contributed by...
Mukul Kumar Singh [Thu, 20 Dec 2018 16:30:38 +0000 (22:00 +0530)] 
RATIS-462. Add readStateMachineData api for FileStoreStateMachine. Contributed by Mukul Kumar Singh.

4 weeks agoRATIS-456. Add a load generator for Filestore example. Contributed by Mukul Kumar...
Mukul Kumar Singh [Thu, 20 Dec 2018 06:57:59 +0000 (12:27 +0530)] 
RATIS-456. Add a load generator for Filestore example. Contributed by Mukul Kumar Singh.

4 weeks agoRATIS-246. Support secure gRPC endpoint with mTLS in Ratis. Contributed by Xiaoyu Yao 2/head
Tsz Wo Nicholas Sze [Sat, 15 Dec 2018 07:11:29 +0000 (15:11 +0800)] 
RATIS-246. Support secure gRPC endpoint with mTLS in Ratis.  Contributed by Xiaoyu Yao

4 weeks agoRATIS-326. Introduce truncateStateMachineData API in StateMachine interface. Contrib...
Tsz Wo Nicholas Sze [Fri, 14 Dec 2018 02:14:14 +0000 (10:14 +0800)] 
RATIS-326. Introduce truncateStateMachineData API in StateMachine interface.  Contributed by Shashikant Banerjee

4 weeks agoRATIS-452. Fix bugs in RaftExceptionBaseTest and RaftReconfigurationBaseTest.
Tsz Wo Nicholas Sze [Fri, 14 Dec 2018 01:56:27 +0000 (09:56 +0800)] 
RATIS-452. Fix bugs in RaftExceptionBaseTest and RaftReconfigurationBaseTest.

5 weeks agoRATIS-453. When retry failed on an async call, it should fails all the following...
Tsz Wo Nicholas Sze [Tue, 11 Dec 2018 21:21:41 +0000 (13:21 -0800)] 
RATIS-453. When retry failed on an async call, it should fails all the following calls in the sliding window.

5 weeks agoRATIS-402. Limit the data size in RaftLogWorker queue.
Tsz Wo Nicholas Sze [Fri, 7 Dec 2018 00:56:28 +0000 (16:56 -0800)] 
RATIS-402. Limit the data size in RaftLogWorker queue.

5 weeks agoRATIS-450. Make Timestamp and TimeDuration value-based classes.
Tsz Wo Nicholas Sze [Thu, 6 Dec 2018 19:44:35 +0000 (11:44 -0800)] 
RATIS-450. Make Timestamp and TimeDuration value-based classes.

5 weeks agoRATIS-449. Move the functional interfaces to a new package.
Tsz Wo Nicholas Sze [Thu, 6 Dec 2018 19:32:13 +0000 (11:32 -0800)] 
RATIS-449. Move the functional interfaces to a new package.

5 weeks agoRATIS-447. LogAppender should times out if readStateMachineData takes a long time.
Tsz Wo Nicholas Sze [Thu, 6 Dec 2018 18:38:38 +0000 (10:38 -0800)] 
RATIS-447. LogAppender should times out if readStateMachineData takes a long time.

6 weeks agoRATIS-448. IllegalStateException seen when log to be truncated does not exist. Contr...
Tsz Wo Nicholas Sze [Wed, 5 Dec 2018 22:12:18 +0000 (14:12 -0800)] 
RATIS-448. IllegalStateException seen when log to be truncated does not exist.  Contributed by Lokesh Jain

6 weeks agoRATIS-378. Consolidate common logic across logservice servers
Josh Elser [Wed, 28 Nov 2018 17:59:14 +0000 (12:59 -0500)] 
RATIS-378. Consolidate common logic across logservice servers

Signed-off-by: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
6 weeks agoRATIS-359. Add timeout support for Watch requests.
Tsz Wo Nicholas Sze [Wed, 5 Dec 2018 01:20:11 +0000 (17:20 -0800)] 
RATIS-359. Add timeout support for Watch requests.

6 weeks agoRATIS-444. Improve logging in RaftLogWorker. Contributed by Lokesh Jain
Tsz Wo Nicholas Sze [Tue, 4 Dec 2018 19:07:35 +0000 (11:07 -0800)] 
RATIS-444. Improve logging in RaftLogWorker.  Contributed by Lokesh Jain

6 weeks agoRATIS-443. FollowerState.inLogSync can be incorrectly cleared in appendEntriesAsync.
Tsz Wo Nicholas Sze [Mon, 3 Dec 2018 00:57:20 +0000 (16:57 -0800)] 
RATIS-443. FollowerState.inLogSync can be incorrectly cleared in appendEntriesAsync.

6 weeks agoRATIS-438. RaftBasicTests.testWithLoad may fail.
Tsz Wo Nicholas Sze [Sat, 1 Dec 2018 20:50:04 +0000 (12:50 -0800)] 
RATIS-438. RaftBasicTests.testWithLoad may fail.

6 weeks agoRATIS-442. In RaftClient, remove ReplicationLevel parameter from send(..) and sendAsy...
Tsz Wo Nicholas Sze [Fri, 30 Nov 2018 22:17:45 +0000 (14:17 -0800)] 
RATIS-442. In RaftClient, remove ReplicationLevel parameter from send(..) and sendAsync(..) methods.

6 weeks agoRATIS-439. TestSegmentedRaftLog is failing.
Tsz Wo Nicholas Sze [Fri, 30 Nov 2018 22:02:44 +0000 (14:02 -0800)] 
RATIS-439. TestSegmentedRaftLog is failing.

6 weeks agoRATIS-446. Drop md5 and properly suffix sha512 file name
Josh Elser [Fri, 30 Nov 2018 20:06:39 +0000 (15:06 -0500)] 
RATIS-446. Drop md5 and properly suffix sha512 file name

Signed-off-by: Tsz Wo Nicholas Sze <szetszwo@apache.org>
7 weeks agoRATIS-427. Better group info API in RaftClient.
Tsz Wo Nicholas Sze [Tue, 27 Nov 2018 00:33:31 +0000 (16:33 -0800)] 
RATIS-427. Better group info API in RaftClient.

7 weeks agoRATIS-430. RaftLogCache#getCachedSegmentNum hits ConcurrentModificationException.
Tsz Wo Nicholas Sze [Thu, 22 Nov 2018 19:41:35 +0000 (11:41 -0800)] 
RATIS-430. RaftLogCache#getCachedSegmentNum hits ConcurrentModificationException.

8 weeks agoRATIS-352. Persist commit index in Raft log.
Tsz Wo Nicholas Sze [Mon, 19 Nov 2018 03:25:27 +0000 (19:25 -0800)] 
RATIS-352. Persist commit index in Raft log.

8 weeks agoRATIS-410. Raft log entry with stateMachineData may cause OOM. Contributed by Shashik...
Shashikant Banerjee [Wed, 21 Nov 2018 18:21:13 +0000 (23:51 +0530)] 
RATIS-410. Raft log entry with stateMachineData may cause OOM. Contributed by Shashikant Banerjee.

8 weeks agotrunk$mvn versions:set -DnewVersion=0.4.0-SNAPSHOT
Tsz Wo Nicholas Sze [Tue, 20 Nov 2018 21:40:40 +0000 (13:40 -0800)] 
trunk$mvn versions:set -DnewVersion=0.4.0-SNAPSHOT

8 weeks agotrunk$ mvn versions:set -DnewVersion=0.4.0
Tsz Wo Nicholas Sze [Tue, 20 Nov 2018 21:24:09 +0000 (13:24 -0800)] 
trunk$ mvn versions:set -DnewVersion=0.4.0

8 weeks agoRATIS-429. RaftReconfigurationTest fails intermittently.
Tsz Wo Nicholas Sze [Tue, 20 Nov 2018 01:28:19 +0000 (17:28 -0800)] 
RATIS-429. RaftReconfigurationTest fails intermittently.

8 weeks agoRATIS-409. Watch requests may not work if there is a conf change.
Tsz Wo Nicholas Sze [Sat, 17 Nov 2018 23:52:52 +0000 (15:52 -0800)] 
RATIS-409. Watch requests may not work if there is a conf change.

8 weeks agoRATIS-421. Use thirdparty-0.1.0.
Tsz Wo Nicholas Sze [Sat, 17 Nov 2018 21:57:24 +0000 (13:57 -0800)] 
RATIS-421. Use thirdparty-0.1.0.

2 months agoRATIS-365. Implement RaftServer.getGroupIds() using the key set of ImplMap. Contribut...
Shashikant Banerjee [Sat, 17 Nov 2018 04:31:45 +0000 (10:01 +0530)] 
RATIS-365. Implement RaftServer.getGroupIds() using the key set of ImplMap. Contributed by Tsz Wo Nicholas Sze.

2 months agoRATIS-415. Disable checkstyle DesignForExtension rule.
Tsz Wo Nicholas Sze [Fri, 16 Nov 2018 21:38:31 +0000 (13:38 -0800)] 
RATIS-415. Disable checkstyle DesignForExtension rule.

2 months agoRATIS-386. Raft Client Async API's should honor Retry Policy. Contributed by Shashik...
Tsz Wo Nicholas Sze [Fri, 16 Nov 2018 21:11:18 +0000 (13:11 -0800)] 
RATIS-386. Raft Client Async API's should honor Retry Policy.  Contributed by Shashikant Banerjee

2 months agoRATIS-422: LogStateMachine refactoring
Vladimir Rodionov [Thu, 15 Nov 2018 21:26:49 +0000 (13:26 -0800)] 
RATIS-422: LogStateMachine refactoring

Signed-off-by: Josh Elser <elserj@apache.org>
2 months agoRATIS-419. The Arithmetic example cannot be run by the scripts. Contributed by Tsz...
Jitendra Pandey [Thu, 15 Nov 2018 18:31:03 +0000 (10:31 -0800)] 
RATIS-419. The Arithmetic example cannot be run by the scripts. Contributed by Tsz Wo Nicholas Sze.

2 months agoRATIS-406. In RaftServerImpl, the RaftLog.append(entries) call should not hold the...
Tsz Wo Nicholas Sze [Thu, 15 Nov 2018 01:14:51 +0000 (17:14 -0800)] 
RATIS-406. In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock.

2 months agoRATIS-131. Add checkstyle configuration.
Tsz Wo Nicholas Sze [Wed, 14 Nov 2018 21:24:20 +0000 (13:24 -0800)] 
RATIS-131. Add checkstyle configuration.

2 months agoRATIS-399. Move all tests to a new module.
Tsz Wo Nicholas Sze [Tue, 13 Nov 2018 23:38:23 +0000 (15:38 -0800)] 
RATIS-399. Move all tests to a new module.

2 months agoRATIS-375 Re-enable LogStream state machine unit tests
Josh Elser [Fri, 2 Nov 2018 20:15:45 +0000 (16:15 -0400)] 
RATIS-375 Re-enable LogStream state machine unit tests

Had to fix the API calls after MetadataService introduction.

Signed-off-by: Vladimir Rodionov <vrodionov@hortonworks.com>
2 months agoRATIS-404. Deadlock in ratis between appendEntries and RaftLogWorker. Contributed...
Tsz Wo Nicholas Sze [Fri, 9 Nov 2018 21:13:32 +0000 (13:13 -0800)] 
RATIS-404. Deadlock in ratis between appendEntries and RaftLogWorker.  Contributed by Mukul Kumar Singh

2 months agoRevert "RATIS-404. Deadlock in ratis between appendEntries and RaftLogWorker."
Tsz Wo Nicholas Sze [Fri, 9 Nov 2018 21:13:03 +0000 (13:13 -0800)] 
Revert "RATIS-404. Deadlock in ratis between appendEntries and RaftLogWorker."

This reverts commit 7255747a2b6b423a47ee82dd80728e52c7a05d6b.

2 months agoRATIS-404. Deadlock in ratis between appendEntries and RaftLogWorker.
Tsz Wo Nicholas Sze [Fri, 9 Nov 2018 21:01:55 +0000 (13:01 -0800)] 
RATIS-404. Deadlock in ratis between appendEntries and RaftLogWorker.

2 months agoRATIS-405. Upgrade Maven Surefire plugin to 3.0.0-M1.
Jitendra Pandey [Fri, 9 Nov 2018 18:44:33 +0000 (10:44 -0800)] 
RATIS-405. Upgrade Maven Surefire plugin to 3.0.0-M1.

2 months agoRATIS-401. StateMachineDataPolicy.getFromFuture should throw an exception if all...
Tsz Wo Nicholas Sze [Fri, 9 Nov 2018 00:59:40 +0000 (16:59 -0800)] 
RATIS-401. StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed.

2 months agoRATIS-398. Update Dockerfile.
Tsz Wo Nicholas Sze [Fri, 9 Nov 2018 00:08:20 +0000 (16:08 -0800)] 
RATIS-398. Update Dockerfile.

2 months agoRATIS-396. Support retry if writeStateMachineData throws TimeoutIOException.
Tsz Wo Nicholas Sze [Wed, 7 Nov 2018 19:34:28 +0000 (11:34 -0800)] 
RATIS-396. Support retry if writeStateMachineData throws TimeoutIOException.

2 months agoRATIS-395. Upgrade Apache Yetus to 0.8.0.
Tsz Wo Nicholas Sze [Wed, 7 Nov 2018 00:05:31 +0000 (16:05 -0800)] 
RATIS-395. Upgrade Apache Yetus to 0.8.0.

2 months agoRATIS-394. Remove the assertion while setting the exception in TransactionContextImpl...
Tsz Wo Nicholas Sze [Tue, 6 Nov 2018 22:29:41 +0000 (14:29 -0800)] 
RATIS-394. Remove the assertion while setting the exception in TransactionContextImpl.  Contributed by Shashikant Banerjee

2 months agoRATIS-362. Add a Builder for TransactionContext. Contributed by Tsz Wo Nicholas Sze.
Shashikant Banerjee [Mon, 5 Nov 2018 10:05:08 +0000 (15:35 +0530)] 
RATIS-362. Add a Builder for TransactionContext. Contributed by Tsz Wo Nicholas Sze.

2 months agoRATIS-381. RaftTestUtil.waitForLeader should not return null.
Tsz Wo Nicholas Sze [Sat, 3 Nov 2018 12:29:36 +0000 (20:29 +0800)] 
RATIS-381. RaftTestUtil.waitForLeader should not return null.

2 months agoRATIS-262. Fix compilation warning and deprecated api usage.
Tsz Wo Nicholas Sze [Thu, 1 Nov 2018 23:09:34 +0000 (07:09 +0800)] 
RATIS-262. Fix compilation warning and deprecated api usage.

2 months agoRATIS-379. Allow writing state machine data to be sync'ed with writing raft log.
Tsz Wo Nicholas Sze [Tue, 30 Oct 2018 05:11:17 +0000 (13:11 +0800)] 
RATIS-379. Allow writing state machine data to be sync'ed with writing raft log.

2 months agoRATIS-377. Tolerate partially written log header.
Tsz Wo Nicholas Sze [Mon, 29 Oct 2018 05:46:31 +0000 (13:46 +0800)] 
RATIS-377. Tolerate partially written log header.

2 months agoRATIS-369: LogService read/write path (Phase 2)
Vladimir Rodionov [Fri, 26 Oct 2018 18:35:45 +0000 (11:35 -0700)] 
RATIS-369: LogService read/write path (Phase 2)

Signed-off-by: Josh Elser <elserj@apache.org>
2 months agoRATIS-374 MetaServer UT fails.
Sergey Soldatov [Fri, 26 Oct 2018 06:25:52 +0000 (23:25 -0700)] 
RATIS-374 MetaServer UT fails.

Signed-off-by: Josh Elser <elserj@apache.org>
2 months agoRATIS-373. Tolerate the last partially written log entry.
Tsz Wo Nicholas Sze [Fri, 26 Oct 2018 09:42:11 +0000 (17:42 +0800)] 
RATIS-373. Tolerate the last partially written log entry.

2 months agoRATIS-334 Implement server membership for LogService Metadata Service
Sergey Soldatov [Fri, 19 Oct 2018 08:12:36 +0000 (01:12 -0700)] 
RATIS-334 Implement server membership for LogService Metadata Service

Signed-off-by: Josh Elser <elserj@apache.org>
2 months agoRATIS-371. Change tests so that they do not depend on consecutive log indices.
Tsz Wo Nicholas Sze [Wed, 24 Oct 2018 22:58:18 +0000 (06:58 +0800)] 
RATIS-371. Change tests so that they do not depend on consecutive log indices.

2 months agoRevert "r371"
Tsz Wo Nicholas Sze [Wed, 24 Oct 2018 22:56:16 +0000 (06:56 +0800)] 
Revert "r371"

This reverts commit 4cb6b20237d7bf95a2c1acbaeec0ab58bc2a0074.

2 months agor371
Tsz Wo Nicholas Sze [Wed, 24 Oct 2018 15:58:46 +0000 (23:58 +0800)] 
r371

2 months agoRATIS-368. TestRaftSnapshotWithSimulatedRpc.testRestartPeer is failing.
Tsz Wo Nicholas Sze [Wed, 24 Oct 2018 04:10:47 +0000 (12:10 +0800)] 
RATIS-368. TestRaftSnapshotWithSimulatedRpc.testRestartPeer is failing.

2 months agoRATIS-364. Raft should persist configuration entries to meta file. Contributed by...
Mukul Kumar Singh [Tue, 23 Oct 2018 07:56:25 +0000 (13:26 +0530)] 
RATIS-364. Raft should persist configuration entries to meta file. Contributed by Mukul Kumar Singh.

2 months agoRATIS-366. In StateMachineUpdater, the stopIndex should use Long. Contributed by...
Jitendra Pandey [Mon, 22 Oct 2018 18:26:44 +0000 (11:26 -0700)] 
RATIS-366. In StateMachineUpdater, the stopIndex should use Long. Contributed by Tsz Wo Nicholas Sze.

2 months agoRATIS-338. ServerInformationReply should include multiple groups. Contributed by...
Tsz Wo Nicholas Sze [Mon, 22 Oct 2018 15:15:58 +0000 (23:15 +0800)] 
RATIS-338. ServerInformationReply should include multiple groups.  Contributed by Sergey Soldatov

2 months agoRATIS-361. Fix the NPE bug in MemoryRaftLog.
Tsz Wo Nicholas Sze [Mon, 22 Oct 2018 14:44:34 +0000 (22:44 +0800)] 
RATIS-361. Fix the NPE bug in MemoryRaftLog.

2 months agoRATIS-363. StateMachineUpdater should wait for committed transactions to be applied...
Tsz Wo Nicholas Sze [Mon, 22 Oct 2018 10:00:25 +0000 (18:00 +0800)] 
RATIS-363. StateMachineUpdater should wait for committed transactions to be applied before shutdown.  Contributed by Jitendra Nath Pandey

2 months agoRATIS-353. Refactor LogEntryProto.
Tsz Wo Nicholas Sze [Sun, 21 Oct 2018 07:32:01 +0000 (15:32 +0800)] 
RATIS-353. Refactor LogEntryProto.

2 months agoRATIS-357. In ProtoUtils, remove isConfigurationLogEntry(..) and move out the LogEntr...
Tsz Wo Nicholas Sze [Sat, 20 Oct 2018 02:32:00 +0000 (10:32 +0800)] 
RATIS-357. In ProtoUtils, remove isConfigurationLogEntry(..) and move out the LogEntryProto methods.

2 months agoRATIS-356. Add replication level for transactions committed by majority in watch...
Tsz Wo Nicholas Sze [Fri, 19 Oct 2018 04:18:57 +0000 (12:18 +0800)] 
RATIS-356. Add replication level for transactions committed by majority in watch api.  Contributed by Jitendra Nath Pandey

2 months agoRATIS-355. TestBatchAppend and TestFileStore* are failing.
Tsz Wo Nicholas Sze [Thu, 18 Oct 2018 22:55:08 +0000 (06:55 +0800)] 
RATIS-355. TestBatchAppend and TestFileStore* are failing.

2 months agoRATIS-274. Read/Write-path of log stream state machine
Vladimir Rodionov [Wed, 17 Oct 2018 22:33:06 +0000 (15:33 -0700)] 
RATIS-274. Read/Write-path of log stream state machine

Signed-off-by: Josh Elser <elserj@apache.org>
3 months agoRATIS-354. Remove LeaderNoOp and rename SMLogEntryProto.
Tsz Wo Nicholas Sze [Thu, 18 Oct 2018 01:25:43 +0000 (09:25 +0800)] 
RATIS-354. Remove LeaderNoOp and rename SMLogEntryProto.

3 months agoRATIS-347. Follow up works for RATIS-234.
Tsz Wo Nicholas Sze [Fri, 12 Oct 2018 03:16:48 +0000 (11:16 +0800)] 
RATIS-347. Follow up works for RATIS-234.

3 months agoRATIS-348. TimeoutScheduler and SlidingWindow should use daemon threads. Contributed...
Jitendra Pandey [Thu, 11 Oct 2018 19:14:43 +0000 (12:14 -0700)] 
RATIS-348. TimeoutScheduler and SlidingWindow should use daemon threads. Contributed by Tsz Wo Nicholas Sze.

3 months agoRATIS-234. Add an feature to watch if a request is replicated/committed to a particul...
Tsz Wo Nicholas Sze [Wed, 10 Oct 2018 08:29:44 +0000 (16:29 +0800)] 
RATIS-234. Add an feature to watch if a request is replicated/committed to a particular ReplicationLevel.

3 months agoRATIS-279 Create administrative API for LogService
Rajeshbabu Chintaguntla [Wed, 10 Oct 2018 03:51:12 +0000 (23:51 -0400)] 
RATIS-279 Create administrative API for LogService

Signed-off-by: Josh Elser <elserj@apache.org>
3 months agoRATIS-306. Support multiple storage directories. Contributed by Nanda kumar
Tsz Wo Nicholas Sze [Mon, 8 Oct 2018 13:35:02 +0000 (21:35 +0800)] 
RATIS-306. Support multiple storage directories.  Contributed by Nanda kumar

3 months agoRATIS-337. In RaftServerImpl, leaderState/heartbeatMonitor may be accessed without...
Tsz Wo Nicholas Sze [Mon, 8 Oct 2018 06:48:30 +0000 (14:48 +0800)] 
RATIS-337. In RaftServerImpl, leaderState/heartbeatMonitor may be accessed without proper null check.

3 months agoRATIS-341. Raft log index on the follower should be applied to state machine only...
Tsz Wo Nicholas Sze [Sat, 6 Oct 2018 21:34:53 +0000 (05:34 +0800)] 
RATIS-341. Raft log index on the follower should be applied to state machine only after writing the log.  Contributed by Mukul Kumar Singh

3 months agoRATIS-340. org.apache.hadoop.ipc.protobuf is shaded to org.apache.ratis.shaded.*.
Tsz Wo Nicholas Sze [Sat, 6 Oct 2018 00:25:41 +0000 (08:25 +0800)] 
RATIS-340. org.apache.hadoop.ipc.protobuf is shaded to org.apache.ratis.shaded.*.

3 months agoRATIS-336. LeaderState.isBootStrappingPeer may have NPE.
Tsz Wo Nicholas Sze [Fri, 5 Oct 2018 06:31:53 +0000 (14:31 +0800)] 
RATIS-336. LeaderState.isBootStrappingPeer may have NPE.

3 months agoRATIS-335 Use the new ratis-thirdparty-hadoop artifact
Josh Elser [Thu, 27 Sep 2018 02:33:51 +0000 (22:33 -0400)] 
RATIS-335 Use the new ratis-thirdparty-hadoop artifact

3 months agoRATIS-327. Fix bugs in SimpleStateMachine4Testing. Contributed by Tsz Wo Nicholas...
Lokesh Jain [Tue, 2 Oct 2018 10:28:05 +0000 (15:58 +0530)] 
RATIS-327. Fix bugs in SimpleStateMachine4Testing. Contributed by Tsz Wo Nicholas Sze.

3 months agoRATIS-294. Fix ratis-hadoop CVEs.
Tsz Wo Nicholas Sze [Fri, 28 Sep 2018 17:31:56 +0000 (10:31 -0700)] 
RATIS-294. Fix ratis-hadoop CVEs.

3 months agoRATIS-304. StateMachine#readStateMachineData should return SMLogEntryProto. Contribu...
Tsz Wo Nicholas Sze [Thu, 27 Sep 2018 23:16:49 +0000 (16:16 -0700)] 
RATIS-304. StateMachine#readStateMachineData should return SMLogEntryProto.  Contributed by Lokesh Jain

3 months agoRATIS-332. Allow RaftServer.Builder to set StateMachine.Registry. Contributed by...
Lokesh Jain [Thu, 27 Sep 2018 11:19:26 +0000 (16:49 +0530)] 
RATIS-332. Allow RaftServer.Builder to set StateMachine.Registry. Contributed by Tsz Wo Nicholas Sze.

3 months agoRATIS-321. RaftLog should validate appendEntries. Contributed by Lokesh Jain.
Lokesh Jain [Mon, 24 Sep 2018 06:24:33 +0000 (11:54 +0530)] 
RATIS-321. RaftLog should validate appendEntries. Contributed by Lokesh Jain.

3 months agoRATIS-316. Use ratis-thirdparty and reorganize generated code
Josh Elser [Sat, 8 Sep 2018 15:42:43 +0000 (08:42 -0700)] 
RATIS-316. Use ratis-thirdparty and reorganize generated code

* Use ratis-thirdparty to build Ratis
* Rename ratis-shaded-proto to ratis-proto
* Undo skipShade because we don't have to shade anymore
* Update BUILDING.md

3 months agoRATIS-317. Log service state machine
Vladimir Rodionov [Wed, 19 Sep 2018 19:45:01 +0000 (12:45 -0700)] 
RATIS-317. Log service state machine

Signed-off-by: Josh Elser <elserj@apache.org>
3 months agoRATIS-324. Rename grpc classes. Contributed by Tsz Wo Nicholas Sze.
Lokesh Jain [Thu, 20 Sep 2018 04:59:48 +0000 (10:29 +0530)] 
RATIS-324. Rename grpc classes. Contributed by Tsz Wo Nicholas Sze.

3 months agoRATIS-325. RetryPolicies should not import com.google.common.annotations.VisibleForTe...
Lokesh Jain [Wed, 19 Sep 2018 09:26:01 +0000 (14:56 +0530)] 
RATIS-325. RetryPolicies should not import com.google.common.annotations.VisibleForTesting. Contributed by Tsz Wo Nicholas Sze.

3 months agoRATIS-319. Increase TestRaftServerJmx's timeout. Contributed by Josh Elser.
Lokesh Jain [Tue, 18 Sep 2018 15:21:33 +0000 (20:51 +0530)] 
RATIS-319. Increase TestRaftServerJmx's timeout. Contributed by Josh Elser.

3 months agoRATIS-323. Update grpc to not using the deprecated APIs. Contributed by Tsz Wo Nichol...
Lokesh Jain [Tue, 18 Sep 2018 10:16:47 +0000 (15:46 +0530)] 
RATIS-323. Update grpc to not using the deprecated APIs. Contributed by Tsz Wo Nicholas Sze.

3 months agoRATIS-322. Make RaftGroup a value base class. Contributed by Tsz Wo Nicholas Sze.
Lokesh Jain [Tue, 18 Sep 2018 09:56:08 +0000 (15:26 +0530)] 
RATIS-322. Make RaftGroup a value base class. Contributed by Tsz Wo Nicholas Sze.

4 months agoRATIS-315. Add an option to delete the group directory in groupRemove. Contributed...
Mukul Kumar Singh [Mon, 17 Sep 2018 17:39:27 +0000 (23:09 +0530)] 
RATIS-315. Add an option to delete the group directory in groupRemove. Contributed by Tsz Wo Nicholas Sze.

4 months agoRATIS-314. Use different loggers for different confs.
Tsz Wo Nicholas Sze [Tue, 11 Sep 2018 21:00:10 +0000 (14:00 -0700)] 
RATIS-314. Use different loggers for different confs.