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

ASF subversion and git services commented on ATLAS-4445:
--------------------------------------------------------

Commit 567ffb4089f9f024049ad88a56faf3783ddd9258 in atlas's branch 
refs/heads/master from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=567ffb408 ]

ATLAS-4445: fix import-hive.sh failure; updated hive version from 3.1.0 to 3.1.2

(cherry picked from commit 1a5bf676218d371398e700c1a348a60c11c52867)


> unable to run import-hive.sh successfully
> -----------------------------------------
>
>                 Key: ATLAS-4445
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4445
>             Project: Atlas
>          Issue Type: Bug
>          Components: hive-integration
>    Affects Versions: 2.2.0
>         Environment: RHEL 7.x
>            Reporter: Tim Hunter
>            Assignee: Madhan Neethiraj
>            Priority: Major
>             Fix For: 2.3.0
>
>         Attachments: ATLAS-4445.patch
>
>
> Same configuration this worked in 2.1.0, unable to figure out why it doesn't 
> in 2.2.0
>  
> {{$ ./import-hive.sh $ ./import-hive.sh Using Hive configuration directory 
> [/usr/local/hive/conf]Log file for import is 
> /var/log/atlas/import-hive.logSLF4J: Class path contains multiple SLF4J 
> bindings.SLF4J: Found binding in 
> [jar:file:/usr/local/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J:
>  Found binding in 
> [jar:file:/home/ec2-user/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.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]2021-10-05T12:57:32,810 INFO 
> [main] org.apache.atlas.hive.bridge.HiveMetaStoreBridge - delete non existing 
> flag : false 2021-10-05T12:57:32,841 INFO [main] 
> org.apache.atlas.ApplicationProperties - Looking for 
> atlas-application.properties in classpath2021-10-05T12:57:32,843 INFO [main] 
> org.apache.atlas.ApplicationProperties - Loading atlas-application.properties 
> from 
> file:/opt/atlas/apache-atlas-2.2.0/conf/atlas-application.properties2021-10-05T12:57:32,903
>  INFO [main] org.apache.atlas.ApplicationProperties - Using graphdb backend 
> 'janus'2021-10-05T12:57:32,903 INFO [main] 
> org.apache.atlas.ApplicationProperties - Using storage backend 
> 'hbase2'2021-10-05T12:57:32,903 INFO [main] 
> org.apache.atlas.ApplicationProperties - Using index backend 
> 'solr'2021-10-05T12:57:32,903 INFO [main] 
> org.apache.atlas.ApplicationProperties - Atlas is running in MODE: 
> PROD.2021-10-05T12:57:32,904 INFO [main] 
> org.apache.atlas.ApplicationProperties - Setting solr.wait-searcher property 
> 'false'2021-10-05T12:57:32,904 INFO [main] 
> org.apache.atlas.ApplicationProperties - Setting index.search.map-name 
> property 'false'2021-10-05T12:57:32,904 INFO [main] 
> org.apache.atlas.ApplicationProperties - Setting 
> atlas.graph.index.search.max-result-set-size = 1502021-10-05T12:57:32,904 
> INFO [main] org.apache.atlas.ApplicationProperties - Setting 
> atlas.graph.index.search.solr.wait-searcher = false2021-10-05T12:57:32,905 
> INFO [main] org.apache.atlas.ApplicationProperties - Property (set to 
> default) atlas.graph.cache.db-cache = true2021-10-05T12:57:32,905 INFO [main] 
> org.apache.atlas.ApplicationProperties - Property (set to default) 
> atlas.graph.cache.db-cache-clean-wait = 202021-10-05T12:57:32,905 INFO [main] 
> org.apache.atlas.ApplicationProperties - Property (set to default) 
> atlas.graph.cache.db-cache-size = 0.52021-10-05T12:57:32,905 INFO [main] 
> org.apache.atlas.ApplicationProperties - Property (set to default) 
> atlas.graph.cache.tx-cache-size = 150002021-10-05T12:57:32,905 INFO [main] 
> org.apache.atlas.ApplicationProperties - Property (set to default) 
> atlas.graph.cache.tx-dirty-size = 120Enter username for atlas :- adminEnter 
> password for atlas :- Exception in thread "main" 
> java.lang.NoClassDefFoundError: javax/ws/rs/core/Link$Builder at 
> java.lang.Class.getDeclaredConstructors0(Native Method) at 
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at 
> java.lang.Class.getConstructor0(Class.java:3075) at 
> java.lang.Class.newInstance(Class.java:412) at 
> javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:65) at 
> javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:117) at 
> javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:105) at 
> javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91) at 
> javax.ws.rs.core.MediaType.<clinit>(MediaType.java:44) at 
> com.sun.jersey.core.header.MediaTypes.<clinit>(MediaTypes.java:65) at 
> com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:182)
>  at 
> com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:175)
>  at 
> com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFactory.java:162)
>  at com.sun.jersey.api.client.Client.init(Client.java:343) at 
> com.sun.jersey.api.client.Client.access$000(Client.java:119) at 
> com.sun.jersey.api.client.Client$1.f(Client.java:192) at 
> com.sun.jersey.api.client.Client$1.f(Client.java:188) at 
> com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193) at 
> com.sun.jersey.api.client.Client.<init>(Client.java:188) at 
> com.sun.jersey.api.client.Client.<init>(Client.java:171) at 
> org.apache.atlas.AtlasBaseClient.getClient(AtlasBaseClient.java:299) at 
> org.apache.atlas.AtlasBaseClient.initializeState(AtlasBaseClient.java:453) at 
> org.apache.atlas.AtlasBaseClient.initializeState(AtlasBaseClient.java:448) at 
> org.apache.atlas.AtlasBaseClient.<init>(AtlasBaseClient.java:131) at 
> org.apache.atlas.AtlasClientV2.<init>(AtlasClientV2.java:138) at 
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:153)Caused
>  by: java.lang.ClassNotFoundException: javax.ws.rs.core.Link$Builder at 
> java.net.URLClassLoader.findClass(URLClassLoader.java:382) at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:418) at 
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 26 moreFailed to 
> import Hive Meta Data!!!}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to