Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-35

Titan with HBase and Solr deployment fails due to missing dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      need to add titan-hbase and titan-solr dependencies to ATLAS along with hbase client jars

      Tests fail with

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project atlas-repository: ExecutionException: java.lang.RuntimeException: There was an error in the forked process
      [ERROR] com.google.inject.CreationException: Unable to create injector, see the following errors:
      [ERROR]
      [ERROR] 1) Error in custom provider, java.lang.IllegalArgumentException: Could not find implementation class: com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager
      [ERROR] at org.apache.atlas.RepositoryMetadataModule.configure(RepositoryMetadataModule.java:49)
      [ERROR] at org.apache.atlas.RepositoryMetadataModule.configure(RepositoryMetadataModule.java:49)
      [ERROR] while locating com.google.inject.throwingproviders.ThrowingProviderBinder$Result annotated with @com.google.inject.internal.UniqueAnnotations$Internal(value=1)
      [ERROR] Caused by: java.lang.IllegalArgumentException: Could not find implementation class: com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager
      [ERROR] at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:47)
      [ERROR] at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:421)
      [ERROR] at com.thinkaurelius.titan.diskstorage.Backend.getStorageManager(Backend.java:361)
      [ERROR] at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1275)
      [ERROR] at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:93)
      [ERROR] at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:73)
      [ERROR] at org.apache.atlas.repository.graph.TitanGraphProvider.get(TitanGraphProvider.java:76)
      [ERROR] at org.apache.atlas.repository.graph.TitanGraphProvider.get(TitanGraphProvider.java:37)
      [ERROR] at com.google.inject.throwingproviders.ThrowingProviderBinder$SecondaryBinder$3.get(ThrowingProviderBinder.java:350)
      [ERROR] at com.google.inject.throwingproviders.ThrowingProviderBinder$SecondaryBinder$3.get(ThrowingProviderBinder.java:346)
      [ERROR] at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
      [ERROR] at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
      [ERROR] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
      [ERROR] at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      [ERROR] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      [ERROR] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
      [ERROR] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      [ERROR] at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
      [ERROR] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      [ERROR] at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
      [ERROR] at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
      [ERROR] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
      [ERROR] at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
      [ERROR] at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
      [ERROR] at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
      [ERROR] at com.google.inject.Guice.createInjector(Guice.java:96)
      [ERROR] at com.google.inject.Guice.createInjector(Guice.java:73)
      [ERROR] at org.testng.internal.ClassImpl.getInstanceFromGuice(ClassImpl.java:139)
      [ERROR] at org.testng.internal.ClassImpl.getDefaultInstance(ClassImpl.java:104)
      [ERROR] at org.testng.internal.ClassImpl.getInstances(ClassImpl.java:181)
      [ERROR] at org.testng.internal.TestNGClassFinder.<init>(TestNGClassFinder.java:120)
      
      

      Attachments

        Issue Links

          Activity

            People

              suma.shivaprasad Suma Shivaprasad
              suma.shivaprasad Suma Shivaprasad
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: