injectorjob:java.lang.unsupportedoperationexception:未由distributedfilesystem文件系统实现实现(gora solr,nutch 2)

hfyxw5xn  于 2021-05-30  发布在  Hadoop
关注(0)|答案(0)|浏览(195)

我需要一些关于ApacheNutch2.3.1的帮助。使用hbase 0.94,一切正常,但当我为solrstore设置时,我得到了这个错误。

InjectorJob: java.lang.UnsupportedOperationException: Not implemented by theDistributedFileSystem FileSystem implementation 
org.apache.hadoop.fs.FileSystem.getScheme(FileSystem.java:214) at 
org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2365) at 
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2375) at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2392) at 
org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89) at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2431) at 
org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2413) at 
org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368) at 
org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167) at 
org.apache.hadoop.fs.FileSystem.get(FileSystem.java:352) at 
org.apache.hadoop.fs.Path.getFileSystem(Path.java:296) at 
org.apache.hadoop.mapreduce.lib.input.FileInputFormat.addInputPath(FileInputFormat.java:372) at 
org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:212) at 
org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252) at 
org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275) at 
org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at 
org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)

下面是我做的一些步骤
solr:有Solr4.8.1和网页模式(无错误)
ivy.xml:未注解的依赖项name=“gora solr”rev=“0.5”
nutch-site.xml:org.apache.gora.solr.store.solrstore
哥拉地产

gora.datastore.default=org.apache.gora.solr.store.SolrStore
gora.solrstore.solr.url=http://localhost:8983/solr
gora.solrstore.solr.config=solrconfig.xml
gora.solrstore.solr.schema=gora-solr-webpage-schema.xml
gora.solrstore.solr.batchSize=100
gora.solrstore.solr.solrjserver=http
gora.solrstore.solr.commitWithin=1000
gora.solrstore.solr.resultsSize=100

ant运行时
有人成功地将gorasolr0.5与apachenutch2.3结合使用了吗?

暂无答案!

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

相关问题