Hi,

Can you provide me an example of data-config.xml? because with my Hbase
configuration, I am getting
Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException:
org.apache.solr.handler.dataimport.DataImportHandlerException:
java.lang.NoSuchMethodError:
org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;)Ljava/io/InputStream;

AND

Exception while processing: item document :
SolrInputDocument[]:org.apache.solr.handler.dataimport.DataImportHandlerException:
Unable to execute SCANNER: [tableName=Item, startRow=null, stopRow=null,
columns=[{Item|r}, {Item|m}, {Item|u}]] Processing Document # 1

Mine data-config.xml:

<dataConfig>

<dataSource type="HbaseDataSource" name="HBase" host="127.0.0.1" port="2181"
/>

    <document name="Item">

        <entity name="item" 
                pk="ROW_KEY"
                dataSource="HBase"
                processor="HbaseEntityProcessor"
                tableName="Item" 
                onError="abort"
            columns="Item|r,
                     Item|m,
                     Item|u"
            query="scan 'Item', {COLUMNS => ['r','m', 'u']}"
            deltaImportQuery=""
            deltaQuery="" >
            
            <field column="ROW_KEY" name="id" />
            <field column="r" name="r" />
            <field column="m" name="m" />
            <field column="u" name="u" />
            
        </entity>


    </document>
</dataConfig>

Please respond me ASAP.

Thanks in advance!!




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Error-while-importing-HBase-data-to-Solr-using-the-DataImportHandler-tp4085613p4089402.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to