[jira] [Commented] (RATIS-74) Missing dependency for enforcer rule enforceBytecodeVersion

2017-04-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15983100#comment-15983100 ] Tsz Wo Nicholas Sze commented on RATIS-74: -- +1 patch looks good. The patch is very helpful.

[jira] [Resolved] (RATIS-74) Missing dependency for enforcer rule enforceBytecodeVersion

2017-04-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-74. -- Resolution: Fixed I have committed this. > Missing dependency for enforcer rule

[jira] [Commented] (RATIS-73) Update apache-rat-plugin to version 0.12

2017-04-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15983111#comment-15983111 ] Tsz Wo Nicholas Sze commented on RATIS-73: -- It seems that some of the excludes are needed since rat

[jira] [Assigned] (RATIS-101) Use ByteBuffer instead of byte[] in RaftId

2017-08-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-101: - Assignee: Tsz Wo Nicholas Sze > Use ByteBuffer instead of byte[] in RaftId >

[jira] [Comment Edited] (RATIS-100) Test multiple raft groups with a state machine

2017-08-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16114945#comment-16114945 ] Tsz Wo Nicholas Sze edited comment on RATIS-100 at 8/4/17 8:36 PM: ---

[jira] [Updated] (RATIS-100) Test multiple raft groups with a state machine

2017-08-04 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_20170804.patch r100_20170804.patch: adds TestMultiRaftGroup. Note that

[jira] [Commented] (RATIS-97) Leader may not have majority after setConfiguration

2017-08-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16114789#comment-16114789 ] Tsz Wo Nicholas Sze commented on RATIS-97: -- > Therefore I think the {{reinitialize}} API should

[jira] [Created] (RATIS-101) Use ByteBuffer instead of byte[] in RaftId

2017-08-04 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-101: - Summary: Use ByteBuffer instead of byte[] in RaftId Key: RATIS-101 URL: https://issues.apache.org/jira/browse/RATIS-101 Project: Ratis Issue Type:

[jira] [Updated] (RATIS-101) Use ByteString instead of byte[] in RaftId, ClientId, RaftGroupId and RaftPeerId

2017-08-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-101: -- Attachment: r101_20170804.patch r101_20170804.patch: using ByteString > Use ByteString

[jira] [Updated] (RATIS-101) Use ByteString instead of byte[] in RaftId, ClientId, RaftGroupId and RaftPeerId

2017-08-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-101: -- Description: - We can avoid copying bytes by using ByteString. - ByteString is

[jira] [Updated] (RATIS-96) LeaderState computeLastCommitted may throw ArrayIndexOutOfBoundsException

2017-07-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-96: - Attachment: r96_20170727.patch Thanks Jing. Re-uploaded the file. > LeaderState

[jira] [Updated] (RATIS-96) LeaderState computeLastCommitted may throw ArrayIndexOutOfBoundsException

2017-07-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-96: - Attachment: (was: r96_20170727.patch) > LeaderState computeLastCommitted may throw

[jira] [Updated] (RATIS-97) Leader may not have majority after setConfiguration

2017-07-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-97: - Attachment: r97_20170728.patch r97_20170728.patch: allows RaftServerImpl to be created with

[jira] [Updated] (RATIS-96) LeaderState computeLastCommitted may throw ArrayIndexOutOfBoundsException

2017-07-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-96: - Attachment: r96_20170731.patch r96_20170731.patch: some minor changes to the test messages.

[jira] [Comment Edited] (RATIS-97) Leader may not have majority after setConfiguration

2017-07-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16105361#comment-16105361 ] Tsz Wo Nicholas Sze edited comment on RATIS-97 at 7/31/17 9:20 PM: --- > ...

[jira] [Updated] (RATIS-98) Cache RaftId byte[] and String

2017-07-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-98: - Attachment: r98_20170731.patch r98_20170731.patch: reverts "renames getPeersInGroup() to

[jira] [Commented] (RATIS-96) LeaderState computeLastCommitted may throw ArrayIndexOutOfBoundsException

