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 5ED30904C for ; Thu, 2 Aug 2012 06:11:12 +0000 (UTC) Received: (qmail 72223 invoked by uid 500); 2 Aug 2012 06:11:11 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 71803 invoked by uid 500); 2 Aug 2012 06:11:10 -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 71752 invoked by uid 99); 2 Aug 2012 06:11:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2012 06:11:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=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 209.85.212.179 as permitted sender) Received: from [209.85.212.179] (HELO mail-wi0-f179.google.com) (209.85.212.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2012 06:11:00 +0000 Received: by wibhq4 with SMTP id hq4so3951262wib.8 for ; Wed, 01 Aug 2012 23:10:40 -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=fRrKf/D4sASlZ8RE/GFWWN7MYmPiIzRYM6FK0KgOp1A=; b=HptNZE9UNEEaJj1kLRbzBRlxOOB1o5mdqXgwjQiHemXj2JA4irC1DvKPhdy1eVdQ3H 7cidpMuh72F3C/ebZuX8KCGIpZTutYDW7AAo7L1bCc+Oni3XM6NyfrqLFQUfSvj/n1Bt C8zhzVnop28O6jp2xOfNj/LKjbl/Id0j0v7zPBvzMNeHelVGpcQSMrx4l+lg5rEl5BQg 6fqzYfky1aB53VDTp7yhqgVY+VEB7B5ywcDpdBZbs2NuoljUGrUFcdHmZ5xy4StCBVnZ vGYPf53vKX0LIjfyhviNSGvP2ZCl8l/f0GFh5EklCo2BSzNth2se4IxtbkwgrQnn1Zwj okeg== MIME-Version: 1.0 Received: by 10.180.104.200 with SMTP id gg8mr1826191wib.14.1343887840106; Wed, 01 Aug 2012 23:10:40 -0700 (PDT) Received: by 10.194.29.164 with HTTP; Wed, 1 Aug 2012 23:10:40 -0700 (PDT) In-Reply-To: References: Date: Thu, 2 Aug 2012 11:40:40 +0530 Message-ID: Subject: Re: flume-ng-core compiling exception From: JP To: dev@flume.apache.org, user@flume.apache.org Content-Type: multipart/alternative; boundary=f46d0443040453d6e504c64245d7 --f46d0443040453d6e504c64245d7 Content-Type: text/plain; charset=ISO-8859-1 After adding this licence in my custom class it is working fine /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ On Thu, Aug 2, 2012 at 9:53 AM, JP wrote: > > > > Hi, > > Can you please tell me where im going wrong. > > > 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 > > > > -- > JP > -- JP --f46d0443040453d6e504c64245d7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable After adding this licence in my custom class it is working fine

/*=A0* Licensed to the Apache Software Foundation (ASF) under one
=A0* o= r more contributor license agreements.=A0 See the NOTICE file
=A0* distr= ibuted with this work for additional information
=A0* regarding copyright ownership.=A0 The ASF licenses this file
=A0* t= o you under the Apache License, Version 2.0 (the
=A0* "License"= ;); you may not use this file except in compliance
=A0* with the License= .=A0 You may obtain a copy of the License at
=A0*
=A0* http://= www.apache.org/licenses/LICENSE-2.0
=A0*
=A0* Unless required by = applicable law or agreed to in writing,
=A0* software distributed under = the License is distributed on an
=A0* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
= =A0* KIND, either express or implied.=A0 See the License for the
=A0* sp= ecific language governing permissions and limitations
=A0* under the Lic= ense.
=A0*/

On Thu, Aug 2, 2012 at 9:53 AM, JP = <jpnaidumca@gmail.com> wrote:



Hi,

Can you please tell me wh= ere im going wrong.


I have added the attached= CustomAvroSerializer=A0 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=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



--
JP



--
JP
--f46d0443040453d6e504c64245d7--