You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2015/08/14 12:48:45 UTC

[jira] [Commented] (ATLAS-102) Issue with SolrIndex

    [ https://issues.apache.org/jira/browse/ATLAS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696855#comment-14696855 ] 

Shwetha G S commented on ATLAS-102:
-----------------------------------

{noformat}
2015-08-14 16:12:12,780 WARN  - [main:] ~ Failed to load class class com.thinkaurelius.titan.diskstorage.solr.SolrIndex or its referenced types; this usually indicates a broken classpath/classloader (ReflectiveConfigOptionLoader:229)
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    com/thinkaurelius/titan/diskstorage/solr/SolrIndex.<init>(Lcom/thinkaurelius/titan/diskstorage/configuration/Configuration;)V @162: putfield
  Reason:
    Type 'org/apache/solr/client/solrj/impl/CloudSolrServer' (current frame, stack[1]) is not assignable to 'org/apache/solr/client/solrj/SolrServer'
  Current Frame:
    bci: @162
    flags: { }
    locals: { 'com/thinkaurelius/titan/diskstorage/solr/SolrIndex', 'com/thinkaurelius/titan/diskstorage/configuration/Configuration', 'java/lang/String', 'org/apache/solr/client/solrj/impl/CloudSolrServer' }
    stack: { 'com/thinkaurelius/titan/diskstorage/solr/SolrIndex', 'org/apache/solr/client/solrj/impl/CloudSolrServer' }
{noformat}

> Issue with SolrIndex
> --------------------
>
>                 Key: ATLAS-102
>                 URL: https://issues.apache.org/jira/browse/ATLAS-102
>             Project: Atlas
>          Issue Type: Sub-task
>            Reporter: Shwetha G S
>
> Currently, atlas packages titan-solr-0.5.4 and solr 5.2.1. com.thinkaurelius.titan.diskstorage.solr.SolrIndex in titan-solr doesn't work with solr 5.2.1. SolrIndex has PreInitializeConfigOptions annotation and titan tries to load this class which fails. This comes as a nasty error in application log, but titan comes up successfully. The only way that we can avoid is renaming Solr5Index in atlas to SolrIndex so that SolrIndex in titan-solr is not loaded by classloader



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)