2017-08-01 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16109424#comment-16109424 ] Tsz Wo Nicholas Sze commented on RATIS-96: -- Thanks Jing for reviewing and committing the patch! >

[jira] [Commented] (RATIS-100) Test multiple raft groups with a state machine

2017-08-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16120758#comment-16120758 ] Tsz Wo Nicholas Sze commented on RATIS-100: --- I found the bug: a server should not response to

[jira] [Commented] (RATIS-100) Test multiple raft groups with a state machine

2017-08-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16120697#comment-16120697 ] Tsz Wo Nicholas Sze commented on RATIS-100: --- TestMultiRaftGroup: # starts 5 three-node groups

[jira] [Updated] (RATIS-100) Test multiple raft groups with a state machine

2017-08-09 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: (was: r100_20170809b.patch) > Test multiple raft groups with a state

[jira] [Updated] (RATIS-100) Test multiple raft groups with a state machine

2017-08-09 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_no_leader_case.log > Test multiple raft groups with a state machine >

[jira] [Commented] (RATIS-100) Test multiple raft groups with a state machine

2017-08-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16120873#comment-16120873 ] Tsz Wo Nicholas Sze commented on RATIS-100: --- > ... a server should not response to another peer

[jira] [Updated] (RATIS-100) Test multiple raft groups with a state machine

2017-08-09 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: (was: r100_20170809c.patch) > Test multiple raft groups with a state

[jira] [Updated] (RATIS-100) Test multiple raft groups with a state machine

2017-08-09 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_20170809c.patch > Test multiple raft groups with a state machine >

[jira] [Updated] (RATIS-100) Test multiple raft groups with a state machine

2017-08-09 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_20170809c.patch > Test multiple raft groups with a state machine >

[jira] [Updated] (RATIS-101) Use ByteString instead of byte[] in RaftId, ClientId, RaftGroupId and RaftPeerId

2017-08-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-101: -- Attachment: r101_20170807.patch r101_20170807.patch: some minor cleanup. > Use

[jira] [Updated] (RATIS-96) LeaderState computeLastCommitted may throw ArrayIndexOutOfBoundsException

2017-07-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-96: - Attachment: r96_20170727.patch r96_20170727.patch: adds cluster.shutdown() to

[jira] [Updated] (RATIS-106) Consistently use File for storageDir

2017-08-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-106: -- Attachment: r106_20170816.patch r106_20170816.patch: 1st patch. > Consistently use File

[jira] [Created] (RATIS-107) Restrict reinitialize to be from/to an empty group

2017-08-16 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-107: - Summary: Restrict reinitialize to be from/to an empty group Key: RATIS-107 URL: https://issues.apache.org/jira/browse/RATIS-107 Project: Ratis

[jira] [Created] (RATIS-106) Consistently use File for storageDir

2017-08-16 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-106: - Summary: Consistently use File for storageDir Key: RATIS-106 URL: https://issues.apache.org/jira/browse/RATIS-106 Project: Ratis Issue Type: Bug

[jira] [Updated] (RATIS-107) Restrict reinitialize to be from/to an empty group

2017-08-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-107: -- Description: In order to avoid servers being accidentally reinitialized incorrectly, we

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

2017-08-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16137548#comment-16137548 ] Tsz Wo Nicholas Sze commented on RATIS-110: --- We should also - change the public constructors to

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

2017-08-22 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-105) Server should check group id for client requests

2017-08-22 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: (was: r105_20170821.patch) > Server should check group id for client

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

2017-08-22 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: -- Issue Type: Bug (was: Improvement) > RaftLogWorker may throw IllegalStateException >

[jira] [Updated] (RATIS-107) Restrict reinitialize to be from/to an empty group

2017-08-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-107: -- Attachment: r107_20170822.patch r107_20170822.patch: updates with the patch in

[jira] [Commented] (RATIS-106) Consistently use File for storageDir

