메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


아래와 같이 "Caused by: java.lang.IllegalAccessError: tried to access field org.apache.solr.handler.RequestHandlerBase.log from class org.gazzax.labs.solrdf.handler.update.RdfUpdateRequestHandler"오류가 발생하는 경우가 있는데
이는 solrdf 1.1.0이 실행되는 solr의 버젼이 up되면서 내부적인 처리방법이 변경되면서 발생하는 문제임
==========> solrdf 1.1와 어울리는 solr의 버젼을 5.3.1로 맞춰서 설치해줘야 함


org.apache.solr.common.SolrException: tried to access field org.apache.solr.handler.RequestHandlerBase.log from class org.gazzax.labs.solrdf.handler.update.RdfUpdateRequestHandler
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:814)
        at org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:87)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:467)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:458)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalAccessError: tried to access field org.apache.solr.handler.RequestHandlerBase.log from class org.gazzax.labs.solrdf.handler.update.RdfUpdateRequestHandler
        at org.gazzax.labs.solrdf.handler.update.RdfUpdateRequestHandler.createDefaultLoaders(RdfUpdateRequestHandler.java:31)
        at org.apache.solr.handler.UpdateRequestHandler.init(UpdateRequestHandler.java:117)
        at org.apache.solr.core.PluginBag.initInstance(PluginBag.java:92)
        at org.apache.solr.core.PluginBag.createPlugin(PluginBag.java:122)
        at org.apache.solr.core.PluginBag.init(PluginBag.java:221)
        at org.apache.solr.core.RequestHandlers.initHandlersFromConfig(RequestHandlers.java:130)
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:773)
        ... 10 more
위로