Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F96ED393 for ; Wed, 1 Aug 2012 18:24:40 +0000 (UTC) Received: (qmail 44236 invoked by uid 500); 1 Aug 2012 18:24:40 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 44174 invoked by uid 500); 1 Aug 2012 18:24:40 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 44164 invoked by uid 99); 1 Aug 2012 18:24:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 18:24:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jpnaidumca@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 18:24:33 +0000 Received: by wgbdq12 with SMTP id dq12so6209840wgb.26 for ; Wed, 01 Aug 2012 11:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XHddya2rnOuWg10izONUHxXgBKEKkBkVlF00YW0bZy8=; b=yIWxoKea162bJl8IjQ2C0OyIJJjlRjGn07VzpNFIfRd6LgF8eV6pGkDf+DOLBtIv4v BzrAmMCRtLhS7BCkg3M+mHocAUotSOLJ9rWJAXT66YCT3u4IP3hwKQjWR7WArXM+BCJ7 trLG9t9K7upsOtT46QvmmqPPKTB3tW2lXGuaH5e7NSjFY8H4bbmUUE3znjfDyVQTYrfK urU+sccOXXVPHcgwFNUJzoWMKWeJhMdWnFI7yqWF0v1OJ6VtB10lGqda/JoFgePmHFhs p77CJktd2+4R0209FgmODLOclU8IJ/80q/9/dMPcPI2W7XADm91WLTDg07tfHT50jeg+ AXYQ== MIME-Version: 1.0 Received: by 10.180.93.68 with SMTP id cs4mr13958625wib.14.1343845453402; Wed, 01 Aug 2012 11:24:13 -0700 (PDT) Received: by 10.194.29.164 with HTTP; Wed, 1 Aug 2012 11:24:13 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Aug 2012 23:54:13 +0530 Message-ID: Subject: Re: flume-ng-core compiling exception From: JP To: user@flume.apache.org Content-Type: multipart/alternative; boundary=f46d043892bde211a404c6386659 --f46d043892bde211a404c6386659 Content-Type: text/plain; charset=ISO-8859-1 Hi Brock thanks for quick reply, Even im trying to compiling the project ,without any changes also showing the same Exception as i mentioned int the previous mail Thanks JP On Wed, Aug 1, 2012 at 11:18 PM, Brock Noland wrote: > Hi, > > Either the file needs to have an apache license at the top (see the other > files) or you can build your custom java file outside the flume project > linking against the flume binaries. > > Brock > > > On Wed, Aug 1, 2012 at 12:43 PM, JP wrote: > >> >> Hi, >> >> I have added the attached CustomAvroSerializer class to send avro source >> to the hdfs sink. >> >> after im trying to compile im getting the following exception. >> >> Even, If i try to compile parent also im getting: >> org.apache.maven.BuildFailureException: Too many unapproved licenses: 3 >> exception. >> >> >> Please suggest me how can i over come this problem. >> >> Im getting the following exception: >> >> >> DEBUG] Trace >> org.apache.maven.BuildFailureException: Too many unapproved licenses: 3 >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) >> 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) >> Caused by: org.apache.rat.mp.RatCheckException: Too many unapproved >> licenses: 3 >> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:167) >> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:159) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) >> ... 17 more >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 4 minutes 43 seconds >> [INFO] Finished at: Wed Aug 01 23:06:08 IST 2012 >> [INFO] Final Memory: 33M/80M >> [INFO] >> ------------------------------------------------------------------------ >> >> -- >> JP >> > > > > -- > Apache MRUnit - Unit testing MapReduce - > http://incubator.apache.org/mrunit/ > -- JP --f46d043892bde211a404c6386659 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Brock thanks for quick reply,

Even im trying to compiling the pr= oject ,without any changes also showing the same Exception as i mentioned i= nt the previous mail

Thanks
JP


On Wed, Aug 1, 2012 at 11:18 PM, Brock Noland <brock@cloudera.com>= wrote:
Hi,

Either the file needs to have an apache license at t= he top (see the other files) or you can build your custom java file outside= the flume project linking against the flume binaries.

Brock


On Wed,= Aug 1, 2012 at 12:43 PM, JP <jpnaidumca@gmail.com> wrote= :

Hi,

I have added the attached CustomAvroSerializer=A0 class to s= end avro source to the hdfs sink.

after im trying to compile im gett= ing the following exception.

Even, If i try to compile parent also= =A0 im getting:
org.apache.maven.BuildFailureException: Too many unapproved licenses: 3 exc= eption.


Please suggest me how can i over come this problem.
<= br>Im getting the following exception:


DEBUG] Trace
org.apach= e.maven.BuildFailureException: Too many unapproved licenses: 3
=A0=A0=A0 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa= ls(DefaultLifecycleExecutor.java:715)
=A0=A0=A0 at org.apache.maven.life= cycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExe= cutor.java:556)
=A0=A0=A0 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa= l(DefaultLifecycleExecutor.java:535)
=A0=A0=A0 at org.apache.maven.lifec= ycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycle= Executor.java:387)
=A0=A0=A0 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTas= kSegments(DefaultLifecycleExecutor.java:348)
=A0=A0=A0 at org.apache.mav= en.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java= :180)
=A0=A0=A0 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)=
=A0=A0=A0 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:13= 8)
=A0=A0=A0 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)=A0=A0=A0 at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMai= n.java:60)
=A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)=A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces= sorImpl.java:39)
=A0=A0=A0 at sun.reflect.DelegatingMethodAccessorImpl.i= nvoke(DelegatingMethodAccessorImpl.java:25)
=A0=A0=A0 at java.lang.reflect.Method.invoke(Method.java:597)
=A0=A0=A0 = at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
= =A0=A0=A0 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)=A0=A0=A0 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.j= ava:430)
=A0=A0=A0 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
C= aused by: org.apache.rat.mp.RatCheckException: Too many unapproved licenses= : 3
=A0=A0=A0 at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:= 167)
=A0=A0=A0 at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:159)<= br>=A0=A0=A0 at org.apache.maven.plugin.DefaultPluginManager.executeMojo(De= faultPluginManager.java:490)
=A0=A0=A0 at org.apache.maven.lifecycle.Def= aultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
=A0=A0=A0 ... 17 more
[INFO] -------------------------------------------= -----------------------------
[INFO] Total time: 4 minutes 43 seconds[INFO] Finished at: Wed Aug 01 23:06:08 IST 2012
[INFO] Final Memory: 3= 3M/80M
[INFO] --------------------------------------------------------------------= ----

--
JP



--
Apache MRUnit = - Unit testing MapReduce - http://incubator.apache.org/mrunit/



--
JP
--f46d043892bde211a404c6386659--