2017-08-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16131040#comment-16131040 ] Tsz Wo Nicholas Sze commented on RATIS-106: --- > ... pending jenkins. Thanks, Chen.

[jira] [Updated] (RATIS-87) Separate RaftServerImpl into proxy and impl

2017-05-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-87: - Issue Type: Improvement (was: New Feature) > Separate RaftServerImpl into proxy and impl >

[jira] [Updated] (RATIS-87) Separate RaftServerImpl into proxy and impl

2017-05-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-87: - Issue Type: New Feature (was: Sub-task) Parent: (was: RATIS-86) > Separate

[jira] [Updated] (RATIS-85) TestNotLeaderExceptionWithHadoopRpc and TestRaftReconfigurationWithHadoopRpc fail intermittently

2017-05-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-85: - Attachment: RATIS-85.001.patch Since the update is very minor, let me fix it.

[jira] [Updated] (RATIS-86) Support server re-initialization

2017-05-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-86: - Attachment: r86_20170512.patch r86_20170512.patch: removes the TODO from LeaderState. It

[jira] [Commented] (RATIS-85) TestNotLeaderExceptionWithHadoopRpc and TestRaftReconfigurationWithHadoopRpc fail intermittently

2017-05-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16008916#comment-16008916 ] Tsz Wo Nicholas Sze commented on RATIS-85: -- +1 I have committed this. >

[jira] [Resolved] (RATIS-85) TestNotLeaderExceptionWithHadoopRpc and TestRaftReconfigurationWithHadoopRpc fail intermittently

2017-05-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-85. -- Resolution: Fixed Fix Version/s: 0.2.0-alpha > TestNotLeaderExceptionWithHadoopRpc

[jira] [Commented] (RATIS-85) TestNotLeaderExceptionWithHadoopRpc and TestRaftReconfigurationWithHadoopRpc fail intermittently

2017-05-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16008851#comment-16008851 ] Tsz Wo Nicholas Sze commented on RATIS-85: -- The patch looks good expect that it does not apply to

[jira] [Updated] (RATIS-88) Add RaftPeerId.valueOf methods

2017-05-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-88: - Attachment: r88_20170512.patch r88_20170512.patch: 1st patch. > Add RaftPeerId.valueOf

[jira] [Updated] (RATIS-88) Add RaftPeerId.valueOf methods

2017-05-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-88: - Description: In any Ratis application, the number of distinct RaftPeerId objects are very

[jira] [Updated] (RATIS-92) Move the basic getClassByName methods from RaftProperties to ReflectionUtils

2017-06-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-92: - Attachment: r92_20170623.patch Thanks Enis. Here is a new patch fixing the typo.

[jira] [Resolved] (RATIS-56) Update project version to 0.1.0-alpha

2017-05-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-56. -- Resolution: Fixed Fix Version/s: 0.1.0-alpha > Update project version to

[jira] [Created] (RATIS-86) Support server re-initialization

2017-05-05 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-86: Summary: Support server re-initialization Key: RATIS-86 URL: https://issues.apache.org/jira/browse/RATIS-86 Project: Ratis Issue Type: New Feature

[jira] [Commented] (RATIS-104) Add an RPC to get server information

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16162477#comment-16162477 ] Tsz Wo Nicholas Sze commented on RATIS-104: --- +1 patch looks good. A minor comment

[jira] [Updated] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-114: -- Attachment: r114_20170912.patch > TestRaftWithHadoopRpc.testWithLoad may timeout >

[jira] [Updated] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-114: -- Attachment: (was: r114_20170912.patch) > TestRaftWithHadoopRpc.testWithLoad may

[jira] [Updated] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-114: -- Attachment: r114_20170912.patch r114_20170912.patch: sync'ed with trunk. >

[jira] [Resolved] (RATIS-104) Add an RPC to get server information

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

[jira] [Updated] (RATIS-104) Add an RPC to get server information

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-104: -- Attachment: RATIS-104.003_amendment.patch Here is the amendment:

[jira] [Updated] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-114: -- Attachment: r114_20170912.patch > TestRaftWithHadoopRpc.testWithLoad may timeout >

[jira] [Updated] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-114: -- Attachment: (was: r114_20170915.patch) > TestRaftWithHadoopRpc.testWithLoad may

[jira] [Updated] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-114: -- Attachment: (was: r114_20170915.patch) > TestRaftWithHadoopRpc.testWithLoad may

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

2017-09-21 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 updated RATIS-116: -- Attachment: r116_20170922.patch > In PendingRequests, the requests are never removed

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

2017-09-21 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 updated RATIS-116: -- Attachment: (was: r116_20170922.patch) > In PendingRequests, the requests are never

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

2017-09-21 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 updated RATIS-116: -- Attachment: r116_20170922.patch r116_20170922.patch: removes PendingRequest when

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

2017-09-21 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 updated RATIS-116: -- Attachment: (was: r116_20170922.patch) > In PendingRequests, the requests are never

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

2017-10-10 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-119: - Summary: RaftServerImpl.registerMBean may throw MalformedObjectNameException Key: RATIS-119 URL: https://issues.apache.org/jira/browse/RATIS-119 Project:

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

2017-10-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16198842#comment-16198842 ] Tsz Wo Nicholas Sze commented on RATIS-119: --- We may also try to quote the object names. It may

[jira] [Created] (RATIS-120) In RaftClient.Builder, allow clientRpc to be initialized automatically

2017-10-13 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-120: - Summary: In RaftClient.Builder, allow clientRpc to be initialized automatically Key: RATIS-120 URL: https://issues.apache.org/jira/browse/RATIS-120

[jira] [Created] (RATIS-121) In RaftServer.Builder, allow serverId to be initialized automatically

2017-10-13 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-121: - Summary: In RaftServer.Builder, allow serverId to be initialized automatically Key: RATIS-121 URL: https://issues.apache.org/jira/browse/RATIS-121 Project:

[jira] [Commented] (RATIS-104) Add an RPC to get server information

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

[jira] [Commented] (RATIS-107) Restrict reinitialize to be from/to an empty group

2017-09-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16156791#comment-16156791 ] Tsz Wo Nicholas Sze commented on RATIS-107: --- For #1, it is a question if we want to have a single

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

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-115: -- Attachment: r115_20170911.patch > RaftLogWorker still may throw IllegalStateException >

[jira] [Comment Edited] (RATIS-115) RaftLogWorker still may throw IllegalStateException

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16161194#comment-16161194 ] Tsz Wo Nicholas Sze edited comment on RATIS-115 at 9/11/17 1:30 PM:

[jira] [Comment Edited] (RATIS-115) RaftLogWorker still may throw IllegalStateException

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16161235#comment-16161235 ] Tsz Wo Nicholas Sze edited comment on RATIS-115 at 9/11/17 1:31 PM:

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

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16161194#comment-16161194 ] Tsz Wo Nicholas Sze commented on RATIS-115: --- Found the bug -- the index passed to startLogSegment

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

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-115: -- Attachment: r115_20170911.patch r115_20170911.patch: fixes the bug. > RaftLogWorker

[jira] [Created] (RATIS-115) RaftLogWorker still may throw IllegalStateException

2017-09-10 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-115: - Summary: RaftLogWorker still may throw IllegalStateException Key: RATIS-115 URL: https://issues.apache.org/jira/browse/RATIS-115 Project: Ratis

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

2017-09-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-115: -- Attachment: org.apache.ratis.hadooprpc.TestRaftWithHadoopRpc-output.txt The bug is that

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

2017-09-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16153134#comment-16153134 ] Tsz Wo Nicholas Sze commented on RATIS-100: --- Thanks Jing for reviewing and committing the patch!

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

2017-09-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16153147#comment-16153147 ] Tsz Wo Nicholas Sze commented on RATIS-105: --- Thanks Jing for reviewing and committing the patch!

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

