flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brock Noland <br...@cloudera.com>
Subject Re: flume-ng-core compiling exception
Date Wed, 01 Aug 2012 18:30:06 GMT
There should be a rat.txt file which file is violating the license policy.

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

> 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 <brock@cloudera.com> 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 <jpnaidumca@gmail.com> 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
>



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

Mime
View raw message