Zookeeper version and SSL

2016-01-03 Thread Christophe Schmitz
Hi there,

I would like to use Zookeeper, but I would need SSL support for
client-server encryption.
I found this nice tutorial:
https://cwiki.apache.org/confluence/display/ZOOKEEPER/ZooKeeper+SSL+User+Guide
And it reference JIRA zookeeper-2125
https://issues.apache.org/jira/browse/ZOOKEEPER-2125 which is only fixed
since zookeeper 3.5.1.

Zookeeper main webpage is listing 3.5.0 and 3.5.1 as 'alpha' version. On
the other hand, the github project page has some git tags that seems stable
(release-3.5.1).

So I am wondering if the github tagged version 3.5.1 can be considered
stable at this stage, and if not, if there are some stable way to get ssl
encryption between server and client with a stable version of Zookeeper.

Thanks!

Christophe


Re: Cannot find version in repository

2016-01-03 Thread sam mohel
Thanks i found process with java for zookeeper but where can i find log of
zookeeper ?

On Sun, Jan 3, 2016 at 7:02 PM, Ted Yu  wrote:

> Was it possible that QuorumPeerMain didn't start ?
>
> Please check the log.
>
> Also use 'ps aux' and search for processes using java.
>
> Cheers
>
> On Sun, Jan 3, 2016 at 8:52 AM, sam mohel  wrote:
>
> > thanks for your time , but it is an example not by process
> > the result with me is just
> >
> > 1410 Jps
> >
> >
> > but the example illustarte that i should got like this
> > 1935 nimbus
> > 1092 ElasticSearch
> >  1982 core
> >  1529 QuorumPeerMain
> >
> >
> > BUT with different numbers
> >
> > On Sun, Jan 3, 2016 at 6:49 PM, Ted Yu  wrote:
> >
> > > I assumed you downloaded 3.4.6 from:
> > > https://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/
> > >
> > > If you ran zkServer.sh from where 3.4.6 was stored locally, the version
> > > would be 3.4.6
> > >
> > > Alternatively, doing 'ps aux | grep 1529' (the pid for QuorumPeerMain)
> > > would show you the path.
> > >
> > > Cheers
> > >
> > > On Sun, Jan 3, 2016 at 8:34 AM, sam mohel  wrote:
> > >
> > > > thanks i installed now 3.4.6 and delete 3.4.7 but how can i know
> > versoin
> > > of
> > > > running zookeeper ?
> > > >
> > > > i mean i'm now used ./zkServer.sh start
> > > > and zookeeper ran , i want to know the verion of it to make sure that
> > > it's
> > > > 3.4.6 ?
> > > >
> > > > i noticed when i used jps after ran zookeeper i got
> > > >
> > > > 1410 Jps   only
> > > >
> > > > which it's supposed i got like
> > > >
> > > > 2129 Jps
> > > >  991 NettyServer
> > > >  1935 nimbus
> > > >  1092 ElasticSearch
> > > >  1982 core
> > > >  1529 QuorumPeerMain
> > > >
> > > >
> > > > On Sun, Jan 3, 2016 at 6:18 PM, Ted Yu  wrote:
> > > >
> > > > > From https://github.com/apache/storm/blob/0.9.x-branch/pom.xml ,
> > 3.4.6
> > > > is
> > > > > used.
> > > > >
> > > > > If you build Storm locally, it would download artifacts for 3.4.6
> > into
> > > > > local maven repository.
> > > > >
> > > > > What I meant in previous email was that 3.4.7 was not stable - see
> > > > > ZOOKEEPER-2347
> > > > >
> > > > > Cheers
> > > > >
> > > > > On Sun, Jan 3, 2016 at 7:43 AM, sam mohel 
> > wrote:
> > > > >
> > > > > > i'm sorry i didn't got what do you mean by the link , just i'm
> > asking
> > > > > that
> > > > > > storm using in library folder version -3.3.3 and i installed
> 3.4.7
> > or
> > > > > > whatever version but in the repoisroty folder still read 3.3.3
> so i
> > > > need
> > > > > to
> > > > > > add my version i installed
> > > > > >
> > > > > > On Sun, Jan 3, 2016 at 5:23 PM, Ted Yu 
> > wrote:
> > > > > >
> > > > > > > Please see this thread:
> > > > > > >
> > > > > > >
> > > >
> http://search-hadoop.com/m/JhBoa1A4TJl1A62qq=Re+Whither+ZK+3+4+6+
> > > > > > >
> > > > > > > Suggest switching to 3.4.6 before 3.4.8 comes out.
> > > > > > >
> > > > > > > FYI
> > > > > > >
> > > > > > > On Sun, Jan 3, 2016 at 5:23 AM, sam mohel  >
> > > > wrote:
> > > > > > >
> > > > > > > > <
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://stackoverflow.com/questions/34574276/cannot-find-version-in-repository#
> > > > > > > > >
> > > > > > > >
> > > > > > > > I'm new to ubuntu also in zookeeper, I installed
> storm-0.9.0.1
> > > with
> > > > > > > > zookeeper-3.4.7
> > > > > > > >
> > > > > > > > But when i checked this path
> > > > > > > >
> > > > > > > > .m2/repository/org/apache/zookeeper/
> > > > > > > >
> > > > > > > > I found zookeeper version 3.3.3 I need to add my version
> 3.4.7
> > > with
> > > > > all
> > > > > > > > files it need How can i add it ?
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: Cannot find version in repository

2016-01-03 Thread Rakesh Radhakrishnan
Hi Sam,

but where can i find log of zookeeper ?

Please refer the "log4j.properties" configuration file. By default its
using CONSOLE appender.
zookeeper.root.logger=INFO, CONSOLE

You can try modifying this to use ROLLINGFILE

-Rakesh

On Mon, Jan 4, 2016 at 3:55 AM, sam mohel  wrote:

> Thanks i found process with java for zookeeper but where can i find log of
> zookeeper ?
>
> On Sun, Jan 3, 2016 at 7:02 PM, Ted Yu  wrote:
>
> > Was it possible that QuorumPeerMain didn't start ?
> >
> > Please check the log.
> >
> > Also use 'ps aux' and search for processes using java.
> >
> > Cheers
> >
> > On Sun, Jan 3, 2016 at 8:52 AM, sam mohel  wrote:
> >
> > > thanks for your time , but it is an example not by process
> > > the result with me is just
> > >
> > > 1410 Jps
> > >
> > >
> > > but the example illustarte that i should got like this
> > > 1935 nimbus
> > > 1092 ElasticSearch
> > >  1982 core
> > >  1529 QuorumPeerMain
> > >
> > >
> > > BUT with different numbers
> > >
> > > On Sun, Jan 3, 2016 at 6:49 PM, Ted Yu  wrote:
> > >
> > > > I assumed you downloaded 3.4.6 from:
> > > > https://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/
> > > >
> > > > If you ran zkServer.sh from where 3.4.6 was stored locally, the
> version
> > > > would be 3.4.6
> > > >
> > > > Alternatively, doing 'ps aux | grep 1529' (the pid for
> QuorumPeerMain)
> > > > would show you the path.
> > > >
> > > > Cheers
> > > >
> > > > On Sun, Jan 3, 2016 at 8:34 AM, sam mohel 
> wrote:
> > > >
> > > > > thanks i installed now 3.4.6 and delete 3.4.7 but how can i know
> > > versoin
> > > > of
> > > > > running zookeeper ?
> > > > >
> > > > > i mean i'm now used ./zkServer.sh start
> > > > > and zookeeper ran , i want to know the verion of it to make sure
> that
> > > > it's
> > > > > 3.4.6 ?
> > > > >
> > > > > i noticed when i used jps after ran zookeeper i got
> > > > >
> > > > > 1410 Jps   only
> > > > >
> > > > > which it's supposed i got like
> > > > >
> > > > > 2129 Jps
> > > > >  991 NettyServer
> > > > >  1935 nimbus
> > > > >  1092 ElasticSearch
> > > > >  1982 core
> > > > >  1529 QuorumPeerMain
> > > > >
> > > > >
> > > > > On Sun, Jan 3, 2016 at 6:18 PM, Ted Yu 
> wrote:
> > > > >
> > > > > > From https://github.com/apache/storm/blob/0.9.x-branch/pom.xml ,
> > > 3.4.6
> > > > > is
> > > > > > used.
> > > > > >
> > > > > > If you build Storm locally, it would download artifacts for 3.4.6
> > > into
> > > > > > local maven repository.
> > > > > >
> > > > > > What I meant in previous email was that 3.4.7 was not stable -
> see
> > > > > > ZOOKEEPER-2347
> > > > > >
> > > > > > Cheers
> > > > > >
> > > > > > On Sun, Jan 3, 2016 at 7:43 AM, sam mohel 
> > > wrote:
> > > > > >
> > > > > > > i'm sorry i didn't got what do you mean by the link , just i'm
> > > asking
> > > > > > that
> > > > > > > storm using in library folder version -3.3.3 and i installed
> > 3.4.7
> > > or
> > > > > > > whatever version but in the repoisroty folder still read 3.3.3
> > so i
> > > > > need
> > > > > > to
> > > > > > > add my version i installed
> > > > > > >
> > > > > > > On Sun, Jan 3, 2016 at 5:23 PM, Ted Yu 
> > > wrote:
> > > > > > >
> > > > > > > > Please see this thread:
> > > > > > > >
> > > > > > > >
> > > > >
> > http://search-hadoop.com/m/JhBoa1A4TJl1A62qq=Re+Whither+ZK+3+4+6+
> > > > > > > >
> > > > > > > > Suggest switching to 3.4.6 before 3.4.8 comes out.
> > > > > > > >
> > > > > > > > FYI
> > > > > > > >
> > > > > > > > On Sun, Jan 3, 2016 at 5:23 AM, sam mohel <
> sammoh...@gmail.com
> > >
> > > > > wrote:
> > > > > > > >
> > > > > > > > > <
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://stackoverflow.com/questions/34574276/cannot-find-version-in-repository#
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > I'm new to ubuntu also in zookeeper, I installed
> > storm-0.9.0.1
> > > > with
> > > > > > > > > zookeeper-3.4.7
> > > > > > > > >
> > > > > > > > > But when i checked this path
> > > > > > > > >
> > > > > > > > > .m2/repository/org/apache/zookeeper/
> > > > > > > > >
> > > > > > > > > I found zookeeper version 3.3.3 I need to add my version
> > 3.4.7
> > > > with
> > > > > > all
> > > > > > > > > files it need How can i add it ?
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: Best-practice guides on coordination of operations in distributed systems (and some C client specific questions)

2016-01-03 Thread Alexander Shraer
regarding atomic multi-znode updates -- check out "multi" updates

.

On Sat, Jan 2, 2016 at 10:45 PM, Alexander Shraer  wrote:

> for 1, see the chubby paper
> ,
> section 2.4.
> for 2, I'm not sure I fully understand the question, but essentially, ZK
> guarantees that even during failures
> consistency of updates is preserved. The user doesn't need to do anything
> in particular to guarantee this, even
> during leader failures. In such case, some suffix of operations executed
> by the leader may be lost if they weren't
> previously acked by a majority.However, none of these operations could
> have been visible
> to reads.
>
> On Fri, Jan 1, 2016 at 12:29 AM, powell molleti <
> powell...@yahoo.com.invalid> wrote:
>
>> Hi Janmejay,
>> Regarding question 1, if a node takes a lock and the lock has timed-out
>> from system perspective then it can mean that other nodes are free to take
>> the lock and work on the resource. Hence the history could be well into the
>> future when the previous node discovers the time-out. The question of
>> rollback in the specific context depends on the implementation details, is
>> the lock holder updating some common area?, then there could be corruption
>> since other nodes are free to write in parallel to the first one?. In the
>> usual sense a time-out of lock held means the node which held the lock is
>> dead. It is upto the implementation to ensure this case and, using this
>> primitive, if there is a timeout which means other nodes are sure that no
>> one else is working on the resource and hence can move forward.
>> Question 2 seems to imply the assumption that leader has significant work
>> todo and leader change is quite common, which seems contrary to common
>> implementation pattern. If the work can be broken down into smaller chunks
>> which need serialization separately then each chunk/work type can have a
>> different leader.
>> For question 3, ZK does support auth and encryption for client
>> connections but not for inter ZK node channels. Do you have requirement to
>> secure inter ZK nodes, can you let us know what your requirements are so we
>> can implement a solution to fit all needs?.
>> For question 4 the official implementation is C, people tend to wrap that
>> with C++ and there should projects that use ZK doing that you can look them
>> up and see if you can separate it out and use them.
>> Hope this helps.Powell.
>>
>>
>>
>> On Thursday, December 31, 2015 8:07 AM, Edward Capriolo <
>> edward.capri...@huffingtonpost.com> wrote:
>>
>>
>>  Q:What is the best way of handling distributed-lock expiry? The owner
>> of the lock managed to acquire it and may be in middle of some
>> computation when the session expires or lock expire
>>
>> If you are using Java a way I can see doing this is by using the
>> ExecutorCompletionService
>>
>> https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorCompletionService.html
>> .
>> It allows you to keep your workers in a group, You can poll the group and
>> provide cancel semantics as needed.
>> An example of that service is here:
>>
>> https://github.com/edwardcapriolo/nibiru/blob/master/src/main/java/io/teknek/nibiru/coordinator/EventualCoordinator.java
>> where I am issuing multiple reads and I want to abandon the process if
>> they
>> do not timeout in a while. Many async/promices frameworks do this by
>> launching two task ComputationTask and a TimeoutTask that returns in 10
>> seconds. Then they ask the completions service to poll. If the service is
>> given the TimoutTask after the timeout that means the Computation did not
>> finish in time.
>>
>> Do people generally take action in middle of the computation (abort it and
>> do itin a clever way such that effect appears atomic, so abort is
>> notreally
>> visible, if so what are some of those clever ways)?
>>
>> The base issue is java's synchronized/ AtomicReference do not have a
>> rollback.
>>
>> There are a few ways I know to work around this. Clojure has STM (software
>> Transactional Memory) such that if an exception is through inside a doSync
>> all of the stems inside the critical block never happened. This assumes
>> your using all clojure structures which you are probably not.
>> A way co workers have done this is as follows. Move your entire
>> transnational state into a SINGLE big object that you can
>> copy/mutate/compare and swap. You never need to rollback each piece
>> because
>> your changing the clone up until the point you commit it.
>> Writing reversal code is possible depending on the problem. There are
>> questions to ask like "what if the reversal somehow fails?"
>>
>>
>>
>>
>> On Thu, Dec 31, 2015 at 3:10 AM, singh.janmejay > >
>> wrote:
>>
>> > Hi,
>> >
>> > Was wondering if there are any reference designs, 

