So do you have the build folder generated in core/client and
classes/jars compiled in them?

Kafka-server-start.sh also sets the CLASSPATH to load the jar and
kafka.Kafka as well, so you want to make sure they're there.

Tim

On Tue, Jun 17, 2014 at 9:18 PM, Jorge Marizan <jorge.mari...@gmail.com> wrote:
> Now when I try to run, it fails finding the kafka.Kafka class:
>
> kafka-server-start.sh /usr/local/etc/kafka/server.properties
> Error: Could not find or load main class kafka.Kafka
>
>  Jorge
>
>
> On Jun 17, 2014, at 11:54 PM, Jorge Marizan <jorge.mari...@gmail.com> wrote:
>
>> Not at all,  I verified with ps aux and there is no Gradle processes left 
>> behind when I cancel the compile job.
>>
>> Jorge.
>>
>> On Jun 17, 2014, at 11:45 PM, Timothy Chen <tnac...@gmail.com> wrote:
>>
>>> Not sure what's wrong but I'm guessing there probably can be a gradle lock 
>>> somewhere.
>>>
>>> Is there other gradle processes that is hanging around?
>>>
>>> Tim
>>>
>>> Sent from my iPhone
>>>
>>>> On Jun 17, 2014, at 8:35 PM, Jorge Marizan <jorge.mari...@gmail.com> wrote:
>>>>
>>>> :core:compileScala
>>>>
>>>> Jorge.
>>>>
>>>>> On Jun 17, 2014, at 8:54 PM, Timothy Chen <tnac...@gmail.com> wrote:
>>>>>
>>>>> What's the last line it's stuck on with debug flag on?
>>>>>
>>>>> Tim
>>>>>
>>>>>> On Tue, Jun 17, 2014 at 4:46 PM, Jorge Marizan <jorge.mari...@gmail.com> 
>>>>>> wrote:
>>>>>> I almost got it to work but still stuck compiling scala
>>>>>>
>>>>>> Any idea?
>>>>>>
>>>>>> Jorge.
>>>>>>> On Jun 17, 2014, at 7:22 AM, Jorge Marizan <jorge.mari...@gmail.com> 
>>>>>>> wrote:
>>>>>>>
>>>>>>> It got stuck on this:
>>>>>>>
>>>>>>> ./gradlew jar
>>>>>>> The TaskContainer.add() method has been deprecated and is scheduled to 
>>>>>>> be removed in Gradle 2.0. Please use the create() method instead.
>>>>>>> Building project 'core' with Scala version 2.8.0
>>>>>>> Building project 'perf' with Scala version 2.8.0
>>>>>>> :clients:compileJava
>>>>>>> :clients:processResources UP-TO-DATE
>>>>>>> :clients:classes
>>>>>>> :clients:jar
>>>>>>> :contrib:compileJava UP-TO-DATE
>>>>>>> :contrib:processResources UP-TO-DATE
>>>>>>> :contrib:classes UP-TO-DATE
>>>>>>> :contrib:jar
>>>>>>> :core:compileJava UP-TO-DATE
>>>>>>> :core:compileScala
>>>>>>>
>>>>>>>> On Jun 17, 2014, at 12:46 AM, Steve Morin <steve.mo...@gmail.com> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Have seen if you have a write with zero data it will hang
>>>>>>>>
>>>>>>>>> On Jun 16, 2014, at 21:02, Timothy Chen <tnac...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>> Can you try running it in debug mode? (./gradlew jar -d)
>>>>>>>>>
>>>>>>>>> Tim
>>>>>>>>>
>>>>>>>>>> On Mon, Jun 16, 2014 at 8:44 PM, Jorge Marizan 
>>>>>>>>>> <jorge.mari...@gmail.com> wrote:
>>>>>>>>>> It just hangs there without any output at all.
>>>>>>>>>>
>>>>>>>>>> Jorge.
>>>>>>>>>>
>>>>>>>>>>> On Jun 16, 2014, at 11:27 PM, Timothy Chen <tnac...@gmail.com> 
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> What output was it stuck on?
>>>>>>>>>>>
>>>>>>>>>>> Tim
>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 16, 2014 at 6:39 PM, Jorge Marizan 
>>>>>>>>>>>> <jorge.mari...@gmail.com> wrote:
>>>>>>>>>>>> Hi team, I’m a newcomer to Kafka, but I’m having some troubles 
>>>>>>>>>>>> trying to get it to run on OS X.
>>>>>>>>>>>> Basically building Kafka on OS X with 'gradlew jar’  gets stuck 
>>>>>>>>>>>> forever without any progress (Indeed I tried to leave it building 
>>>>>>>>>>>> all night with no avail).
>>>>>>>>>>>>
>>>>>>>>>>>> Any advices will be greatly appreciated. Thanks in advance.
>>>>
>>
>

Reply via email to