Support Questions

Find answers, ask questions, and share your expertise

How to create metadata in Atlas when we create an Hive Table

avatar
Explorer

When I create the table in Hive, I don't show the associated metadata in Atlas UI.

I created a github demo : https://github.com/BorisInGitHub/AtlasWithHDP.git

  1. Download the hortonWorks Sandbox http://hortonworks.com/hdp/downloads/ and start it.
  2. Configure my conf.sh file1.
  3. Launch the 1_LoadToHDFS.sh : it should copy a file to HDFS1.
  4. Launch the 2_CreateTableInHIVE.sh : it should create 2 table in Hive1.
  5. Go to Atlas UI and type the query "Table" ou "DB".

With my server, I show nothing.

1 ACCEPTED SOLUTION

avatar
Explorer

I solved my problem, I forgot to initialize the System Types for Hive in atlas.

We can do it with the script /usr/hdp/current/atlas-server/bin/import-hive.sh

(Don't forgot to check if the patch https://issues.apache.org/jira/browse/ATLAS-92 is applied).

View solution in original post

4 REPLIES 4

avatar
Master Mentor

avatar
Master Mentor

@Boris REYNARD has this been resolved?

avatar
Explorer

Yes it's solved, i've post a reply.

avatar
Explorer

I solved my problem, I forgot to initialize the System Types for Hive in atlas.

We can do it with the script /usr/hdp/current/atlas-server/bin/import-hive.sh

(Don't forgot to check if the patch https://issues.apache.org/jira/browse/ATLAS-92 is applied).