Re: Best-practice guides on coordination of operations in distributed systems (and some C client specific questions)

2016-01-03 Thread Alexander Shraer
for 1, see the chubby paper
,
section 2.4.
for 2, I'm not sure I fully understand the question, but essentially, ZK
guarantees that even during failures
consistency of updates is preserved. The user doesn't need to do anything
in particular to guarantee this, even
during leader failures. In such case, some suffix of operations executed by
the leader may be lost if they weren't
previously acked by a majority.However, none of these operations could have
been visible
to reads.

On Fri, Jan 1, 2016 at 12:29 AM, powell molleti  wrote:

> Hi Janmejay,
> Regarding question 1, if a node takes a lock and the lock has timed-out
> from system perspective then it can mean that other nodes are free to take
> the lock and work on the resource. Hence the history could be well into the
> future when the previous node discovers the time-out. The question of
> rollback in the specific context depends on the implementation details, is
> the lock holder updating some common area?, then there could be corruption
> since other nodes are free to write in parallel to the first one?. In the
> usual sense a time-out of lock held means the node which held the lock is
> dead. It is upto the implementation to ensure this case and, using this
> primitive, if there is a timeout which means other nodes are sure that no
> one else is working on the resource and hence can move forward.
> Question 2 seems to imply the assumption that leader has significant work
> todo and leader change is quite common, which seems contrary to common
> implementation pattern. If the work can be broken down into smaller chunks
> which need serialization separately then each chunk/work type can have a
> different leader.
> For question 3, ZK does support auth and encryption for client connections
> but not for inter ZK node channels. Do you have requirement to secure inter
> ZK nodes, can you let us know what your requirements are so we can
> implement a solution to fit all needs?.
> For question 4 the official implementation is C, people tend to wrap that
> with C++ and there should projects that use ZK doing that you can look them
> up and see if you can separate it out and use them.
> Hope this helps.Powell.
>
>
>
> On Thursday, December 31, 2015 8:07 AM, Edward Capriolo <
> edward.capri...@huffingtonpost.com> wrote:
>
>
>  Q:What is the best way of handling distributed-lock expiry? The owner
> of the lock managed to acquire it and may be in middle of some
> computation when the session expires or lock expire
>
> If you are using Java a way I can see doing this is by using the
> ExecutorCompletionService
>
> https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorCompletionService.html
> .
> It allows you to keep your workers in a group, You can poll the group and
> provide cancel semantics as needed.
> An example of that service is here:
>
> https://github.com/edwardcapriolo/nibiru/blob/master/src/main/java/io/teknek/nibiru/coordinator/EventualCoordinator.java
> where I am issuing multiple reads and I want to abandon the process if they
> do not timeout in a while. Many async/promices frameworks do this by
> launching two task ComputationTask and a TimeoutTask that returns in 10
> seconds. Then they ask the completions service to poll. If the service is
> given the TimoutTask after the timeout that means the Computation did not
> finish in time.
>
> Do people generally take action in middle of the computation (abort it and
> do itin a clever way such that effect appears atomic, so abort is notreally
> visible, if so what are some of those clever ways)?
>
> The base issue is java's synchronized/ AtomicReference do not have a
> rollback.
>
> There are a few ways I know to work around this. Clojure has STM (software
> Transactional Memory) such that if an exception is through inside a doSync
> all of the stems inside the critical block never happened. This assumes
> your using all clojure structures which you are probably not.
> A way co workers have done this is as follows. Move your entire
> transnational state into a SINGLE big object that you can
> copy/mutate/compare and swap. You never need to rollback each piece because
> your changing the clone up until the point you commit it.
> Writing reversal code is possible depending on the problem. There are
> questions to ask like "what if the reversal somehow fails?"
>
>
>
>
> On Thu, Dec 31, 2015 at 3:10 AM, singh.janmejay 
> wrote:
>
> > Hi,
> >
> > Was wondering if there are any reference designs, patterns on handling
> > common operations involving distributed coordination.
> >
> > I have a few questions and I guess they must have been asked before, I
> > am unsure what to search for to surface the right answers. It'll be
> > really valuable if someone can provide links to relevant
> > "best-practices guide" or "suggestions" per question 

