kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Stein <joe.st...@stealth.ly>
Subject Re: Kafka Trunk Branch build failure
Date Wed, 01 Oct 2014 13:20:31 GMT
Hi Bhavesh, I reproduced the issue you ran into
https://issues.apache.org/jira/browse/KAFKA-1662 if you want to throw up
your patch that would be great.  Thanks!

/*******************************************
 Joe Stein
 Founder, Principal Consultant
 Big Data Open Source Security LLC
 http://www.stealth.ly
 Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
********************************************/

On Fri, Sep 26, 2014 at 9:29 PM, Bhavesh Mistry <mistry.p.bhavesh@gmail.com>
wrote:

> Hi Joe,
>
> I run following command.  I am consistently get OO memory for ant forked
> JVM.      I am not able to set JVM argument for
> org.gradle.api.tasks.scala.ScalaDocOptions jvmArgs.  Any Help is greatly
> appreciated.
>
>
> tasks.withType(ScalaDoc) {
> task scaladocJar(type:Jar) {
> classifier = 'scaladoc'
> from '../LICENSE'
> from '../NOTICE'
> from scaladoc
> }
>  configure(scalaDocOptions.additionalParameters) {
>         memoryMaximumSize = '1g'
>         jvmArgs = ['-XX:MaxPermSize=512m']
>     }
>
>
> gradle.properties:
>
> group=org.apache.kafka
> version=0.8.2-SNAPSHOT
> scalaVersion=2.11.2
> task=build
>
> Build Cmd:
>
> ./gradlew uploadArchivesAll
>
>
> Build Error:
>
>
> :kafka:core:scaladoc
> [ant:scaladoc] Element
>
> '/Users/bmistr1/Documents/workspace/kafka-master/kafka/core/build/resources/main'
> does not exist.
> [ant:scaladoc] java.lang.OutOfMemoryError: PermGen space
> [ant:scaladoc]     at java.lang.ClassLoader.defineClass1(Native Method)
> [ant:scaladoc]     at
> java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> [ant:scaladoc]     at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> [ant:scaladoc]     at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> [ant:scaladoc]     at
> java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> [ant:scaladoc]     at
> java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> [ant:scaladoc]     at
> java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> [ant:scaladoc]     at java.security.AccessController.doPrivileged(Native
> Method)
> [ant:scaladoc]     at
> java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> [ant:scaladoc]     at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> [ant:scaladoc]     at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> [ant:scaladoc]     at
>
> scala.reflect.internal.ReificationSupport$class.$init$(ReificationSupport.scala:1145)
> [ant:scaladoc]     at
> scala.reflect.internal.SymbolTable.<init>(SymbolTable.scala:16)
> [ant:scaladoc]     at
> scala.tools.nsc.symtab.SymbolTable.<init>(SymbolTable.scala:9)
> [ant:scaladoc]     at scala.tools.nsc.Global.<init>(Global.scala:40)
> [ant:scaladoc]     at
> scala.tools.nsc.doc.ScaladocGlobal.<init>(ScaladocGlobal.scala:38)
> [ant:scaladoc]     at
> scala.tools.nsc.doc.DocFactory$compiler$.<init>(DocFactory.scala:34)
> [ant:scaladoc]     at
> scala.tools.nsc.doc.DocFactory.compiler$lzycompute(DocFactory.scala:34)
> [ant:scaladoc]     at
> scala.tools.nsc.doc.DocFactory.compiler(DocFactory.scala:34)
> [ant:scaladoc]     at
> scala.tools.nsc.doc.DocFactory.makeUniverse(DocFactory.scala:44)
> [ant:scaladoc]     at
> scala.tools.nsc.doc.DocFactory.generate$1(DocFactory.scala:112)
> [ant:scaladoc]     at
> scala.tools.nsc.doc.DocFactory.document(DocFactory.scala:124)
> [ant:scaladoc]     at scala.tools.ant.Scaladoc.execute(Scaladoc.scala:674)
> [ant:scaladoc]     at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> [ant:scaladoc]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [ant:scaladoc]     at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> [ant:scaladoc]     at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [ant:scaladoc]     at java.lang.reflect.Method.invoke(Method.java:606)
> [ant:scaladoc]     at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> [ant:scaladoc]     at
> groovy.util.AntBuilder.performTask(AntBuilder.java:319)
> [ant:scaladoc]     at
> groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:264)
> [ant:scaladoc]     at
>
> org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:71)
>
>
> Thanks,
> Bhavesh
>
>
> On Fri, Sep 26, 2014 at 4:53 PM, Bhavesh Mistry <
> mistry.p.bhavesh@gmail.com>
> wrote:
>
> > Hi Joe,
> >
> > Thanks for quick response !
> >
> > Thanks,
> >
> > Bhavesh
> >
> >
> >
> > On Fri, Sep 26, 2014 at 4:19 PM, Joe Stein <joe.stein@stealth.ly> wrote:
> >
> >> Hi, yes it was https://issues.apache.org/jira/browse/KAFKA-1490
> >>
> >> https://github.com/apache/kafka/tree/trunk#apache-kafka
> >>
> >> You need to install gradle http://www.gradle.org/installation
> >>
> >> Then bootstrap and download the wrapper
> >>
> >> cd kafka_source_dir
> >> gradle
> >>
> >> Now everything else will work
> >>
> >>
> >> /*******************************************
> >>  Joe Stein
> >>  Founder, Principal Consultant
> >>  Big Data Open Source Security LLC
> >>  http://www.stealth.ly
> >>  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> >> ********************************************/
> >>
> >> On Fri, Sep 26, 2014 at 7:15 PM, Bhavesh Mistry <
> >> mistry.p.bhavesh@gmail.com>
> >> wrote:
> >>
> >> > Hi Kafka Dev team,
> >> >
> >> > It seems latest git pull seems to break trunk branchbuild with
> following
> >> > error.  is Grandle lib deleted ?
> >> >
> >> > ./gradlew clean
> >> > Error: Could not find or load main class
> >> > org.gradle.wrapper.GradleWrapperMain
> >> >
> >> >
> >> > Thanks,
> >> > Bhavesh
> >> >
> >>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message