2017-09-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16153128#comment-16153128 ] Tsz Wo Nicholas Sze commented on RATIS-102: --- Hi [~elek], it is a good point that the {{mvn

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

2017-09-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16154950#comment-16154950 ] Tsz Wo Nicholas Sze commented on RATIS-111: --- I can reproduce the failure without the patch here.

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

2017-09-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16154989#comment-16154989 ] Tsz Wo Nicholas Sze commented on RATIS-111: --- > ... the failure might be simply because the

[jira] [Updated] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-114: -- Attachment: org.apache.ratis.hadooprpc.TestRaftWithHadoopRpc-output.txt.gz

[jira] [Commented] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16164135#comment-16164135 ] Tsz Wo Nicholas Sze commented on RATIS-114: --- I forgot to mention that client reconnecting does

[jira] [Commented] (RATIS-107) Restrict reinitialize to be from/to an empty group

2017-09-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16159847#comment-16159847 ] Tsz Wo Nicholas Sze commented on RATIS-107: --- BTW, let's keep {{reinitialize}} as an RPC for the

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

2017-09-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16159789#comment-16159789 ] Tsz Wo Nicholas Sze commented on RATIS-102: --- We need to shade for every clean. It is good to

[jira] [Commented] (RATIS-104) Add an RPC to get server information

2017-09-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16159724#comment-16159724 ] Tsz Wo Nicholas Sze commented on RATIS-104: --- [~vagarychen], the patch does not compile: {code}

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

2017-09-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16154989#comment-16154989 ] Tsz Wo Nicholas Sze edited comment on RATIS-111 at 9/7/17 3:55 AM: --- > ...

[jira] [Assigned] (RATIS-104) Add an RPC to get server information

2017-09-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-104: - Assignee: Chen Liang (was: Tsz Wo Nicholas Sze) > Add an RPC to get server

[jira] [Commented] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16156403#comment-16156403 ] Tsz Wo Nicholas Sze commented on RATIS-114: --- After added some debug messages, found that the

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

2017-09-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16156452#comment-16156452 ] Tsz Wo Nicholas Sze commented on RATIS-111: --- Let's commit the patch here and fix the testWithLoad

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

2017-09-07 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_20170907.patch r111_20170907.patch: sync'ed with trunk. >

[jira] [Updated] (RATIS-114) TestRaftWithHadoopRpc.testWithLoad may timeout

2017-09-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-114: -- Attachment: r114_20170907.patch It seems not and the problem seems happening with other

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

2017-09-07 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 resolved RATIS-111. --- Resolution: Fixed Fix Version/s: 0.2.0-alpha Thanks Jing for reviewing the

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

2017-09-28 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 reassigned RATIS-116: - Assignee: Tsz Wo Nicholas Sze > In PendingRequests, the requests are never

[jira] [Commented] (RATIS-118) Add missing license headers for the ServerInformation feature

2017-09-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16183804#comment-16183804 ] Tsz Wo Nicholas Sze commented on RATIS-118: --- {code} mvn apache-rat:check {code} Without the patch

[jira] [Created] (RATIS-118) Add missing license headers for the ServerInformation feature

2017-09-28 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-118: - Summary: Add missing license headers for the ServerInformation feature Key: RATIS-118 URL: https://issues.apache.org/jira/browse/RATIS-118 Project: Ratis

[jira] [Resolved] (RATIS-118) Add missing license headers for the ServerInformation feature

2017-09-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-118. --- Resolution: Fixed Jing, thanks for the quick review! I have committed this. > Add

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

2017-08-24 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-112: - Summary: testRevertConfigurationChange may fail Key: RATIS-112 URL: https://issues.apache.org/jira/browse/RATIS-112 Project: Ratis Issue Type: Bug

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

2017-08-24 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: org.apache.ratis.hadooprpc.TestRaftReconfigurationWithHadoopRpc-output.txt

[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_20170824c.patch r111_20170824c.patch: reverts the changes in

[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 r105_20170821.patch: updates with the current patch in

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