hbase-indexer建立indexer遇到的错误

ERROR indexer.ResultToSolrMapperFactory:Error instantiating ResultToSolrMapper for smsdayIndexer

org.kitesdk.morphline.api.MorphlineCompilationException:Cannot parse morphline file: morphlines.conf

 

Caused by: java.io.FileNotFoundException:File not found: morphlines.conf

 

ERROR supervisor.IndexerSupervisor: Problemstarting indexer smsdayIndexer

java.lang.RuntimeException:org.kitesdk.morphline.api.MorphlineCompilationException: Cannot parse morphlinefile: morphlines.conf

 

Caused by:org.kitesdk.morphline.api.MorphlineCompilationException: Cannot parse morphlinefile: morphlines.conf

 

Caused by: java.io.FileNotFoundException:File not found: morphlines.conf

 

所有问题是morphlines.conf找不到,在/opt/cloudera/parcels/CDH/lib/hbase-solr新建一个morphlines.conf文件,把morphline-hbase-mapper.xml的内容改一下

你可能感兴趣的:(大数据)