Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 23900 invoked from network); 31 Dec 2009 07:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Dec 2009 07:46:09 -0000 Received: (qmail 60716 invoked by uid 500); 31 Dec 2009 07:46:09 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 60662 invoked by uid 500); 31 Dec 2009 07:46:09 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 60652 invoked by uid 500); 31 Dec 2009 07:46:09 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 60649 invoked by uid 99); 31 Dec 2009 07:46:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 07:46:09 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 07:46:00 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 89213234C1EF for ; Wed, 30 Dec 2009 23:45:40 -0800 (PST) Message-ID: <570633940.1262245540559.JavaMail.jira@brutus.apache.org> Date: Thu, 31 Dec 2009 07:45:40 +0000 (UTC) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2197) A Camel component for writing into an Hadoop filesystem In-Reply-To: <779172549.1258544092698.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ 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.