I see FLUME-1256 says a permgen size of 512M is required. That is unbelievably 
huge.

Ralph

On Jun 5, 2012, at 4:00 PM, Ralph Goers wrote:

> Why would the normal build also build the site?
> 
> Something is definitely wrong. I reran it again with MAVEN_OPTS="-Xmx1024M 
> -XX:MaxPermSize=256m"
> 
> 
> and got
> 
>  [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Flume ...................................... SUCCESS [45.950s]
> [INFO] Flume NG SDK ...................................... SUCCESS [21.546s]
> [INFO] Flume NG Configuration ............................ SUCCESS [1.601s]
> [INFO] Flume NG Core ..................................... SUCCESS [1:51.240s]
> [INFO] Flume NG Sinks .................................... SUCCESS [2.303s]
> [INFO] Flume NG HDFS Sink ................................ SUCCESS [35.442s]
> [INFO] Flume NG IRC Sink ................................. SUCCESS [0.888s]
> [INFO] Flume NG HBase Sink ............................... SUCCESS [35.380s]
> [INFO] Flume NG Channels ................................. SUCCESS [0.697s]
> [INFO] Flume NG JDBC channel ............................. SUCCESS [46.628s]
> [INFO] Flume NG Node ..................................... SUCCESS [20.407s]
> [INFO] Flume NG file-based channel ....................... SUCCESS [2:52.570s]
> [INFO] Flume NG file backed Memory channel ............... SUCCESS [28.110s]
> [INFO] Flume legacy Sources .............................. SUCCESS [0.597s]
> [INFO] Flume legacy Avro source .......................... SUCCESS [3.586s]
> [INFO] Flume legacy Thrift Source ........................ SUCCESS [3.039s]
> [INFO] Flume NG Clients .................................. SUCCESS [0.642s]
> [INFO] Flume NG Log4j Appender ........................... FAILURE [2.434s]
> [INFO] Flume NG distribution ............................. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 8:53.616s
> [INFO] Finished at: Tue Jun 05 15:55:40 PDT 2012
> [INFO] Final Memory: 78M/156M
> [INFO] 
> ------------------------------------------------------------------------
> ---------------------------------------------------
> constituent[0]: file:/usr/share/maven/lib/aether-api-1.11.jar
> constituent[1]: file:/usr/share/maven/lib/aether-connector-wagon-1.11.jar
> constituent[2]: file:/usr/share/maven/lib/aether-impl-1.11.jar
> constituent[3]: file:/usr/share/maven/lib/aether-spi-1.11.jar
> constituent[4]: file:/usr/share/maven/lib/aether-util-1.11.jar
> constituent[5]: file:/usr/share/maven/lib/commons-cli-1.2.jar
> constituent[6]: file:/usr/share/maven/lib/maven-aether-provider-3.0.3.jar
> constituent[7]: file:/usr/share/maven/lib/maven-artifact-3.0.3.jar
> constituent[8]: file:/usr/share/maven/lib/maven-compat-3.0.3.jar
> constituent[9]: file:/usr/share/maven/lib/maven-core-3.0.3.jar
> constituent[10]: file:/usr/share/maven/lib/maven-embedder-3.0.3.jar
> constituent[11]: file:/usr/share/maven/lib/maven-model-3.0.3.jar
> constituent[12]: file:/usr/share/maven/lib/maven-model-builder-3.0.3.jar
> constituent[13]: file:/usr/share/maven/lib/maven-plugin-api-3.0.3.jar
> constituent[14]: file:/usr/share/maven/lib/maven-repository-metadata-3.0.3.jar
> constituent[15]: file:/usr/share/maven/lib/maven-settings-3.0.3.jar
> constituent[16]: file:/usr/share/maven/lib/maven-settings-builder-3.0.3.jar
> constituent[17]: file:/usr/share/maven/lib/nekohtml-1.9.6.2.jar
> constituent[18]: file:/usr/share/maven/lib/plexus-cipher-1.4.jar
> constituent[19]: 
> file:/usr/share/maven/lib/plexus-component-annotations-1.5.5.jar
> constituent[20]: file:/usr/share/maven/lib/plexus-interpolation-1.14.jar
> constituent[21]: file:/usr/share/maven/lib/plexus-sec-dispatcher-1.3.jar
> constituent[22]: file:/usr/share/maven/lib/plexus-utils-2.0.6.jar
> constituent[23]: file:/usr/share/maven/lib/sisu-guice-2.9.4-no_aop.jar
> constituent[24]: file:/usr/share/maven/lib/sisu-inject-bean-2.1.1.jar
> constituent[25]: file:/usr/share/maven/lib/sisu-inject-plexus-2.1.1.jar
> constituent[26]: file:/usr/share/maven/lib/wagon-file-1.0-beta-7.jar
> constituent[27]: 
> file:/usr/share/maven/lib/wagon-http-lightweight-1.0-beta-7.jar
> constituent[28]: file:/usr/share/maven/lib/wagon-http-shared-1.0-beta-7.jar
> constituent[29]: file:/usr/share/maven/lib/wagon-provider-api-1.0-beta-7.jar
> constituent[30]: file:/usr/share/maven/lib/xercesMinimal-1.9.6.2.jar
> ---------------------------------------------------
> Exception in thread "MainThread" java.lang.OutOfMemoryError: PermGen space
> 
> 
> On Jun 5, 2012, at 3:53 PM, Arvind Prabhakar wrote:
> 
>> A setting of MAVEN_OPTS=-XX:MaxPermSize=128m works for me on my Mac. 
>> Incidentally, since the introduction of the documentation changes the build 
>> has been running out of PermGen space. The jira tracking this issue is 
>> https://issues.apache.org/jira/browse/FLUME-1256.
>> 
>> Regards,
>> Arvind Prabhakar
>> 
>> On Tue, Jun 5, 2012 at 3:43 PM, Ralph Goers <ralph.go...@dslextreme.com> 
>> wrote:
>> I did a clean checkout from 
>> https://svn.apache.org/repos/asf/incubator/flume/trunk.  I then did a mvn 
>> clean install and the build failed with an OutOfMemoryError. I then set 
>> MAVEN_OPTS=-Xmx512M and reran the build.  It still fails
>> 
>> [INFO] Surefire report directory: 
>> /Users/rgoers/projects/apache/flume/trunk/flume-ng-clients/flume-ng-log4jappender/target/surefire-reports
>> 
>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> 
>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> 
>> Results :
>> 
>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>> 
>> [ERROR] PermGen space -> [Help 1]
>> [ERROR] 
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
>> switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR] 
>> [ERROR] For more information about the errors and possible solutions, please 
>> read the following articles:
>> [ERROR] [Help 1] 
>> http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
>> 
>> 
>> Ralph
>> 
>> On Jun 5, 2012, at 3:25 PM, Ralph Goers wrote:
>> 
>>> I trie the build as well. I am getting 
>>> 
>>> Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check 
>>> (test.rat) on project flume-parent: Too many unapproved licenses: 127 -> 
>>> [Help 1]
>>> 
>>> which appears to be the same as 
>>> https://issues.apache.org/jira/browse/FLUME-1202
>>> 
>>> Ralph
>>> 
>>> 
>>> 
>>> 
>>> On Jun 5, 2012, at 2:38 PM, Mike Percy wrote:
>>> 
>>>> I generally am able to check out trunk and build using mvn clean install 
>>>> with no trouble.
>>>> 
>>>> This NullPointerException is something I have never seen before… kind of 
>>>> strange… looks like for some reason it cannot find jython. I wonder if you 
>>>> have set your CLASSPATH to something that is messing up the sphinx maven 
>>>> plugin.
>>>> 
>>>> Regards
>>>> Mike
>>>> 
>>>> On Tuesday, June 5, 2012 at 2:00 PM, Mohammad Tariq wrote:
>>>> 
>>>>> I am using Ubuntu 11.10..I'll give it a try with Maven 3.x...Am I
>>>>> missing something(something that is not there in the guides and you
>>>>> think is necessary)?? I have followed the instructions several times,
>>>>> but perhaps I am doing something wrong.
>>>>> 
>>>>> Regards,
>>>>> Mohammad Tariq
>>>>> 
>>>>> 
>>>>> On Wed, Jun 6, 2012 at 1:39 AM, Mike Percy <mpe...@cloudera.com> wrote:
>>>>>> Can you try Maven 3.x? Also, what platform are you on?
>>>>>> 
>>>>>> I thought I had made the new docs build stuff compatible with Maven 2.x 
>>>>>> but
>>>>>> I have not tested that configuration yet. I know the build works on Mac 
>>>>>> and
>>>>>> Linux with Maven 3.x.
>>>>>> 
>>>>>> Regards,
>>>>>> Mike
>>>>>> 
>>>>>> 
>>>>>> On Tue, Jun 5, 2012 at 11:55 AM, Mohammad Tariq <donta...@gmail.com> 
>>>>>> wrote:
>>>>>>> 
>>>>>>> Hello Mike,
>>>>>>> 
>>>>>>> I am using 2.2.1
>>>>>>> 
>>>>>>> Regards,
>>>>>>> Mohammad Tariq
>>>>>>> 
>>>>>>> 
>>>>>>> On Tue, Jun 5, 2012 at 9:53 PM, Mike Percy <mpe...@cloudera.com> wrote:
>>>>>>>> What version of Maven are you running?
>>>>>>>> 
>>>>>>>> Thanks,
>>>>>>>> Mike
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Tuesday, June 5, 2012, Mohammad Tariq wrote:
>>>>>>>>> 
>>>>>>>>> I am not able to build 1.2(trunk). I am getting following error when I
>>>>>>>>> issue mvn package -
>>>>>>>>> 
>>>>>>>>> [INFO] [site:site {execution: flume-site}]
>>>>>>>>> [INFO] Parent project loaded from repository: org.apache:apache:pom:9
>>>>>>>>> [INFO] Relativizing decoration links with respect to project URL:
>>>>>>>>> http://www.apache.org/flume-parent
>>>>>>>>> [INFO] Rendering site with
>>>>>>>>> org.apache.maven.skins:maven-fluido-skin:jar:1.0 skin.
>>>>>>>>> [INFO] Generating "Issue Tracking" report --- Maven Project Info
>>>>>>>>> Reports Plugin 2.4
>>>>>>>>> [INFO] Generating "Project License" report --- Maven Project Info
>>>>>>>>> Reports Plugin 2.4
>>>>>>>>> [INFO] Generating "Mailing Lists" report --- Maven Project Info
>>>>>>>>> Reports Plugin 2.4
>>>>>>>>> [INFO] Generating "Project Team" report --- Maven Project Info
>>>>>>>>> Reports Plugin 2.4
>>>>>>>>> [INFO] Generating "Documentation via sphinx" report.
>>>>>>>>> [INFO] Unpacking sphinx to /home/mohammad/flume/target/sphinx
>>>>>>>>> [INFO] Running sphinx on /home/mohammad/flume/flume-ng-doc/sphinx,
>>>>>>>>> output will be placed in /home/mohammad/flume/target/site
>>>>>>>>> [INFO]
>>>>>>>>> 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [ERROR] FATAL ERROR
>>>>>>>>> [INFO]
>>>>>>>>> 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] null
>>>>>>>>> [INFO]
>>>>>>>>> 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] Trace
>>>>>>>>> java.lang.NullPointerException
>>>>>>>>> at
>>>>>>>>> org.tomdz.maven.sphinx.SphinxMojo.runSphinx(SphinxMojo.java:234)
>>>>>>>>> at
>>>>>>>>> org.tomdz.maven.sphinx.SphinxMojo.executeReport(SphinxMojo.java:156)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:135)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
>>>>>>>>> at
>>>>>>>>> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
>>>>>>>>> at
>>>>>>>>> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>>>>>>>>> at
>>>>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>>>>>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>>>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>>>>>>>> at
>>>>>>>>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>>>>> at
>>>>>>>>> 
>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>>>> at
>>>>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>>>>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>>>>> at
>>>>>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>>>>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>>>>> [INFO]
>>>>>>>>> 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [INFO] Total time: 1 minute 16 seconds
>>>>>>>>> [INFO] Finished at: Tue Jun 05 17:02:09 IST 2012
>>>>>>>>> [INFO] Final Memory: 85M/407M
>>>>>>>>> [INFO]
>>>>>>>>> 
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> 
>>>>>>>>> Am I missing something??I have followed the steps given here -
>>>>>>>>> https://cwiki.apache.org/FLUME/getting-started.html
>>>>>>>>> Regards,
>>>>>>>>> Mohammad Tariq
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Tue, Jun 5, 2012 at 4:45 PM, ashutosh(오픈플랫폼개발팀)
>>>>>>>>> <sharma.ashut...@kt.com> wrote:
>>>>>>>>>> Thank you Alex!
>>>>>>>>>> 
>>>>>>>>>> Regards,
>>>>>>>>>> Ashutosh
>>>>>>>>>> 
>>>>>>>>>> On Jun 5, 2012, at 7:00 PM, "alo alt" <wget.n...@googlemail.com>
>>>>>>>>>> wrote:
>>>>>>>>>> 
>>>>>>>>>>> Hi,
>>>>>>>>>>> http://www.slideshare.net/mapredit/apache-flume-ng
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> http://archive.cloudera.com/cdh4/cdh/4/flume-ng-1.1.0-cdh4.0.0b2/FlumeUserGuide.html
>>>>>>>>>>> 
>>>>>>>>>>> 1.1x is stable.
>>>>>>>>>>> 
>>>>>>>>>>> cheers
>>>>>>>>>>> - Alex
>>>>>>>>>>> 
>>>>>>>>>>> --
>>>>>>>>>>> Alexander Alten-Lorenz
>>>>>>>>>>> http://mapredit.blogspot.com
>>>>>>>>>>> German Hadoop LinkedIn Group: http://goo.gl/N8pCF
>>>>>>>>>>> 
>>>>>>>>>>> On Jun 5, 2012, at 11:53 AM, ashutosh(오픈플랫폼개발팀) wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> Hi,
>>>>>>>>>>>> 
>>>>>>>>>>>> I am planning to use Flume for the data collection. I just want to
>>>>>>>>>>>> know, which flume version should I use? Is the Flume 1.1 is stable
>>>>>>>>>>>> release
>>>>>>>>>>>> or beta one? Could you please highlight the advantages and
>>>>>>>>>>>> differences
>>>>>>>>>>>> between 0.9 and 1.1 version of flume?
>>>>>>>>>>>> 
>>>>>>>>>>>> It'll help me to decided which version should I use.
>>>>>>>>>>>> ----------------------------------------
>>>>>>>>>>>> ----------------------------------------
>>>>>>>>>>>> Thanks & Regards,
>>>>>>>>>>>> Ashutosh Sharma
>>>>>>>>>>>> ----------------------------------------
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 이 메일은 지정된 수취인만을 위해 작성되었으며, 중요한 정보나 저작권을 포함하고 있을 수 있습니다. 어떠한 권한 없이,
>>>>>>>>>>>> 본
>>>>>>>>>>>> 문서에 포함된 정보의 전부 또는 일부를 무단으로 제3자에게 공개, 배포, 복사 또는 사용하는 것을 엄격히 금지합니다.
>>>>>>>>>>>> 만약, 본 메일이
>>>>>>>>>>>> 잘못 전송된 경우, 발신인 또는 당사에 알려주시고, 본 메일을 즉시 삭제하여 주시기 바랍니다.
>>>>>>>>>>>> This E-mail may contain confidential information and/or copyright
>>>>>>>>>>>> material. This email is intended for the use of the addressee only.
>>>>>>>>>>>> If you
>>>>>>>>>>>> receive this email by mistake, please either delete it without
>>>>>>>>>>>> reproducing,
>>>>>>>>>>>> distributing or retaining copies thereof or notify the sender
>>>>>>>>>>>> immediately.
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 이 메일은 지정된 수취인만을 위해 작성되었으며, 중요한 정보나 저작권을 포함하고 있을 수 있습니다. 어떠한 권한 없이, 본
>>>>>>>>>> 문서에
>>>>>>>>>> 포함된 정보의 전부 또는 일부를 무단으로 제3자에게 공개, 배포, 복사 또는 사용하는 것을 엄격히 금지합니다. 만약, 본
>>>>>>>>>> 메일이 잘못
>>>>>>>>>> 전송된 경우, 발신인 또는 당사에 알려주시고, 본 메일을 즉시 삭제하여 주시기 바랍니다.
>>>>>>>>>> This E-mail may contain confidential information and/or copyright
>>>>>>>>>> material. This email is intended for the use of the addressee only.
>>>>>>>>>> If you
>>>>>>>>>> receive this email by mistake, please either delete it without
>>>>>>>>>> reproducing,
>>>>>>>>>> distributing or retaining copies thereof or notify the sender
>>>>>>>>>> immediately.
>>>> 
>>> 
>> 
>> 
> 

Reply via email to