没有为名称extracthbasecells注册命令生成器

yeotifhr  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(142)

我正在尝试将数据从hbase索引到solr,并使用hbase indexer进行同样的操作。但我得到“没有命令生成器注册名称:extracthbasecells”任何建议。
我的morphiline.conf是

morphlines : [{ id : morphline1    importCommands : ["org.kitesdk.morphline.**", "com.ngdata.**"]    
    commands :
    [{extractHBaseCells 
        { mappings : [ 
        {inputColumn : "data:*" 
        outputField : "data" type : string  source : value} ]}} 
       {logTrace { format : "output record: {}", args : ["@{}"] } } 
     ] }]

hbase-indexer.xml是

<?xml version="1.0"?>
     <indexer table="trialll" mapper="com.ngdata.hbaseindexer.morphline.MorphlineResultToSolrMapper" mapping-type="column">   
          <param name="morphlineFile" value="/home/yash/Desktop/morphline.conf"/>
     </indexer>

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题