camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2197) A Camel component for writing into an Hadoop filesystem
Date Thu, 31 Dec 2009 07:45:40 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56705#action_56705
] 

Willem Jiang commented on CAMEL-2197:
-------------------------------------

Hi David, 
I just tried to applied your patch, and found some issues here.

1.  Checkstyle error,  there are some CS complains about the ASF header and some package import
errors. 
     It's not a big deal.
2.  It looks like the hadoop core is require JDK 1.6, so you had to tell maven compile plugin
to compile the source with 1.6.
     I try to remove the that configure and got this error.
    {code}
        /Users/jiangning/Work/camel/trunk/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsWritableFactories.java:[23,20]
package javax.xml.ws does not exist

       /Users/jiangning/Work/camel/trunk/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsConsumer.java:[25,-1]
cannot access org.apache.hadoop.fs.FileStatus
bad class file: /Users/jiangning/.m2/repository/org/apache/mahout/hadoop/hadoop-core/0.20.1/hadoop-core-0.20.1.jar(org/apache/hadoop/fs/FileStatus.class)
class file has wrong version 50.0, should be 49.0

    {code}
     It will cause some trouble if we put it into Camel trunk, as we still use JDK 1.5.x for
our daily build.

Before we figure out how do resolve issue 2, I can't submit your patch into Camel trunk :(

> A Camel component for writing into an Hadoop filesystem
> -------------------------------------------------------
>
>                 Key: CAMEL-2197
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2197
>             Project: Apache Camel
>          Issue Type: New Feature
>    Affects Versions: 2.1.0
>            Reporter: David Greco
>             Fix For: 2.3.0
>
>         Attachments: patchfile.txt
>
>
> This component (in attachment) provides support for writing data into an Hadoop filesystem.

> You can give a look to the following blog post showing some info about its usage:
> http://www.davidgreco.it/MySite/Blog/Entries/2009/11/17_When_a_Camel_encounters_an_Elephant.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message