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</name>
  <value>hdfs://qq000:54310</value>
</property>
</configuration>

-- 
Geoffry Roberts

Reply via email to