RE: java.io.EOFException

2017-06-30 Thread Brahma Reddy Battula
You need to send mail to 
user-unsubscr...@zookeeper.apache.org<mailto:user-unsubscr...@zookeeper.apache.org>.

Reference:

https://zookeeper.apache.org/lists.html




Brahma Reddy Battula

From: Mike Richardson [mailto:m...@motum.be]
Sent: 30 June 2017 14:38
To: user@zookeeper.apache.org
Subject: Re: java.io.EOFException

Unsubscribe


Mike Richardson

Senior Software Engineer

[cid:part1.BC028947.AB80697F@motum.be]

MoTuM N.V. | Dellingstraat 34 | B-2800 MECHELEN | Belgium


T +32(0)15 28 16 63
M +32 494 63 98 15


www.motum.be<http://www.motum.be/>

On 29 June 2017 at 18:59, Michael Han 
<h...@cloudera.com<mailto:h...@cloudera.com>> wrote:
On Wed, Jun 28, 2017 at 11:59 PM, Mike Richardson 
<m...@motum.be<mailto:m...@motum.be>> wrote:

> Unsubscribe
>
>
>
Unsubscribe does not work like this. To unsubscribe, please click the
Unsubscribe
from List
<%75%73%65%72%2D%75%6E%73%75%62%73%63%72%69%62%65%40%7A%6F%6F%6B%65%65%70%65%72%2E%61%70%61%63%68%65%2E%6F%72%67>
link
from https://zookeeper.apache.org/lists.html.


