Re: compatibility: 0.8.1.1 broker, 0.8.2.2 producer

2015-12-23 Thread Shlomi Hazan
n the core jar) and the rest of your app requires a specific > > Scala version. > > > > -Ewen > > > > On Wed, Dec 23, 2015 at 6:31 AM, Shlomi Hazan wrote: > > > > > Hi All, > > > > > > Does someone has experience / encountered any

compatibility: 0.8.1.1 broker, 0.8.2.2 producer

2015-12-23 Thread Shlomi Hazan
Hi All, Does someone has experience / encountered any issues using a 0.8.2.2 producer against a 0.8.1.1 broker (specifically kafka_2.9.2-0.8.1.1)? I want to upgrade my existing producer (0.8.2-beta). Also, is there a functional difference between the scala versions (2.9.2,2.10,2.11)? Thanks, Shlo

Re: latency - how to reduce?

2015-01-12 Thread Shlomi Hazan
ways use other Windows stress testing tools/suites to check > your local I/O performance.. > From: Shlomi Hazan > To: users@kafka.apache.org; Jayesh Thakrar > Sent: Thursday, January 8, 2015 6:25 AM > Subject: Re: latency - how to reduce? > > I would like to test locally fi

Re: latency - how to reduce?

2015-01-08 Thread Shlomi Hazan
consumer-perf-test.sh.log 2>&1 & > > And I used screen scrapping of the jmx ui screens to push metrics into > TSDB to get the following.The rate below is per second - so I could push > the Kafka cluster to 140k+ messages/sec on a 4-node cluster with very > little utiliza

Re: latency - how to reduce?

2015-01-05 Thread Shlomi Hazan
t; > Thanks, > > Jun > > On Thu, Jan 1, 2015 at 1:40 AM, Shlomi Hazan wrote: > > > Happy new year! > > I did not set "log.flush.interval.messages". > > I also could not find a default value in the docs. > > Could you explain about that

Re: latency - how to reduce?

