Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

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

avatar
Frequent Visitor

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
Frequent Visitor

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
Frequent Visitor

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

avatar
Frequent Visitor

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).