> Mike Richardson
>
> Senior Software Engineer
>
>
>
> *MoTuM N.V. | Dellingstraat 34 | B-2800 MECHELEN | Belgium*
>
>
> T +32(0)15 28 16 63 <+32%2015%2028%2016%2063>
> M +32 494 63 98 15 <+32%20494%2063%2098%2015>
>
>
> www.motum.be<http://www.motum.be>
>
> On 28 June 2017 at 18:12, upendar devu 
> <devulapal...@gmail.com<mailto:devulapal...@gmail.com>> wrote:
>
>> We have 3 instances of zookeeper and seen below error and then the
>> zookeeper server process was auto stopped for a while and then it was auto
>> restarted.
>>
>> We see this error at least once in a month .  we have data directory
>> within
>> the zookeeper AWS instance  could you please help us.
>>
>> Thanks
>>
>> Zookeeper log :
>>
>>
>> 2017-06-27 21:24:58,839 [myid:3] - WARN
>>  [NIOServerCxn.Factory:/IP:2181:NIOServerCnxn@357] - caught end of stream
>> exception
>> EndOfStreamException: Unable to read additional data from client sessionid
>> 0x0, likely client has closed socket
>> at
>> org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
>> at
>> org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServ
>> erCnxnFactory.java:208)
>> at java.lang.Thread.run(Thread.java:745)
>> 2017-06-27 21:24:58,839 [myid:3] - INFO
>>  [NIOServerCxn.Factory:/1XX.XX.XX.XX:2181:NIOServerCnxn@1007] - Closed
>> socket connection for client /XX.XX.XX.XX:57497 (no sessi
>> on established for client)
>> 2017-06-27 21:24:58,840 [myid:3] - INFO  [
>> zookeeper3-prod.aws.npp.neustar.biz/XX.XX.XX.XX:3888:QuorumC<http://zookeeper3-prod.aws.npp.neustar.biz/XX.XX.XX.XX:3888:QuorumC>
>> nxManager$Listener@511]
>> - Received connection request /XX.XX>XX
>> 2:35419
>> 2017-06-27 21:24:58,840 [myid:3] - WARN  [
>> zookeeper3-prod.aws.npp.neustar.biz/:3888:QuorumCnxManager@260<http://zookeeper3-prod.aws.npp.neustar.biz/:3888:QuorumCnxManager@260>]
>>  -
>> Exception reading or writing challenge: java.io.E
>> OFException
>> 2017-06-27 21:24:58,840 [myid:3] - ERROR
>> [LearnerHandler-/:39920:LearnerHandler@633] - Unexpected exception
>> causing shutdown while sock still open
>> java.io.EOFException
>> at java.io.DataInputStream.readInt(DataInputStream.java:392)
>> at
>> org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63)
>> at
>> org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(
>> QuorumPacket.java:83)
>> at
>> org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArc
>> hive.java:103)
>> at
>> org.apache.zookeeper.server.quorum.LearnerHandler.run(Learne
>> rHandler.java:309)
>> 2017-06-27 21:24:58,841 [myid:3] - WARN
>>  [LearnerHandler-/IP:39920:LearnerHandler@646] - *** GOODBYE
>> /:39920 
>> 2017-06-27 21:25:03,187 [myid:3] - INFO
>>  [NIOServerCxn.Factory:/IP:2181:NIOServerCnxnFactory@197] - Accepted
>> socket
>> connection from /1XXX:36060
>> 2017-06-27 21:25:03,187 [myid:3] - INFO
>>  [NIOServerCxn.Factory:/IP:2181:NIOServerCnxn@827] - Processing srvr
>> command from /XXX:36060
>> 2017-06-27 21:25:03,188 [myid:3] - INFO  [Thread-661253:NIOServerCnxn@1
>> 007]
>> - Closed socket connection for client /XXX:36060 (no session establis
>> 2017-06-27 21:27:17,496 [myid:3] - INFO
>>  [CommitProcessor:3:ZooKeeperServer@617] - Established session
>> 0x35b125b84aa028a with negotiated timeout 3 for client /IP:40526
>> 2017-06-27 21:27:38,763 [myid:] - I

RE: New PMC Member: Michael Han

2017-06-27 Thread Brahma Reddy Battula

Congratulations, Michael!




--Brahma Reddy Battula

-Original Message-
From: Edward Ribeiro [mailto:edward.ribe...@gmail.com] 
Sent: 28 June 2017 03:17
To: DevZooKeeper
Cc: UserZooKeeper
Subject: Re: New PMC Member: Michael Han

​Congrat
​ulations
​,
​Mic
​hael!
​
​Well d
​eserved
​!​
​
​
​
​
​
​
​


On Tue, Jun 27, 2017 at 2:07 PM, Patrick Hunt <ph...@apache.org> wrote:

> Kudos Michael, well deserved!
>
> Patrick
>
> On Tue, Jun 27, 2017 at 9:49 AM, Jordan Zimmerman < 
> jor...@jordanzimmerman.com> wrote:
>
> > Congrats!
> >
> > > On Jun 27, 2017, at 11:48 AM, Flavio Junqueira <f...@apache.org> wrote:
> > >
> > > I'm very happy to announce that the Apache ZooKeeper PMC has voted 
> > > to
> > invite Michael Han to join the PMC and Michael accepted. Michael has 
> > done outstanding work in the community over the recent past and we 
> > felt it was time for Michael to deepen his level of engagement by joining 
> > the PMC.
> > >
> > > Please join me in congratulating Michael for his achievement.
> > Congratulations, Michael!
> > >
> > > -Flavio
> > >
> > >
> >
> >
>


RE: Version parameter passed to ZooKeeper.setACL

2017-06-22 Thread Brahma Reddy Battula
Done. https://issues.apache.org/jira/browse/ZOOKEEPER-2818

Thanks.

--Brahma Reddy Battula

-Original Message-
From: Rakesh Radhakrishnan [mailto:rake...@apache.org] 
Sent: 23 June 2017 11:10
To: user@zookeeper.apache.org
Subject: Re: Version parameter passed to ZooKeeper.setACL

Agreed. Please feel free to raise a jira task for improving zkcli#setACL() 
javadoc.

Rakesh

On Fri, Jun 23, 2017 at 8:32 AM, Brahma Reddy Battula < 
brahmareddy.batt...@huawei.com> wrote:

> One suggestion here.
>
> Java doc or argument can be improved which might not mislead..?
>
> i) public Stat setACL(final String path, List acl, int aversion 
> or
> aclVersion)
> ii) "should pass aclversion only"..something like this..
>
>
>
> --Brahma Reddy Battula
>
> -Original Message-
> From: Rakesh Radhakrishnan [mailto:rake...@apache.org]
> Sent: 23 June 2017 10:47
> To: user@zookeeper.apache.org
> Subject: Re: Version parameter passed to ZooKeeper.setACL
>
> Hi Arpit,
>
> Stat#aversion represents "the number of changes to the ACL of this znode."
> On calling the zkcli#setACL api, internally ZK server will increase 
> the 'aversion' by one. If the given 'aversion' does not match the 
> znode's aversion it will throw BadVersionException.
>
> While invoking the #setACL api, you should pass "Stat.aversion".
>
> Rakesh
>
> On Thu, Jun 22, 2017 at 11:34 PM, Arpit Agarwal 
> <aagar...@hortonworks.com>
> wrote:
>
> > Greetings,
> >
> > For the ZooKeeper.setACL call:
> >
> > https://github.com/apache/zookeeper/blob/master/src/java/
> > main/org/apache/zookeeper/ZooKeeper.java#L2368
> >
> >  public Stat setACL(final String path, List acl, int 
> > version)
> >
> > Should version be set to Stat.version or Stat.aversion?
> >
> > Thanks,
> > Arpit
> >
> >
> >
>


RE: Version parameter passed to ZooKeeper.setACL

2017-06-22 Thread Brahma Reddy Battula
One suggestion here.

Java doc or argument can be improved which might not mislead..?

i) public Stat setACL(final String path, List acl, int aversion or 
aclVersion)
ii) "should pass aclversion only"..something like this..



--Brahma Reddy Battula

-Original Message-
From: Rakesh Radhakrishnan [mailto:rake...@apache.org] 
Sent: 23 June 2017 10:47
To: user@zookeeper.apache.org
Subject: Re: Version parameter passed to ZooKeeper.setACL

Hi Arpit,

Stat#aversion represents "the number of changes to the ACL of this znode."
On calling the zkcli#setACL api, internally ZK server will increase the 
'aversion' by one. If the given 'aversion' does not match the znode's aversion 
it will throw BadVersionException.

While invoking the #setACL api, you should pass "Stat.aversion".

Rakesh

On Thu, Jun 22, 2017 at 11:34 PM, Arpit Agarwal <aagar...@hortonworks.com>
wrote:

> Greetings,
>
> For the ZooKeeper.setACL call:
>
> https://github.com/apache/zookeeper/blob/master/src/java/
> main/org/apache/zookeeper/ZooKeeper.java#L2368
>
>  public Stat setACL(final String path, List acl, int version)
>
> Should version be set to Stat.version or Stat.aversion?
>
> Thanks,
> Arpit
>
>
>