Hi Geoffry,

did you install camel-spring and camel-hdfs feature in Karaf ?

Could you send the log (log:display) ?

Regards
JB

On 10/03/2011 10:52 PM, Geoffry Roberts wrote:
All,

I'm having a problem getting things to work with hadoop's hdfs.  This is
my first try with this so I'm just trying to something simple.  I want
to read a file from hdfs and write it's contents to the console.

Can anyone see what I'm doing wrong?  Thanks.

Here's the error (from karaf):

org.osgi.service.blueprint.container.ComponentDefinitionException:
Unable to intialize bean camel-16

Here's my blueprint:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>
<camelContext xmlns="http://camel.apache.org/schema/blueprint";>
<route>
<from uri="hdfs://qq000:54310/user/hadoop/epistate.xmi?noop=true" />
<to uri="stream:out" />
</route>
</camelContext>
</blueprint>

Here's where hdfs is bound (from core-site.xml in the hadoop config):

<configuration>
...
<property>
<name>fs.default.name <http://fs.default.name></name>
<value>hdfs://qq000:54310</value>
</property>
</configuration>

--
Geoffry Roberts


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to