Re: Cannot find version in repository

2016-01-03 Thread sam mohel
i'm sorry i didn't got what do you mean by the link , just i'm asking that
storm using in library folder version -3.3.3 and i installed 3.4.7 or
whatever version but in the repoisroty folder still read 3.3.3 so i need to
add my version i installed

On Sun, Jan 3, 2016 at 5:23 PM, Ted Yu  wrote:

> Please see this thread:
>
> http://search-hadoop.com/m/JhBoa1A4TJl1A62qq=Re+Whither+ZK+3+4+6+
>
> Suggest switching to 3.4.6 before 3.4.8 comes out.
>
> FYI
>
> On Sun, Jan 3, 2016 at 5:23 AM, sam mohel  wrote:
>
> > <
> >
> http://stackoverflow.com/questions/34574276/cannot-find-version-in-repository#
> > >
> >
> > I'm new to ubuntu also in zookeeper, I installed storm-0.9.0.1 with
> > zookeeper-3.4.7
> >
> > But when i checked this path
> >
> > .m2/repository/org/apache/zookeeper/
> >
> > I found zookeeper version 3.3.3 I need to add my version 3.4.7 with all
> > files it need How can i add it ?
> >
>


Re: Cannot find version in repository

2016-01-03 Thread Ted Yu
>From https://github.com/apache/storm/blob/0.9.x-branch/pom.xml , 3.4.6 is
used.

If you build Storm locally, it would download artifacts for 3.4.6 into
local maven repository.

What I meant in previous email was that 3.4.7 was not stable - see
ZOOKEEPER-2347

Cheers

On Sun, Jan 3, 2016 at 7:43 AM, sam mohel  wrote:

> i'm sorry i didn't got what do you mean by the link , just i'm asking that
> storm using in library folder version -3.3.3 and i installed 3.4.7 or
> whatever version but in the repoisroty folder still read 3.3.3 so i need to
> add my version i installed
>
> On Sun, Jan 3, 2016 at 5:23 PM, Ted Yu  wrote:
>
> > Please see this thread:
> >
> > http://search-hadoop.com/m/JhBoa1A4TJl1A62qq=Re+Whither+ZK+3+4+6+
> >
> > Suggest switching to 3.4.6 before 3.4.8 comes out.
> >
> > FYI
> >
> > On Sun, Jan 3, 2016 at 5:23 AM, sam mohel  wrote:
> >
> > > <
> > >
> >
> http://stackoverflow.com/questions/34574276/cannot-find-version-in-repository#
> > > >
> > >
> > > I'm new to ubuntu also in zookeeper, I installed storm-0.9.0.1 with
> > > zookeeper-3.4.7
> > >
> > > But when i checked this path
> > >
> > > .m2/repository/org/apache/zookeeper/
> > >
> > > I found zookeeper version 3.3.3 I need to add my version 3.4.7 with all
> > > files it need How can i add it ?
> > >
> >
>


Cannot find version in repository

2016-01-03 Thread sam mohel


I'm new to ubuntu also in zookeeper, I installed storm-0.9.0.1 with
zookeeper-3.4.7