2015-01-01 Thread Shlomi Hazan
gt; > Thanks, > > Jun > > On Mon, Dec 29, 2014 at 3:26 AM, Shlomi Hazan wrote: > > > Hi, > > I am using 0.8.1.1, and I have hundreds of msec latency at best and even > > seconds at worst. > > I have this latency both on production, (with peak load of 30K msg/s

latency - how to reduce?

2014-12-29 Thread Shlomi Hazan
Hi, I am using 0.8.1.1, and I have hundreds of msec latency at best and even seconds at worst. I have this latency both on production, (with peak load of 30K msg/sec, replication = 2 across 5 brokers, acks = 1), and on the local windows machine using just one process for each of producer, zookeeper

Re: [DISCUSSION] adding the serializer api back to the new java producer

2014-11-26 Thread Shlomi Hazan
Jay, Jun, Thank you both for explaining. I understand this is important enough such that it must be done, and if so, the sooner the better. How will the change be released? a beta-2 or release candidate? I think that if possible, it should not overrun the already released version. Thank you guys fo

Re: issues using the new 0.8.2 producer

2014-11-24 Thread Shlomi Hazan
cer. > > Thanks, > > Jun > > On Sun, Nov 23, 2014 at 2:12 AM, Shlomi Hazan wrote: > > > Hi, > > Started to dig into that new producer and have a few questions: > > 1. what part (if any) of the old producer config still apply to the new > > producer or

issues using the new 0.8.2 producer

2014-11-23 Thread Shlomi Hazan
Hi, Started to dig into that new producer and have a few questions: 1. what part (if any) of the old producer config still apply to the new producer or is it just what is specified on "New Producer Configs"? 2. how do you specify a partitioner to the new producer? if no such option, what usage is m

Re: will adding partitions to existing topic change leadership to existing partitions?

2014-11-20 Thread Shlomi Hazan
partitions, but will not touch the existing ones. > > Guozhang > > On Mon, Nov 17, 2014 at 11:13 PM, Shlomi Hazan wrote: > > > Hi Guozhang, > > Sorry for being too brief but the question referred to adding partitions > > with the topic tool (without specifying json

Re: will adding partitions to existing topic change leadership to existing partitions?

2014-11-17 Thread Shlomi Hazan
the existing partitions you should be fine. > > Guozhang > > On Mon, Nov 17, 2014 at 1:08 AM, Shlomi Hazan wrote: > > > Hi > > I want to add partitions to a running topic, > > and since I use the python producer I will eventually have to restart > > producers to re

selecting java producer (0.8.2 or 0.8.1.1?)

2014-11-17 Thread Shlomi Hazan
Hi, I need to make a choice and I can't get a full picture on the differences between the two. E.g.: Are both producers async capable to the same extent? Is the new producer stable for production? Is there some usage example for the new producer? What are the tradeoffs using one or another? 10x, Sh

will adding partitions to existing topic change leadership to existing partitions?

2014-11-17 Thread Shlomi Hazan
Hi I want to add partitions to a running topic, and since I use the python producer I will eventually have to restart producers to reflect the change. the question is if leadership will change for the existing partitions too, forcing me to immediately restart the producers. 10x, Shlomi

Re: 0.8.2 producer with 0.8.1.1 cluster?

2014-11-13 Thread Shlomi Hazan
hristian > > On Wed, Nov 12, 2014 at 10:37 PM, Shlomi Hazan wrote: > > > I was asking to know if there's a point in trying... > > From your answer I understand the answer is yes. > > 10x, > > Shlomi > > > > On Wed, Nov 12, 2014 at 7:04 PM, G

Re: 0.8.2 producer with 0.8.1.1 cluster?

2014-11-12 Thread Shlomi Hazan
; > Guozhang > > On Wed, Nov 12, 2014 at 5:43 AM, Shlomi Hazan wrote: > > > Hi, > > Is the new producer 0.8.2 supposed to work with 0.8.1.1 cluster? > > Shlomi > > > > > > -- > -- Guozhang >

0.8.2 producer with 0.8.1.1 cluster?

2014-11-12 Thread Shlomi Hazan
Hi, Is the new producer 0.8.2 supposed to work with 0.8.1.1 cluster? Shlomi

Re: expanding cluster and reassigning parititions without restarting producer

2014-11-11 Thread Shlomi Hazan
can try reducing > > topic.metadata.refresh.interval.ms but it may have some performance > impact > > on the Kafka cluster since it ends up sending topic metadata requests to > > the broker at that interval. > > > > Thanks, > > Ne

Re: zookeeper snapshot files eat up disk space

2014-11-11 Thread Shlomi Hazan
g Data Open Source Security LLC > http://www.stealth.ly > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> > ****/ > > On Tue, Nov 11, 2014 at 9:24 AM, Shlomi Hazan wrote: > > > Hi, > > My zookeeper '

zookeeper snapshot files eat up disk space

2014-11-11 Thread Shlomi Hazan
Hi, My zookeeper 'dataLogDir' is eating up my disk with tons of snapshot files. what are these files? what files can I delete? are week old files disposable? This folder only gets bigger... How can I avoid blowing my disk? Thanks, Shlomi

Re: expanding cluster and reassigning parititions without restarting producer

2014-11-11 Thread Shlomi Hazan
ev/201411.mbox/%3ccaoejijit4cgry97dgzfjkfvaqfduv-o1x1kafefbshgirkm...@mail.gmail.com%3E > > > > Thanks, > > > > Bhavesh > > > > On Mon, Nov 10, 2014 at 5:20 AM, Shlomi Hazan wrote: > > > > > Hmmm.. > > > The Java producer example seems to ig

Re: expanding cluster and reassigning parititions without restarting producer

2014-11-10 Thread Shlomi Hazan
Hmmm.. The Java producer example seems to ignore added partitions too... How can I auto refresh keyed producers to use new partitions as these partitions are added? On Mon, Nov 10, 2014 at 12:33 PM, Shlomi Hazan wrote: > One more thing: > I saw that the Python client is also unaffec

Re: expanding cluster and reassigning parititions without restarting producer

2014-11-10 Thread Shlomi Hazan
On Mon, Nov 10, 2014 at 9:34 AM, Shlomi Hazan wrote: > No I don't see anything like that, the question was aimed at learning if > it is worthwhile to make the effort of reimplementing the Python producer > in Java, I so I will not make all the effort just to be disappointe

Re: expanding cluster and reassigning parititions without restarting producer

2014-11-09 Thread Shlomi Hazan
he partitions being > reassigned also changes. However it should retry and succeed. Do you see a > behavior that suggests otherwise? > > On Sat, Nov 8, 2014 at 11:45 PM, Shlomi Hazan wrote: > > > Hi All, > > I recently had an issue producing from python where expan

expanding cluster and reassigning parititions without restarting producer

2014-11-08 Thread Shlomi Hazan
Hi All, I recently had an issue producing from python where expanding a cluster from 3 to 5 nodes and reassigning partitions forced me to restart the producer b/c of KeyError thrown. Is this situation handled by the Java producer automatically or need I do something to have the java producer refres

Re: partitions stealing & balancing consumer threads across servers

2014-10-29 Thread Shlomi Hazan
ll not get any data with 12 partitions. It > > sounds like that's not what you get? What's the output of the > > ConsumerOffsetChecker (see http://kafka.apache.org/documentation.html)? > > > > For consumer.id, you don't need to set it in general. We generate

Re: partitions stealing & balancing consumer threads across servers

2014-10-28 Thread Shlomi Hazan
ll consumers in the same group. If there are more > consumers in a group than partitions, some consumers will never get any > data. > > Thanks, > > Jun > > On Mon, Oct 27, 2014 at 4:14 AM, Shlomi Hazan wrote: > > > Hi All, > > > > Using Kafka's high

partitions stealing & balancing consumer threads across servers

2014-10-27 Thread Shlomi Hazan
Hi All, Using Kafka's high consumer API I have bumped into a situation where launching a consumer process P1 with X consuming threads on a topic with X partition kicks out all other existing consumer threads that consumed prior to launching the process P. That is, consumer process P is stealing al

Re: 0.8.1.2

2014-10-22 Thread Shlomi Hazan
6:03 PM, Jun Rao wrote: > > > We are voting an 0.8.2 beta release right now. > > > > Thanks, > > > > Jun > > > > On Tue, Oct 21, 2014 at 11:17 AM, Shlomi Hazan wrote: > > > > > Hi All, > > > Will version 0.8.1.2 happen? > > > Shlomi > > > > > >

0.8.1.2

2014-10-21 Thread Shlomi Hazan
Hi All, Will version 0.8.1.2 happen? Shlomi

Re: taking broker down and returning it does not restore cluster state (nor rebalance)

2014-10-21 Thread Shlomi Hazan
on the producers or consumers (i.e., no rebalances). > > If you can reproduce this easily, can you please send exact steps to > reproduce and send over your consumer logs? > > Thanks, > > Joel > > On Mon, Oct 20, 2014 at 09:13:27PM +0300, Shlomi Hazan wrote: > > Ye

Re: taking broker down and returning it does not restore cluster state (nor rebalance)

2014-10-20 Thread Shlomi Hazan
Yes I did. It is set to 2. On Oct 20, 2014 5:38 PM, "Neha Narkhede" wrote: > Did you ensure that your replication factor was set higher than 1? If so, > things should recover automatically after adding the killed broker back > into the cluster. > > On Mon, Oct 20, 2014

taking broker down and returning it does not restore cluster state (nor rebalance)

2014-10-20 Thread Shlomi Hazan
Hi, Running some tests on 0811 and wanted to see what happens when a broker is taken down with 'kill'. I bumped into the situation at the subject where launching the broker back left him a bit out of the game as far as I could see using stack driver metrics. Trying to rebalance with "verify consum

Re: programmatically get number of items in topic/partition

2014-10-05 Thread Shlomi Hazan
parameter... On Sun, Oct 5, 2014 at 1:22 PM, Shlomi Hazan wrote: > Bingo. 10x!! > > On Wed, Oct 1, 2014 at 6:41 PM, chetan conikee wrote: > >> The other method is via command line >> >> bin/kafka-run-class.sh kafka.tools.ConsumerOffsetChecker --group >> *grou

Re: programmatically get number of items in topic/partition

2014-10-05 Thread Shlomi Hazan
at ConsumerOffsetChecker. It does just that: print the > > offset and lag for each consumer and partition. > > > > You can either use that class directly, or use it as a guideline for > > your implementation > > > > On Wed, Oct 1, 2014 at 2:10 AM, Shlomi Hazan wro

programmatically get number of items in topic/partition

2014-10-01 Thread Shlomi Hazan
Hi, How can I programmatically get the number of items in a topic, pending for consumption? If no programmatic way is avail, what other method is available? Shlomi

Re: Error in acceptor (kafka.network.Acceptor)

2014-09-11 Thread Shlomi Hazan
No, just a bare centos 6.5 on an EC2 instance On Sep 11, 2014 1:39 AM, "Jun Rao" wrote: > I meant whether you start the broker in service containers like jetty or > tomcat. > > Thanks, > > Jun > > On Wed, Sep 10, 2014 at 12:28 AM, Shlomi Hazan wrote: &g

Re: Error in acceptor (kafka.network.Acceptor)

2014-09-10 Thread Shlomi Hazan
> Thanks, > > Jun > > On Tue, Sep 9, 2014 at 12:05 AM, Shlomi Hazan wrote: > > > Hi, > > it's probably beyond that. it may be an issue with the number of files > > Kafka can have opened concurrently. > > A previous conversation with Joe about (build faile

Re: Error in acceptor (kafka.network.Acceptor)

2014-09-09 Thread Shlomi Hazan
s but I still can't see the exact problem. is there a kafka limit to the number of concurrent open files? cause the process was not limited... Thanks, Shlomi On Tue, Sep 9, 2014 at 7:12 AM, Jun Rao wrote: > What type of error did you see? You may need to configure a larger open > fil

Re: build failes for latest stable source tgz (kafka_2.9.2-0.8.1.1)

2014-09-06 Thread Shlomi Hazan
our open file limit. > > /*** > Joe Stein > Founder, Principal Consultant > Big Data Open Source Security LLC > http://www.stealth.ly > Twitter: @allthingshadoop > ********/ > On Sep 6, 2014 11:29 AM, "Shlomi Hazan" wrote: >

Re: build failes for latest stable source tgz (kafka_2.9.2-0.8.1.1)

2014-09-06 Thread Shlomi Hazan
icaFetcherThread) ... server.log.2014-09-03-14:[2014-09-03 14:04:18,548] ERROR Error in acceptor (kafka.network.Acceptor) ... On Sat, Sep 6, 2014 at 5:48 PM, Shlomi Hazan wrote: > Hi and sorry for the late response I just got into the weekend and still > Satdurday here... > Well, not

Re: build failes for latest stable source tgz (kafka_2.9.2-0.8.1.1)

2014-09-06 Thread Shlomi Hazan
Source Security LLC > http://www.stealth.ly > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> > / > > > On Thu, Sep 4, 2014 at 2:06 PM, Shlomi Hazan wrote: > > > I sure did. the reason I am building is

Re: build failes for latest stable source tgz (kafka_2.9.2-0.8.1.1)

2014-09-04 Thread Shlomi Hazan
he ./gradelw script as Harsha said. > > Please > > > take a look at the README for specific commands and how to run them. > > > > > > /*** > > > Joe Stein > > > Founder, Principal Consultant > > >

Re: build failes for latest stable source tgz (kafka_2.9.2-0.8.1.1)

2014-09-04 Thread Shlomi Hazan
ata Open Source Security LLC > http://www.stealth.ly > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> > ********/ > > > On Thu, Sep 4, 2014 at 10:59 AM, Shlomi Hazan wrote: > > > it failed with JDK 8 so I

Re: build failes for latest stable source tgz (kafka_2.9.2-0.8.1.1)

2014-09-04 Thread Shlomi Hazan
ka source dir. > -Harsha > > On Thu, Sep 4, 2014, at 07:32 AM, Shlomi Hazan wrote: > > what gradle version is used to build kafka_2.9.2-0.8.1.1 ? > > > > tried with v2 and failed with : > > > > > > > > gradle --stacktrace clean > > > &

build failes for latest stable source tgz (kafka_2.9.2-0.8.1.1)

2014-09-04 Thread Shlomi Hazan
what gradle version is used to build kafka_2.9.2-0.8.1.1 ? tried with v2 and failed with : gradle --stacktrace clean FAILURE: Build failed with an exception. * Where: Build file '/home/shlomi/0dec0xb/project/vpmb/master/3rdparty/kafka/code/kafka-0.8.1.1-src/build.gradle' line: 34 * What went

build fails (with JDK8)

2014-09-04 Thread Shlomi Hazan
Hi, While I am not sure that JDK8 is the problem, what I did is simply clone and gardle the source. I kept getting failures and excluding tasks until eventually I did this: *gradle -PscalaVersion=2.9.2 -x :clients:javadoc -x :clients:signArchives -x :clients:licenseTest -x :contrib:signArchives cl

Error in acceptor (kafka.network.Acceptor)

2014-09-03 Thread Shlomi Hazan
Hi, I am trying to load a cluster with over than 10K connections, and bumped into the error in the subject. Is there any limitation on Kafka's side? if so it configurable? how? on first look, it looks like the selector accepting the connection is overflowing... Thanks. -- Shlomi

Re: delete topic ?

2014-08-06 Thread Shlomi Hazan
--alter..." or should I write something instead of "chroot"? On Wed, Jun 18, 2014 at 2:06 PM, Shlomi Hazan wrote: > Hi, > > Doing some evaluation testing, and accidently create a queue with wrong > replication factor. > > Trying to delete as in: > > kafka_

trying to tune kafka's internal logging - need help...

2014-08-06 Thread Shlomi Hazan
Hi, I am trying to get rid of the log files written under “$base_dir/logs”, folder create by line 26 at “bin/kafka-run-class.sh”. I use an EC2 machine with small primary disk and it blows away on occasions when writing to these logs is excessive, and I bumped into a few already (from Jira it look

delete topic ?

2014-06-18 Thread Shlomi Hazan
Hi, Doing some evaluation testing, and accidently create a queue with wrong replication factor. Trying to delete as in: kafka_2.10-0.8.1.1/bin/kafka-topics.sh --zookeeper localhost:2181 --delete --topic replicated-topic Yeilded: Command must include exactly one action: --list, --describe, --cr