You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by JP <jp...@gmail.com> on 2012/08/01 19:43:50 UTC

flume-ng-core compiling exception

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

Re: flume-ng-core compiling exception

Posted by Juhani Connolly <ju...@cyberagent.co.jp>.
Since I presume you're not developpping this custom source for 
contribution, you might want to just compile your own additions 
separately from the main project. You can add them to the classpath in 
flume-env.sh and then add them to the configuration by the classname.

On 08/02/2012 03:10 PM, JP wrote:
> 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 <jp...@gmail.com> 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
>>
>
>


Re: flume-ng-core compiling exception

Posted by JP <jp...@gmail.com>.
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 <jp...@gmail.com> 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

Re: flume-ng-core compiling exception

Posted by JP <jp...@gmail.com>.
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 <jp...@gmail.com> 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

Fwd: flume-ng-core compiling exception

Posted by JP <jp...@gmail.com>.
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

Re: flume-ng-core compiling exception

Posted by Brock Noland <br...@cloudera.com>.
There should be a rat.txt file which file is violating the license policy.

On Wed, Aug 1, 2012 at 1:24 PM, JP <jp...@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 <br...@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 <jp...@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/

Re: flume-ng-core compiling exception

Posted by JP <jp...@gmail.com>.
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 <br...@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 <jp...@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

Re: flume-ng-core compiling exception

Posted by Brock Noland <br...@cloudera.com>.
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 <jp...@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/