[jira] [Updated] (RATIS-108) Add a timeout for all the tests

2017-08-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-108: -- Attachment: r108_20170821.patch r108_20170821.patch: changes TestStateMachine to extend

[jira] [Updated] (RATIS-100) Fix bugs for running multiple raft groups with a state machine

2017-08-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-100: -- Attachment: r100_20170821b.patch r100_20170821b.patch: some minor changes. > Fix bugs

[jira] [Updated] (RATIS-108) Add a timeout for all the tests

2017-08-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-108: -- Attachment: r108_20170821.patch > Add a timeout for all the tests >

[jira] [Updated] (RATIS-108) Add a timeout for all the tests

2017-08-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-108: -- Attachment: (was: r108_20170821.patch) > Add a timeout for all the tests >

[jira] [Updated] (RATIS-109) Improve the log messages in RaftServerImpl and the related code

2017-08-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-109: -- Summary: Improve the log messages in RaftServerImpl and the related code (was: Improve

[jira] [Updated] (RATIS-105) Server should check group id for client requests

2017-08-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-105: -- Attachment: r105_20170821.patch > Server should check group id for client requests >

[jira] [Updated] (RATIS-100) Fix bugs for running multiple raft groups with a state machine

2017-08-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-100: -- Description: We found the following bugs when trying to add a test similar to

[jira] [Resolved] (RATIS-108) Add a timeout for all the tests

2017-08-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-108. --- Resolution: Fixed Fix Version/s: 0.2.0-alpha Thanks Chen for reviewing the

[jira] [Assigned] (RATIS-112) testRevertConfigurationChange may fail

2017-08-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-112: - Assignee: Tsz Wo Nicholas Sze > testRevertConfigurationChange may fail >

[jira] [Updated] (RATIS-112) testRevertConfigurationChange may fail

2017-08-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-112: -- Attachment: r112_20170825.patch r112_20170825.patch: - changes

[jira] [Commented] (RATIS-111) RaftLogWorker may throw IllegalStateException

2017-08-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16142406#comment-16142406 ] Tsz Wo Nicholas Sze commented on RATIS-111: --- TestRaftWithHadoopRpc.testWithLoad may timeout after

[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException

2017-08-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170828.patch r111_20170828.patch: fixes a bug in

[jira] [Updated] (RATIS-111) RaftLogWorker may throw IllegalStateException

2017-08-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-111: -- Attachment: r111_20170823.patch r111_20170823.patch: re-writes FileUtils to use

[jira] [Assigned] (RATIS-113) Add Async send interface to RaftClient

2017-08-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-113: - Assignee: Mukul Kumar Singh > Add Async send interface to RaftClient >

[jira] [Resolved] (RATIS-110) Add a static valueOf method to ClientId and RaftGroupId

2017-09-01 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-110. --- Resolution: Fixed Fix Version/s: 0.2.0-alpha I have committed this. Thanks,

[jira] [Commented] (RATIS-110) Add a static valueOf method to ClientId and RaftGroupId

2017-08-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16149976#comment-16149976 ] Tsz Wo Nicholas Sze commented on RATIS-110: --- Chen, thanks for working on this. Some comments on

[jira] [Resolved] (RATIS-116) In PendingRequests, the requests are never removed from the map

2017-10-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-116. --- Resolution: Fixed Fix Version/s: 0.2.0-alpha Thanks Jing for reviewing the

[jira] [Created] (RATIS-122) Add a FileStore example

2017-10-17 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-122: - Summary: Add a FileStore example Key: RATIS-122 URL: https://issues.apache.org/jira/browse/RATIS-122 Project: Ratis Issue Type: New Feature

[jira] [Updated] (RATIS-122) Add a FileStore example

2017-10-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-122: -- Attachment: r122_20171017.patch r122_20171017.patch: current (incomplete) patch > Add a

[jira] [Updated] (RATIS-122) Add a FileStore example

2017-10-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-122: -- Attachment: r122_20171017b.patch Just have completed the basic functions of a file

[jira] [Updated] (RATIS-119) RaftServerImpl.registerMBean may throw MalformedObjectNameException

2017-10-18 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-119: -- Attachment: r119_20171018.patch r119_20171018.patch: - If register fails, try again with

[jira] [Updated] (RATIS-113) Add Async send interface to RaftClient

2017-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-113: -- Issue Type: New Feature (was: Bug) +1 the 004 patch looks good. Will commit a patch

[jira] [Created] (RATIS-142) Test ArithmeticStateMachine with the Gauss–Legendre algorithm

2017-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-142: - Summary: Test ArithmeticStateMachine with the Gauss–Legendre algorithm Key: RATIS-142 URL: https://issues.apache.org/jira/browse/RATIS-142 Project: Ratis

[jira] [Updated] (RATIS-113) Add Async send interface to RaftClient

2017-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-113: -- Attachment: RATIS-113.004_committed.patch RATIS-113.004_committed.patch: patch

[jira] [Updated] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-141: -- Attachment: r141_20171125.patch r141_20171125.patch: some minor changes. > In

[jira] [Commented] (RATIS-156) Implement configuration for client async requests

2017-11-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265904#comment-16265904 ] Tsz Wo Nicholas Sze commented on RATIS-156: --- +1 the v3 patch looks good. Thanks a lot! >

[jira] [Updated] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-141: -- Attachment: (was: r141_20171125.patch) > In RaftClientProtocolService, the

[jira] [Updated] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-141: -- Attachment: r141_20171125.patch > In RaftClientProtocolService, the assumption of

[jira] [Commented] (RATIS-156) Implement configuration for client async requests

2017-11-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265874#comment-16265874 ] Tsz Wo Nicholas Sze commented on RATIS-156: --- Tried to run RaftAsyncTests. It unnecessarily start

[jira] [Commented] (RATIS-156) Implement configuration for client async requests

2017-11-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265872#comment-16265872 ] Tsz Wo Nicholas Sze commented on RATIS-156: --- +1 the 002 patch looks good. > Implement

[jira] [Created] (RATIS-155) TestSegmentedRaftLog and TestCacheEviction may fail due to NullPointerException

2017-11-23 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-155: - Summary: TestSegmentedRaftLog and TestCacheEviction may fail due to NullPointerException Key: RATIS-155 URL: https://issues.apache.org/jira/browse/RATIS-155

[jira] [Commented] (RATIS-155) TestSegmentedRaftLog and TestCacheEviction may fail due to NullPointerException

2017-11-23 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16264849#comment-16264849 ] Tsz Wo Nicholas Sze commented on RATIS-155: --- It seems a simple fix is to check if raftServer is

[jira] [Commented] (RATIS-143) RaftClientImpl should have upper bound on async requests

2017-11-23 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16264853#comment-16264853 ] Tsz Wo Nicholas Sze commented on RATIS-143: --- +1 patch looks good. The failed tests do not seem

[jira] [Commented] (RATIS-148) Add metric for log flush latency

2017-11-23 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16264847#comment-16264847 ] Tsz Wo Nicholas Sze commented on RATIS-148: --- [~jnp], this breaks some tests since they may pass

[jira] [Commented] (RATIS-143) RaftClientImpl should have upper bound on async requests

2017-11-23 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16264855#comment-16264855 ] Tsz Wo Nicholas Sze commented on RATIS-143: --- > ... I have changed peers to ConcurrentLinkedQueue

[jira] [Commented] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-23 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16264955#comment-16264955 ] Tsz Wo Nicholas Sze commented on RATIS-141: --- [~vagarychen], looked at the code again and found

[jira] [Updated] (RATIS-140) Server may see out-of-order gRPC messages sent from the same client

2017-11-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-140: -- Attachment: r140_20171123.patch r140_20171123.patch: implements sliding window in client

[jira] [Commented] (RATIS-156) Implement configuration for client async requests

2017-11-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265569#comment-16265569 ] Tsz Wo Nicholas Sze commented on RATIS-156: --- For RaftAsyncTests, - please change NUM_SERVERS to

[jira] [Updated] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-141: -- Attachment: r141_20171124.patch r141_20171124.patch: reverts the changes for

[jira] [Commented] (RATIS-149) TestRaftStream.testSimpleWrite may fail

2017-11-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16263114#comment-16263114 ] Tsz Wo Nicholas Sze commented on RATIS-149: --- Continue the thoughts above: In order to keep the

[jira] [Commented] (RATIS-143) RaftClientImpl should have upper bound on async requests

2017-11-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16263430#comment-16263430 ] Tsz Wo Nicholas Sze commented on RATIS-143: --- Thanks for the update. Some comments: - close()

[jira] [Commented] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16263441#comment-16263441 ] Tsz Wo Nicholas Sze commented on RATIS-141: --- > And just making callIdCounter non-static would do

[jira] [Commented] (RATIS-146) Maven install should install Proto files as well

2017-11-29 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16271463#comment-16271463 ] Tsz Wo Nicholas Sze commented on RATIS-146: --- I guess it was skipped by mistake. > Maven install

[jira] [Comment Edited] (RATIS-146) Maven install should install Proto files as well

2017-11-29 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16271463#comment-16271463 ] Tsz Wo Nicholas Sze edited comment on RATIS-146 at 11/29/17 8:13 PM: - I

[jira] [Updated] (RATIS-140) Server may see out-of-order gRPC messages sent from the same client

2017-12-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-140: -- Attachment: r140_20171204.patch r140_20171204.patch: refactors the code in

[jira] [Commented] (RATIS-163) TestRaftWithHadoopRpc fails becuse hadoop rpc retry logic

2017-12-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16276132#comment-16276132 ] Tsz Wo Nicholas Sze commented on RATIS-163: --- +1 patch looks good. Thanks a lot for fixing this.

[jira] [Updated] (RATIS-140) Server may see out-of-order gRPC messages sent from the same client

2017-12-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-140: -- Attachment: r140_20171203.patch r140_20171203.patch: - some more bug fixes; - changes

[jira] [Comment Edited] (RATIS-140) Server may see out-of-order gRPC messages sent from the same client

2017-12-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16276130#comment-16276130 ] Tsz Wo Nicholas Sze edited comment on RATIS-140 at 12/3/17 10:28 PM: -

[jira] [Created] (RATIS-164) Remove public from ProtoUtils

2017-12-04 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-164: - Summary: Remove public from ProtoUtils Key: RATIS-164 URL: https://issues.apache.org/jira/browse/RATIS-164 Project: Ratis Issue Type: Improvement

[jira] [Commented] (RATIS-164) Remove public from ProtoUtils

2017-12-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16278126#comment-16278126 ] Tsz Wo Nicholas Sze commented on RATIS-164: --- +1 patch looks good. > Remove public from

[jira] [Created] (RATIS-166) Remove the use of sun.misc.Unsafe

2017-12-04 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-166: - Summary: Remove the use of sun.misc.Unsafe Key: RATIS-166 URL: https://issues.apache.org/jira/browse/RATIS-166 Project: Ratis Issue Type:

[jira] [Created] (RATIS-172) TestBatchAppend fails with timeout

2017-12-13 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-172: - Summary: TestBatchAppend fails with timeout Key: RATIS-172 URL: https://issues.apache.org/jira/browse/RATIS-172 Project: Ratis Issue Type: Bug

[jira] [Commented] (RATIS-171) The FileStore tests fail with NullPointerException

2017-12-18 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16294806#comment-16294806 ] Tsz Wo Nicholas Sze commented on RATIS-171: --- {code} Running

[jira] [Commented] (RATIS-172) TestBatchAppend fails with timeout

2017-12-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16292223#comment-16292223 ] Tsz Wo Nicholas Sze commented on RATIS-172: --- [~msingh], the is a good finding. Let's change

[jira] [Updated] (RATIS-140) Raft client should reuse the gRPC stream for all async calls

2017-12-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-140: -- Attachment: r140_20171219.patch Jing, thanks a lot for the review! I agree that the

[jira] [Resolved] (RATIS-172) TestBatchAppend fails with timeout

2017-12-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-172. --- Resolution: Fixed Fix Version/s: 0.2.0-alpha I have committed this. Thanks,

[jira] [Commented] (RATIS-172) TestBatchAppend fails with timeout

2017-12-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16294437#comment-16294437 ] Tsz Wo Nicholas Sze commented on RATIS-172: --- +1 patch looks good. > TestBatchAppend fails with

[jira] [Resolved] (RATIS-154) Add setter functions for Raft Config keys

2017-12-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-154. --- Resolution: Fixed Fix Version/s: 0.2.0-alpha I have committed this. Thanks,

[jira] [Commented] (RATIS-168) Update Grpc version in Ratis.

2017-12-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16294480#comment-16294480 ] Tsz Wo Nicholas Sze commented on RATIS-168: --- There are more relocations than before. Let me try

[jira] [Assigned] (RATIS-5) Setup website

2017-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-5: --- Assignee: Elek, Marton > Setup website > - > > Key: RATIS-5

[jira] [Updated] (RATIS-95) Executable Jar for the ratis examples

2017-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-95: - Attachment: RATIS-95.001_committed.patch RATIS-95.001_committed.patch: patch to be

[jira] [Commented] (RATIS-142) Test ArithmeticStateMachine with the Gauss–Legendre algorithm

2017-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16257600#comment-16257600 ] Tsz Wo Nicholas Sze commented on RATIS-142: --- Thanks a lot, Jing! > Test ArithmeticStateMachine

[jira] [Updated] (RATIS-133) Raft gRPC client should check proto size before sending a message

2017-11-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-133: -- Attachment: RATIS-133.002_committed.patch RATIS-133.002_committed.patch: patch

[jira] [Commented] (RATIS-133) Raft gRPC client should check proto size before sending a message

2017-11-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248700#comment-16248700 ] Tsz Wo Nicholas Sze commented on RATIS-133: --- +1 the 002 patch looks good. BTW, we don't have 80

[jira] [Updated] (RATIS-137) RaftBasicTests.testBasicAppendEntries may fail

2017-11-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-137: -- Attachment: RATIS-137.003_committed.patch RATIS-137.003_committed.patch: removes some

[jira] [Commented] (RATIS-129) Compile protobuf and shade if the shaded source directory is missing

2017-11-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16247905#comment-16247905 ] Tsz Wo Nicholas Sze commented on RATIS-129: --- That's great. However, it still fails in pre-commit

[jira] [Commented] (RATIS-113) Add Async send interface to RaftClient

2017-11-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248068#comment-16248068 ] Tsz Wo Nicholas Sze commented on RATIS-113: --- The conf is a good idea! - Let's call it {code}

[jira] [Commented] (RATIS-137) RaftBasicTests.testBasicAppendEntries may fail

2017-11-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248022#comment-16248022 ] Tsz Wo Nicholas Sze commented on RATIS-137: --- Thanks Lokesh, the patch looks good. Some minor

[jira] [Commented] (RATIS-137) RaftBasicTests.testBasicAppendEntries may fail

2017-11-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248027#comment-16248027 ] Tsz Wo Nicholas Sze commented on RATIS-137: --- TestRaftWithNetty just failed in my machine with the

[jira] [Commented] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16250022#comment-16250022 ] Tsz Wo Nicholas Sze commented on RATIS-141: --- It actually is better to call it streamSeqNum. How

[jira] [Commented] (RATIS-113) Add Async send interface to RaftClient

2017-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16250065#comment-16250065 ] Tsz Wo Nicholas Sze commented on RATIS-113: --- > Now the sendRequestWithRetryAsync call does not

[jira] [Commented] (RATIS-113) Add Async send interface to RaftClient

2017-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16250144#comment-16250144 ] Tsz Wo Nicholas Sze commented on RATIS-113: --- Let's also move the semaphore to a new JIRA in order

[jira] [Commented] (RATIS-113) Add Async send interface to RaftClient

2017-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16250056#comment-16250056 ] Tsz Wo Nicholas Sze commented on RATIS-113: --- > But I have a doubt that there might be too much

[jira] [Commented] (RATIS-150) The hadoop tests in example do not run

2017-11-20 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16259883#comment-16259883 ] Tsz Wo Nicholas Sze commented on RATIS-150: --- This seems related to RATIS-95 that it removes the

[jira] [Updated] (RATIS-150) The hadoop tests in example do not run

2017-11-20 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-150: -- Attachment: r150_20171120.patch r150_20171120.patch: - adds back ratis-hadoop-shaded

[jira] [Assigned] (RATIS-150) The hadoop tests in example do not run

2017-11-20 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-150: - Assignee: Tsz Wo Nicholas Sze > The hadoop tests in example do not run >

[jira] [Commented] (RATIS-149) TestRaftStream.testSimpleWrite may fail

2017-11-20 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1626#comment-1626 ] Tsz Wo Nicholas Sze commented on RATIS-149: --- [~jingzhao], thanks for working on this. Here is

[jira] [Commented] (RATIS-148) Add metric for log flush latency

2017-11-20 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16260207#comment-16260207 ] Tsz Wo Nicholas Sze commented on RATIS-148: --- Thanks a lot for working on this, [~jnp]. -

[jira] [Commented] (RATIS-150) The hadoop tests in example do not run

2017-11-20 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16260124#comment-16260124 ] Tsz Wo Nicholas Sze commented on RATIS-150: --- [~elek], could you take a look? > The hadoop tests

[jira] [Updated] (RATIS-151) Refactor ratis-server tests to reduce the use DEFAULT_CALLID

2017-11-20 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-151: -- Attachment: r151_20171120b.patch r151_20171120b.patch: more code refactoring. Note that

[jira] [Commented] (RATIS-6) Project logo

2017-11-20 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16260135#comment-16260135 ] Tsz Wo Nicholas Sze commented on RATIS-6: - +1 > Project logo > > > Key:

[jira] [Created] (RATIS-147) Add a script to run a single test repeatedly

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-147: - Summary: Add a script to run a single test repeatedly Key: RATIS-147 URL: https://issues.apache.org/jira/browse/RATIS-147 Project: Ratis Issue

[jira] [Commented] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258695#comment-16258695 ] Tsz Wo Nicholas Sze commented on RATIS-141: --- TestRaftStream.testSimpleWrite may fail WITHOUT any

[jira] [Updated] (RATIS-147) Add a script to run a single test repeatedly

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-147: -- Description: It is useful to run a single test repeatedly to reproduce intermittent

[jira] [Updated] (RATIS-147) Add a script to run a single test repeatedly

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-147: -- Attachment: r147_20171119.patch r147_20171119.patch: 1st patch. > Add a script to run a

[jira] [Commented] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258715#comment-16258715 ] Tsz Wo Nicholas Sze commented on RATIS-141: --- This is a different failed case {code} Running

[jira] [Commented] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258728#comment-16258728 ] Tsz Wo Nicholas Sze commented on RATIS-141: --- > It seems easier to reproduce the failure of

[jira] [Updated] (RATIS-147) Add a script to run a single test repeatedly

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-147: -- Attachment: (was: r147_20171119.patch) > Add a script to run a single test

[jira] [Created] (RATIS-149) TestRaftStream.testSimpleWrite may fail

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-149: - Summary: TestRaftStream.testSimpleWrite may fail Key: RATIS-149 URL: https://issues.apache.org/jira/browse/RATIS-149 Project: Ratis Issue Type:

[jira] [Commented] (RATIS-149) TestRaftStream.testSimpleWrite may fail

2017-11-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258725#comment-16258725 ] Tsz Wo Nicholas Sze commented on RATIS-149: --- It seems easier to reproduce the failure of

[jira] [Commented] (RATIS-150) The hadoop tests in example do not run

2017-11-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16261580#comment-16261580 ] Tsz Wo Nicholas Sze commented on RATIS-150: --- The reordering is to let the grpc and other tests

[jira] [Commented] (RATIS-95) Executable Jar for the ratis examples

2017-11-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16255875#comment-16255875 ] Tsz Wo Nicholas Sze commented on RATIS-95: -- Tried a little more of the patch. It works well in

[jira] [Updated] (RATIS-142) Test ArithmeticStateMachine with the Gauss–Legendre algorithm

2017-11-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-142: -- Attachment: r142_20171116.patch r142_20171116.patch: allows a cluster to be shared my

[jira] [Commented] (RATIS-133) Raft gRPC client should check proto size before sending a message

2017-11-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248298#comment-16248298 ] Tsz Wo Nicholas Sze commented on RATIS-133: --- {code} + Preconditions +

[jira] [Commented] (RATIS-133) Raft gRPC client should check proto size before sending a message

2017-11-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16248294#comment-16248294 ] Tsz Wo Nicholas Sze commented on RATIS-133: --- - Since client also uses MESSAGE_SIZE_MAX_KEY.

[jira] [Commented] (RATIS-141) In RaftClientProtocolService, the assumption of consecutive callId is invalid

2017-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16257899#comment-16257899 ] Tsz Wo Nicholas Sze commented on RATIS-141: --- r141_20171117.patch: add streamSeqNum to

[jira] [Commented] (RATIS-102) Clean generated sources as part of the default clean lifecycle

2017-11-01 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16234686#comment-16234686 ] Tsz Wo Nicholas Sze commented on RATIS-102: --- Hi [~elek], just have tried the 001 patch but {{mvn

[jira] [Created] (RATIS-124) RaftLog should be sync'ed on the entries appended but not the latest entry

2017-11-01 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-124: - Summary: RaftLog should be sync'ed on the entries appended but not the latest entry Key: RATIS-124 URL: https://issues.apache.org/jira/browse/RATIS-124

[jira] [Commented] (RATIS-122) Add a FileStore example

2017-11-01 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16234883#comment-16234883 ] Tsz Wo Nicholas Sze commented on RATIS-122: --- > if close is true, logSync will also sync the

[jira] [Commented] (RATIS-125) The cause in a StateMachineException is not sent to client

2017-11-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16238186#comment-16238186 ] Tsz Wo Nicholas Sze commented on RATIS-125: --- Below adds a fake exception to RATIS-122 in order to

<    1   2   3   4   5   6   7   8   9   10   >