But when i checked this path

.m2/repository/org/apache/zookeeper/

I found zookeeper version 3.3.3 I need to add my version 3.4.7 with all
files it need How can i add it ?


Re: Cannot find version in repository

2016-01-03 Thread Ted Yu
Was it possible that QuorumPeerMain didn't start ?

Please check the log.

Also use 'ps aux' and search for processes using java.

Cheers

On Sun, Jan 3, 2016 at 8:52 AM, sam mohel  wrote:

> thanks for your time , but it is an example not by process
> the result with me is just
>
> 1410 Jps
>
>
> but the example illustarte that i should got like this
> 1935 nimbus
> 1092 ElasticSearch
>  1982 core
>  1529 QuorumPeerMain
>
>
> BUT with different numbers
>
> On Sun, Jan 3, 2016 at 6:49 PM, Ted Yu  wrote:
>
> > I assumed you downloaded 3.4.6 from:
> > https://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/
> >
> > If you ran zkServer.sh from where 3.4.6 was stored locally, the version
> > would be 3.4.6
> >
> > Alternatively, doing 'ps aux | grep 1529' (the pid for QuorumPeerMain)
> > would show you the path.
> >
> > Cheers
> >
> > On Sun, Jan 3, 2016 at 8:34 AM, sam mohel  wrote:
> >
> > > thanks i installed now 3.4.6 and delete 3.4.7 but how can i know
> versoin
> > of
> > > running zookeeper ?
> > >
> > > i mean i'm now used ./zkServer.sh start
> > > and zookeeper ran , i want to know the verion of it to make sure that
> > it's
> > > 3.4.6 ?
> > >
> > > i noticed when i used jps after ran zookeeper i got
> > >
> > > 1410 Jps   only
> > >
> > > which it's supposed i got like
> > >
> > > 2129 Jps
> > >  991 NettyServer
> > >  1935 nimbus
> > >  1092 ElasticSearch
> > >  1982 core
> > >  1529 QuorumPeerMain
> > >
> > >
> > > On Sun, Jan 3, 2016 at 6:18 PM, Ted Yu  wrote:
> > >
> > > > From https://github.com/apache/storm/blob/0.9.x-branch/pom.xml ,
> 3.4.6
> > > is
> > > > used.
> > > >
> > > > If you build Storm locally, it would download artifacts for 3.4.6
> into
> > > > local maven repository.
> > > >
> > > > What I meant in previous email was that 3.4.7 was not stable - see
> > > > ZOOKEEPER-2347
> > > >
> > > > Cheers
> > > >
> > > > On Sun, Jan 3, 2016 at 7:43 AM, sam mohel 
> wrote:
> > > >
> > > > > i'm sorry i didn't got what do you mean by the link , just i'm
> asking
> > > > that
> > > > > storm using in library folder version -3.3.3 and i installed 3.4.7
> or
> > > > > whatever version but in the repoisroty folder still read 3.3.3 so i
> > > need
> > > > to
> > > > > add my version i installed
> > > > >
> > > > > On Sun, Jan 3, 2016 at 5:23 PM, Ted Yu 
> wrote:
> > > > >
> > > > > > Please see this thread:
> > > > > >
> > > > > >
> > > http://search-hadoop.com/m/JhBoa1A4TJl1A62qq=Re+Whither+ZK+3+4+6+
> > > > > >
> > > > > > Suggest switching to 3.4.6 before 3.4.8 comes out.
> > > > > >
> > > > > > FYI
> > > > > >
> > > > > > On Sun, Jan 3, 2016 at 5:23 AM, sam mohel 
> > > wrote:
> > > > > >
> > > > > > > <
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://stackoverflow.com/questions/34574276/cannot-find-version-in-repository#
> > > > > > > >
> > > > > > >
> > > > > > > I'm new to ubuntu also in zookeeper, I installed storm-0.9.0.1
> > with
> > > > > > > zookeeper-3.4.7
> > > > > > >
> > > > > > > But when i checked this path
> > > > > > >
> > > > > > > .m2/repository/org/apache/zookeeper/
> > > > > > >
> > > > > > > I found zookeeper version 3.3.3 I need to add my version 3.4.7
> > with
> > > > all
> > > > > > > files it need How can i add it ?
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: Cannot find version in repository

2016-01-03 Thread sam mohel
thanks i installed now 3.4.6 and delete 3.4.7 but how can i know versoin of
running zookeeper ?

