Dist Area permissions problem

2017-07-17 Thread John D. Ament
All,

Please be advised that the infra team is aware of a permission problem that
is affecting podlings ability to write to the incubator dist area.  This
may cause you to be unable to create staged releases and promote those to
the public mirrors.  You can track the status in
https://issues.apache.org/jira/browse/INFRA-14609 .

Likewise, I want to make the podlings aware of a permission problem from
the weekend where git permissions were a little off.  That has since been
fixed.

Apologies for any inconvenience.

John


[jira] [Resolved] (GOSSIP-66) Implement Crdt 2P-Set

2017-07-17 Thread Edward Capriolo (JIRA)

 [ 
https://issues.apache.org/jira/browse/GOSSIP-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Capriolo resolved GOSSIP-66.
---
   Resolution: Fixed
Fix Version/s: 0.1.3

> Implement Crdt 2P-Set
> -
>
> Key: GOSSIP-66
> URL: https://issues.apache.org/jira/browse/GOSSIP-66
> Project: Gossip
>  Issue Type: New Feature
>Reporter: Edward Capriolo
>Assignee: Maxim Rusak
> Fix For: 0.1.3
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GOSSIP-66) Implement Crdt 2P-Set

2017-07-17 Thread Edward Capriolo (JIRA)

[ 
https://issues.apache.org/jira/browse/GOSSIP-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16090754#comment-16090754
 ] 

Edward Capriolo commented on GOSSIP-66:
---

Looks good. Thanks much. Merged.

> Implement Crdt 2P-Set
> -
>
> Key: GOSSIP-66
> URL: https://issues.apache.org/jira/browse/GOSSIP-66
> Project: Gossip
>  Issue Type: New Feature
>Reporter: Edward Capriolo
>Assignee: Maxim Rusak
> Fix For: 0.1.3
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: Vision letter, reqest for discussion

2017-07-17 Thread Edward Capriolo
On Mon, Jul 17, 2017 at 3:57 PM, Gary Dusbabek  wrote:

> Sorry for the late reply. I am on holiday.
>
> I think part of the problem is that the community is so small. It's
> difficult right now to get PRs merged for lack of reviewers. And in cases
> where participants disagree, and there is no consensus, no real work can
> get done.
>
> For example, I would love to push through a big refactoring that improves
> the coupling problem in the code base. It is near impossible to write good
> unit tests currently. And it's difficult to write features if you cannot
> easily test them. However, I don't feel like there is support for this kind
> of change.
>
> So in short, when there are competing visions, and not a small community,
> it will be difficult to make headway.
>
> As for the CRDTs, etc. I don't think there is any need for them right now,
> personally. They are a scratch with no itch. :)
>
> Gary.
>
>
> On Tue, Jul 11, 2017 at 11:58 AM, Edward Capriolo 
> wrote:
>
> > On Tue, Jul 11, 2017 at 11:15 AM, Русак Максим 
> > wrote:
> >
> > > Hello, Gossip community.
> > > Today I want to discuss our vision of Gossip project, its purpose and
> > > future steps.
> > > I think the main problem is that even I have not clear vision of our
> > goals
> > > and future steps, I think all members of our small community - 5-10
> > > members, have their our unique vision - it's illy.
> > > Are we just implementation of Gossip? Or do we want to implement much
> > more
> > > algorithms and to solve more problems? If yes, what problems?
> > > Who is our user in both cases?
> > > I think without this understanding and obtaining first users quickly
> > > community can fall apart.
> > >
> > > I think our goal now:
> > > 1. Formulate goals and principles of Apache Gossip
> > > 2. After that we'll understand who is our exemplary user, which
> problems
> > > we can solve for him
> > > 3. Then we'll understand the shortest path to a real adaptation. We'll
> > get
> > > one real user and do all stuff to make Gossip decent for him.
> > >
> > > I'm GSoC participant, I have a lot of time now to work and I want to
> move
> > > Gossip to the new level. My tasks are CRDTs, SWIM and Consensus.
> > > For example, I can't understand which of these tasks will lead us to
> > users
> > > and to what kind of users?
> > > CRDT umbrella task (GOSSIP-67) has a lot of CRDTs, I implemented almost
> > > all of them, two remaining Crdts are so rare and complicated that I
> think
> > > there is no need to implement them. I think even some of already
> > > implemented are not necessary.
> > > The same situation with SWIM. We have some algorithm now, but the
> system
> > > in general is not usable by anybody, we can't understand is this
> > algorithm
> > > good or not? We mustn't fabricate needs of our users, we should analyze
> > > problems of real users.
> > > The same with Consensus. Is it in our plan and does it correspond to
> our
> > > vision? Is there anybody who is interested in it?
> > >
> > > "Features for features" is not our goal. "Features for solving users'
> > > pain" have sense.
> > > I want to bring you one example of strong community and successful
> > > company. It's Hashicorp. They have SWIM implemented and running in
> > > production on thousands of machines. And they not just implement the
> most
> > > modern algorithms. They do research and innovations. And it's not only
> > due
> > > to their passion to algorithms, it's due to pain of their users, their
> > > clear vision and desire to solve users' problems.
> > > It's the only way to build big robust community (and company like
> > > Hashicorp) - formulate purpose and aim on obtaining users.
> > > So let's think about our understanding of Apache Gossip and decide
> > whether
> > > SWIM or Consensus is highest priority to obtain first users or not?
> > > If we decide that it is, I'll do it with pleasure. If not, let's
> compose
> > > plan to first users and I'll bring them.
> > >
> > > Thanks, Maxim Rusak
> > >
> >
> > Maxim,
> >
> > Apache follows a "Scratch an itch" philosophy.
> > https://commons.apache.org/volunteering.html. This is different from a
> > traditional software product or consulting company. We do not need to
> make
> > a "road map" or decide who are "users" are. You and I are both volunteers
> > to the Gossip effort.
> >
> > If you say that the other two CRDT types we have ticket are ticket are
> rare
> > and complicated, we can close them as WONT_FIX, or we can leave them open
> > in case someone else wants to work on them. That is a discussion we
> should
> > have possibly by a case by case basis possibly inside the ticket.
> >
> > Implicitly we understand that for Gossip to be successfully then people
> > have to use it. A key part of that is having features that matter to
> > people.
> >
> > "So let's think about our understanding of Apache Gossip and decide
> whether
> > SWIM or Consensus is 

Re: Vision letter, reqest for discussion

2017-07-17 Thread Gary Dusbabek
Sorry for the late reply. I am on holiday.

I think part of the problem is that the community is so small. It's
difficult right now to get PRs merged for lack of reviewers. And in cases
where participants disagree, and there is no consensus, no real work can
get done.

For example, I would love to push through a big refactoring that improves
the coupling problem in the code base. It is near impossible to write good
unit tests currently. And it's difficult to write features if you cannot
easily test them. However, I don't feel like there is support for this kind
of change.

So in short, when there are competing visions, and not a small community,
it will be difficult to make headway.

As for the CRDTs, etc. I don't think there is any need for them right now,
personally. They are a scratch with no itch. :)

Gary.


On Tue, Jul 11, 2017 at 11:58 AM, Edward Capriolo 
wrote:

> On Tue, Jul 11, 2017 at 11:15 AM, Русак Максим 
> wrote:
>
> > Hello, Gossip community.
> > Today I want to discuss our vision of Gossip project, its purpose and
> > future steps.
> > I think the main problem is that even I have not clear vision of our
> goals
> > and future steps, I think all members of our small community - 5-10
> > members, have their our unique vision - it's illy.
> > Are we just implementation of Gossip? Or do we want to implement much
> more
> > algorithms and to solve more problems? If yes, what problems?
> > Who is our user in both cases?
> > I think without this understanding and obtaining first users quickly
> > community can fall apart.
> >
> > I think our goal now:
> > 1. Formulate goals and principles of Apache Gossip
> > 2. After that we'll understand who is our exemplary user, which problems
> > we can solve for him
> > 3. Then we'll understand the shortest path to a real adaptation. We'll
> get
> > one real user and do all stuff to make Gossip decent for him.
> >
> > I'm GSoC participant, I have a lot of time now to work and I want to move
> > Gossip to the new level. My tasks are CRDTs, SWIM and Consensus.
> > For example, I can't understand which of these tasks will lead us to
> users
> > and to what kind of users?
> > CRDT umbrella task (GOSSIP-67) has a lot of CRDTs, I implemented almost
> > all of them, two remaining Crdts are so rare and complicated that I think
> > there is no need to implement them. I think even some of already
> > implemented are not necessary.
> > The same situation with SWIM. We have some algorithm now, but the system
> > in general is not usable by anybody, we can't understand is this
> algorithm
> > good or not? We mustn't fabricate needs of our users, we should analyze
> > problems of real users.
> > The same with Consensus. Is it in our plan and does it correspond to our
> > vision? Is there anybody who is interested in it?
> >
> > "Features for features" is not our goal. "Features for solving users'
> > pain" have sense.
> > I want to bring you one example of strong community and successful
> > company. It's Hashicorp. They have SWIM implemented and running in
> > production on thousands of machines. And they not just implement the most
> > modern algorithms. They do research and innovations. And it's not only
> due
> > to their passion to algorithms, it's due to pain of their users, their
> > clear vision and desire to solve users' problems.
> > It's the only way to build big robust community (and company like
> > Hashicorp) - formulate purpose and aim on obtaining users.
> > So let's think about our understanding of Apache Gossip and decide
> whether
> > SWIM or Consensus is highest priority to obtain first users or not?
> > If we decide that it is, I'll do it with pleasure. If not, let's compose
> > plan to first users and I'll bring them.
> >
> > Thanks, Maxim Rusak
> >
>
> Maxim,
>
> Apache follows a "Scratch an itch" philosophy.
> https://commons.apache.org/volunteering.html. This is different from a
> traditional software product or consulting company. We do not need to make
> a "road map" or decide who are "users" are. You and I are both volunteers
> to the Gossip effort.
>
> If you say that the other two CRDT types we have ticket are ticket are rare
> and complicated, we can close them as WONT_FIX, or we can leave them open
> in case someone else wants to work on them. That is a discussion we should
> have possibly by a case by case basis possibly inside the ticket.
>
> Implicitly we understand that for Gossip to be successfully then people
> have to use it. A key part of that is having features that matter to
> people.
>
> "So let's think about our understanding of Apache Gossip and decide whether
> SWIM or Consensus is highest priority to obtain first users or not?"
>
> I am not a business analyst. These are things I know:
>
> 1) Riak has CRDT support
> 2) Spark uses a gossip layer
> 3) Cassandra Uses a gossip layer
> 4) zookeeper has watchers (close to our event listeners)
> 5) hashicorp has a product you mentioned
> 

Majority Vote Locking

2017-07-17 Thread Mirage Abeysekara
Hi all,

I am currently working on implementing a vote based locking protocol which
can be used to acquire a lock on shared data items. According to the
design[1] it uses CRDT's to distribute the lock data to other nodes and use
vote give up for prevent deadlocks.

You can test the current implentation using [2] and the code [3]

[1]
https://docs.google.com/document/d/1sKbDs3aLcJxjKeEjXVRt9BnI1zKIPQTDN6RkDL_jEZc/edit?usp=sharing
[2]
https://github.com/Mirage20/incubator-gossip/blob/GOSSIP-75/gossip-examples/src/main/java/org/apache/gossip/examples/StandAloneVoteBasedLock.java
[3]
https://github.com/apache/incubator-gossip/pull/62/files#diff-77c0648e95f1585d6dbe79c840a30e1c

Any feedback and suggestions are appreciated.

Thanks,
Mirage

*Mirage Abeysekara*
Undergraduate
Computer Science and Engineering
University of Moratuwa
Twitter: https://twitter.com/MiRAGECreator
GooglePlus: https://plus.google.com/u/0/+MirageAbeysekara