You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nixon Rodrigues (JIRA)" <ji...@apache.org> on 2018/01/05 13:06:00 UTC

[jira] [Created] (ATLAS-2340) java.lang.IncompatibleClassChangeError while running import-hive.sh script

Nixon Rodrigues created ATLAS-2340:
--------------------------------------

             Summary: java.lang.IncompatibleClassChangeError while running import-hive.sh script
                 Key: ATLAS-2340
                 URL: https://issues.apache.org/jira/browse/ATLAS-2340
             Project: Atlas
          Issue Type: Bug
            Reporter: Nixon Rodrigues


{noformat}
[root@ctr-e137-1514896590304-3990-01-000002 hook-bin]# ./import-hive.sh
Using Hive configuration directory [/etc/hive/conf]
Log file for import is /usr/hdp/current/atlas-server/logs/import-hive.log
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/grid/0/hdp/3.0.0.0-669/hive/lib/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/grid/0/hdp/3.0.0.0-669/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
2018-01-05T12:52:03,485 INFO [main] org.apache.atlas.ApplicationProperties - Looking for atlas-application.properties in classpath
2018-01-05T12:52:03,492 INFO [main] org.apache.atlas.ApplicationProperties - Loading atlas-application.properties from file:/etc/hive/3.0.0.0-669/0/atlas-application.properties
2018-01-05T12:52:03,534 INFO [main] org.apache.atlas.ApplicationProperties - No graphdb backend specified. Will use 'janus'
2018-01-05T12:52:03,534 INFO [main] org.apache.atlas.ApplicationProperties - Using storage backend 'hbase2'
2018-01-05T12:52:03,534 INFO [main] org.apache.atlas.ApplicationProperties - Using index backend 'solr'
2018-01-05T12:52:03,534 INFO [main] org.apache.atlas.ApplicationProperties - Setting solr-wait-searcher property 'true'
Enter username for atlas :- admin
Enter password for atlas :-
Exception in thread "main" java.lang.IncompatibleClassChangeError: com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider and com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$Wadl disagree on InnerClasses attribute
	at java.lang.Class.getDeclaringClass0(Native Method)
	at java.lang.Class.getDeclaringClass(Class.java:1235)
	at java.lang.Class.getEnclosingClass(Class.java:1277)
	at com.sun.jersey.core.spi.component.ComponentConstructor.getInstance(ComponentConstructor.java:170)
	at com.sun.jersey.core.spi.component.ProviderFactory.__getComponentProvider(ProviderFactory.java:166)
	at com.sun.jersey.core.spi.component.ProviderFactory.getComponentProvider(ProviderFactory.java:137)
	at com.sun.jersey.core.spi.component.ProviderServices.getComponent(ProviderServices.java:283)
	at com.sun.jersey.core.spi.component.ProviderServices.getServices(ProviderServices.java:163)
	at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:176)
	at com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFactory.java:162)
	at com.sun.jersey.api.client.Client.init(Client.java:342)
	at com.sun.jersey.api.client.Client.access$000(Client.java:118)
	at com.sun.jersey.api.client.Client$1.f(Client.java:191)
	at com.sun.jersey.api.client.Client$1.f(Client.java:187)
	at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
	at com.sun.jersey.api.client.Client.<init>(Client.java:187)
	at com.sun.jersey.api.client.Client.<init>(Client.java:170)
	at org.apache.atlas.AtlasBaseClient.getClient(AtlasBaseClient.java:275)
	at org.apache.atlas.AtlasBaseClient.initializeState(AtlasBaseClient.java:415)
	at org.apache.atlas.AtlasBaseClient.initializeState(AtlasBaseClient.java:410)
	at org.apache.atlas.AtlasBaseClient.<init>(AtlasBaseClient.java:113)
	at org.apache.atlas.AtlasClient.<init>(AtlasClient.java:136)
	at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:642)
Failed to import Hive Data Model!!!

{noformat}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)