i mean i'm now used ./zkServer.sh start
and zookeeper ran , i want to know the verion of it to make sure that it's
3.4.6 ?

i noticed when i used jps after ran zookeeper i got

1410 Jps   only

which it's supposed i got like

2129 Jps
 991 NettyServer
 1935 nimbus
 1092 ElasticSearch
 1982 core
 1529 QuorumPeerMain


On Sun, Jan 3, 2016 at 6:18 PM, Ted Yu  wrote:

> From https://github.com/apache/storm/blob/0.9.x-branch/pom.xml , 3.4.6 is
> used.
>
> If you build Storm locally, it would download artifacts for 3.4.6 into
> local maven repository.
>
> What I meant in previous email was that 3.4.7 was not stable - see
> ZOOKEEPER-2347
>
> Cheers
>
> On Sun, Jan 3, 2016 at 7:43 AM, sam mohel  wrote:
>
> > i'm sorry i didn't got what do you mean by the link , just i'm asking
> that
> > storm using in library folder version -3.3.3 and i installed 3.4.7 or
> > whatever version but in the repoisroty folder still read 3.3.3 so i need
> to
> > add my version i installed
> >
> > On Sun, Jan 3, 2016 at 5:23 PM, Ted Yu  wrote:
> >
> > > Please see this thread:
> > >
> > > http://search-hadoop.com/m/JhBoa1A4TJl1A62qq=Re+Whither+ZK+3+4+6+
> > >
> > > Suggest switching to 3.4.6 before 3.4.8 comes out.
> > >
> > > FYI
> > >
> > > On Sun, Jan 3, 2016 at 5:23 AM, sam mohel  wrote:
> > >
> > > > <
> > > >
> > >
> >
> http://stackoverflow.com/questions/34574276/cannot-find-version-in-repository#
> > > > >
> > > >
> > > > I'm new to ubuntu also in zookeeper, I installed storm-0.9.0.1 with
> > > > zookeeper-3.4.7
> > > >
> > > > But when i checked this path
> > > >
> > > > .m2/repository/org/apache/zookeeper/
> > > >
> > > > I found zookeeper version 3.3.3 I need to add my version 3.4.7 with
> all
> > > > files it need How can i add it ?
> > > >
> > >
> >
>


Re: Cannot find version in repository

2016-01-03 Thread Ted Yu
I assumed you downloaded 3.4.6 from:
https://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/

If you ran zkServer.sh from where 3.4.6 was stored locally, the version
would be 3.4.6

Alternatively, doing 'ps aux | grep 1529' (the pid for QuorumPeerMain)
would show you the path.

Cheers

On Sun, Jan 3, 2016 at 8:34 AM, sam mohel  wrote:

> thanks i installed now 3.4.6 and delete 3.4.7 but how can i know versoin of
> running zookeeper ?
>
> i mean i'm now used ./zkServer.sh start
> and zookeeper ran , i want to know the verion of it to make sure that it's
> 3.4.6 ?
>
> i noticed when i used jps after ran zookeeper i got
>
> 1410 Jps   only
>
> which it's supposed i got like
>
> 2129 Jps
>  991 NettyServer
>  1935 nimbus
>  1092 ElasticSearch
>  1982 core
>  1529 QuorumPeerMain
>
>
> On Sun, Jan 3, 2016 at 6:18 PM, Ted Yu  wrote:
>
> > From https://github.com/apache/storm/blob/0.9.x-branch/pom.xml , 3.4.6
> is
> > used.
> >
> > If you build Storm locally, it would download artifacts for 3.4.6 into
> > local maven repository.
> >
> > What I meant in previous email was that 3.4.7 was not stable - see
> > ZOOKEEPER-2347
> >
> > Cheers
> >
> > On Sun, Jan 3, 2016 at 7:43 AM, sam mohel  wrote:
> >
> > > i'm sorry i didn't got what do you mean by the link , just i'm asking
> > that
> > > storm using in library folder version -3.3.3 and i installed 3.4.7 or
> > > whatever version but in the repoisroty folder still read 3.3.3 so i
> need
> > to
> > > add my version i installed
> > >
> > > On Sun, Jan 3, 2016 at 5:23 PM, Ted Yu  wrote:
> > >
> > > > Please see this thread:
> > > >
> > > >
> http://search-hadoop.com/m/JhBoa1A4TJl1A62qq=Re+Whither+ZK+3+4+6+
> > > >
> > > > Suggest switching to 3.4.6 before 3.4.8 comes out.
> > > >
> > > > FYI
> > > >
> > > > On Sun, Jan 3, 2016 at 5:23 AM, sam mohel 
> wrote:
> > > >
> > > > > <
> > > > >
> > > >
> > >
> >
> http://stackoverflow.com/questions/34574276/cannot-find-version-in-repository#
> > > > > >
> > > > >
> > > > > I'm new to ubuntu also in zookeeper, I installed storm-0.9.0.1 with
> > > > > zookeeper-3.4.7
> > > > >
> > > > > But when i checked this path
> > > > >
> > > > > .m2/repository/org/apache/zookeeper/
> > > > >
> > > > > I found zookeeper version 3.3.3 I need to add my version 3.4.7 with
> > all
> > > > > files it need How can i add it ?
> > > > >
> > > >
> > >
> >
>


Re: Cannot find version in repository

2016-01-03 Thread sam mohel
thanks for your time , but it is an example not by process
the result with me is just

1410 Jps


but the example illustarte that i should got like this
1935 nimbus
1092 ElasticSearch
 1982 core
 1529 QuorumPeerMain


BUT with different numbers

On Sun, Jan 3, 2016 at 6:49 PM, Ted Yu  wrote:

> I assumed you downloaded 3.4.6 from:
> https://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/
>
> If you ran zkServer.sh from where 3.4.6 was stored locally, the version
> would be 3.4.6
>
> Alternatively, doing 'ps aux | grep 1529' (the pid for QuorumPeerMain)
> would show you the path.
>
> Cheers
>
> On Sun, Jan 3, 2016 at 8:34 AM, sam mohel  wrote:
>
> > thanks i installed now 3.4.6 and delete 3.4.7 but how can i know versoin
> of
> > running zookeeper ?
> >
> > i mean i'm now used ./zkServer.sh start
> > and zookeeper ran , i want to know the verion of it to make sure that
> it's
> > 3.4.6 ?
> >
> > i noticed when i used jps after ran zookeeper i got
> >
> > 1410 Jps   only
> >
> > which it's supposed i got like
> >
> > 2129 Jps
> >  991 NettyServer
> >  1935 nimbus
> >  1092 ElasticSearch
> >  1982 core
> >  1529 QuorumPeerMain
> >
> >
> > On Sun, Jan 3, 2016 at 6:18 PM, Ted Yu  wrote:
> >
> > > From https://github.com/apache/storm/blob/0.9.x-branch/pom.xml , 3.4.6
> > is
> > > used.
> > >
> > > If you build Storm locally, it would download artifacts for 3.4.6 into
> > > local maven repository.
> > >
> > > What I meant in previous email was that 3.4.7 was not stable - see
> > > ZOOKEEPER-2347
> > >
> > > Cheers
> > >
> > > On Sun, Jan 3, 2016 at 7:43 AM, sam mohel  wrote:
> > >
> > > > i'm sorry i didn't got what do you mean by the link , just i'm asking
> > > that
> > > > storm using in library folder version -3.3.3 and i installed 3.4.7 or
> > > > whatever version but in the repoisroty folder still read 3.3.3 so i
> > need
> > > to
> > > > add my version i installed
> > > >
> > > > On Sun, Jan 3, 2016 at 5:23 PM, Ted Yu  wrote:
> > > >
> > > > > Please see this thread:
> > > > >
> > > > >
> > http://search-hadoop.com/m/JhBoa1A4TJl1A62qq=Re+Whither+ZK+3+4+6+
> > > > >
> > > > > Suggest switching to 3.4.6 before 3.4.8 comes out.
> > > > >
> > > > > FYI
> > > > >
> > > > > On Sun, Jan 3, 2016 at 5:23 AM, sam mohel 
> > wrote:
> > > > >
> > > > > > <
> > > > > >
> > > > >
> > > >
> > >
> >
> http://stackoverflow.com/questions/34574276/cannot-find-version-in-repository#
> > > > > > >
> > > > > >
> > > > > > I'm new to ubuntu also in zookeeper, I installed storm-0.9.0.1
> with
> > > > > > zookeeper-3.4.7
> > > > > >
> > > > > > But when i checked this path
> > > > > >
> > > > > > .m2/repository/org/apache/zookeeper/
> > > > > >
> > > > > > I found zookeeper version 3.3.3 I need to add my version 3.4.7
> with
> > > all
> > > > > > files it need How can i add it ?
> > > > > >
> > > > >
> > > >
> > >
> >
>