Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # dev >> Developer setup


+
Andrea Gazzarini 2013-05-10, 16:57
Copy link to this message
-
Re: Developer setup
Andrea,

Thanks. The unit test failure that you saw is transient.

Jun
On Fri, May 10, 2013 at 9:56 AM, Andrea Gazzarini <
[EMAIL PROTECTED]> wrote:

> Hi all,
> I changed the "Developer Setup" page (https://cwiki.apache.org/**
> confluence/display/KAFKA/**Developer+Setup<https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup>)
> a little bit. It is formally complete so I published it.
> I say "formally" because there are these little issues:
>
> *1) Unit tests*
> Within an Eclipse workspace created using the first approach (i.e. Eclipse
> without sbt plugin) I have a failure:
>
> kafka.log.LogTest.**testTimeBasedLogRoll(kafka.**log.LogTest)
> junit.framework.**AssertionFailedError: There should still be exactly one
> segment. expected:<1> but was:<2>
>     at junit.framework.Assert.fail(**Assert.java:47)
>     ...
>     at kafka.log.LogTest.**testTimeBasedLogRoll(LogTest.**scala:80)
>     ...
>
> and an error
>
> kafka.producer.**AsyncProducerTest.**testFailedSendRetryLogic(**
> kafka.producer.**AsyncProducerTest)
> kafka.common.**FailedToSendMessageException: Failed to send messages
> after 3 tries.
>     at kafka.producer.async.**DefaultEventHandler.handle(**
> DefaultEventHandler.scala:88)
>     at kafka.producer.**AsyncProducerTest.**testFailedSendRetryLogic(**
> AsyncProducerTest.scala:439)
>     ...
>
> The other 158 tests are OK.
>
> *2) Source folders*
> Using the second approach (Eclipse with sbt plugin), the sbt plugin
> creates Eclipse projects with default source folders.
> For core module this is not ok because tests are in test/unit and
> test/other. I suppose the core/build.sbt needs to be changed.
>
> *3) Intellij**IDEA *
> At the moment I don't have Intellij installed on my laptop so I left the
> content of this section ontouched.
>
> Any kind of feedback is warmly welcome
>
> Best,
> Andrea
>
> On 05/06/2013 03:08 AM, Jun Rao wrote:
>
>> Andrea,
>>
>> Yes, you can update the wiki directly. Thanks for helping out.
>>
>> Jun
>>
>>
>> On Sun, May 5, 2013 at 1:17 AM, Andrea Gazzarini <
>> [EMAIL PROTECTED]
>>
>>> wrote:
>>> Thanks Jun,
>>> I'm trying to setup a fresh dev environment and I met some problems.
>>>
>>> Now, while I was changing the wiki page (Developer Setup) I inadvertently
>>> saved the page, sending the notification about the changes, sorry about
>>> that.
>>>
>>> I believe the change I made is right (I changed just the line about the
>>> Eclipse / Scala plugin setup by specifying the scala plugin version and a
>>> recommendation about the corrispondence between scala plugin and eclipse
>>> version) but I didn't finish to setup my ide, and therefore to change the
>>> page;
>>>
>>> I would like to complete the setup and update the wiki page accordingly
>>> with eventual issues I get but, in case is not possible to proceed in
>>> this
>>> way (by directly updating the wiki page) I apologize, please let me know
>>> the right way to contribute.
>>>
>>> Cheers,
>>> Andrea
>>>
>>>
>>> On 04/24/2013 04:56 PM, Jun Rao wrote:
>>>
>>>  We have moved to git. Updated the wiki.
>>>>
>>>> Thanks,
>>>>
>>>> Jun
>>>>
>>>>
>>>> On Wed, Apr 24, 2013 at 6:41 AM, Andrea Gazzarini <
>>>> [EMAIL PROTECTED]> wrote:
>>>>
>>>>   Hi, looking at these pages
>>>>
>>>>> http://kafka.apache.org/code.******html<http://kafka.apache.org/code.****html>
>>>>> <http://kafka.apache.**org/code.**html<http://kafka.apache.org/code.**html>
>>>>> ><
>>>>> http://kafka.apache.org/code.****html<http://kafka.apache.org/code.**html><
>>>>> http://kafka.apache.org/code.**html<http://kafka.apache.org/code.html>
>>>>> >>
>>>>> https://cwiki.apache.org/******confluence/display/KAFKA/****<https://cwiki.apache.org/****confluence/display/KAFKA/****>
>>>>> Developer+Setup<https://cwiki.**apache.org/**confluence/**
>>>>> display/KAFKA/**Developer+**Setup<https://cwiki.apache.org/**confluence/display/KAFKA/**Developer+Setup>
>>>>> >
>>>>> <https://cwiki.**apache.org/**confluence/display/**KAFKA/**
>>>>> Developer+Setup<http://apache.org/confluence/display/**KAFKA/Developer+Setup>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB