[ https://issues.apache.org/jira/browse/ATLAS-3905 ]
limbo deleted comment on ATLAS-3905:
------------------------------
was (Author: limbo):
Just compile the hive-bridge package? I will try it
> The method hivedb. Getcatalogname() does not exist in version 2.1
> ------------------------------------------------------------------
>
> Key: ATLAS-3905
> URL: https://issues.apache.org/jira/browse/ATLAS-3905
> Project: Atlas
> Issue Type: Bug
> Components: hive-integration
> Affects Versions: 2.1.0
> Environment: hive 2.1.1
> atlas 2.1
> Reporter: zhangxin
> Priority: Blocker
> Labels: hive
>
> run ` ./hook-bin/import-hive.sh `
> {code:java}
> Enter username for atlas :- adminEnter username for atlas :- adminEnter
> password for atlas :- Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.hadoop.hive.metastore.api.Database.getCatalogName()Ljava/lang/String;
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getDatabaseName(HiveMetaStoreBridge.java:577)
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.toDbEntity(HiveMetaStoreBridge.java:557)
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.toDbEntity(HiveMetaStoreBridge.java:549)
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerDatabase(HiveMetaStoreBridge.java:416)
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importDatabases(HiveMetaStoreBridge.java:295)
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importHiveMetadata(HiveMetaStoreBridge.java:265)
> at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:171)Failed
> to import Hive Meta Data!!!
> {code}
> i get the error,then add `hive-metastore-0.13.1.jar` to
> `hook/hive/atlas-hive-plugin-impl/` but not work.
> help me please,Thanks
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)