Repository: incubator-atlas-website Updated Branches: refs/heads/asf-site f46b4bd70 -> 4c8c01f7e
fixed hive hook docs formatting Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas-website/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas-website/commit/4c8c01f7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas-website/tree/4c8c01f7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas-website/diff/4c8c01f7 Branch: refs/heads/asf-site Commit: 4c8c01f7eaa365ef4faca56b14c3f6676a4e7e22 Parents: f46b4bd Author: Shwetha GS <[email protected]> Authored: Mon Dec 7 16:13:35 2015 +0530 Committer: Shwetha GS <[email protected]> Committed: Mon Dec 7 16:13:35 2015 +0530 ---------------------------------------------------------------------- Bridge-Hive.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas-website/blob/4c8c01f7/Bridge-Hive.html ---------------------------------------------------------------------- diff --git a/Bridge-Hive.html b/Bridge-Hive.html index d2bd576..2caf408 100644 --- a/Bridge-Hive.html +++ b/Bridge-Hive.html @@ -216,7 +216,13 @@ hive_partition(ClassType) - super types [Referenceable] - attributes [values, ta hive_process(ClassType) - super types [Process] - attributes [startTime, endTime, userName, operationType, queryText, queryPlan, queryId, queryGraph] </pre></div> -<p>The entities are created and de-duped using unique qualified name. They provide namespace and can be used for querying/lineage as well. Note that dbName and tableName should be in lower case. clusterName is explained below: hive_db - attribute qualifiedName - <dbName>@<clusterName> hive_table - attribute name - <dbName>.<tableName>@<clusterName> hive_column - attribute qualifiedName - <dbName>.<tableName>.<columnName>@<clusterName> hive_partition - attribute qualifiedName - <dbName>.<tableName>.<partitionValues('-' separated)>@<clusterName> hive_process - attribute name - <queryString> - trimmed query string in lower case</p></div> +<p>The entities are created and de-duped using unique qualified name. They provide namespace and can be used for querying/lineage as well. Note that dbName and tableName should be in lower case. clusterName is explained below.</p> +<ul> +<li>hive_db - attribute qualifiedName - <dbName>@<clusterName></li> +<li>hive_table - attribute name - <dbName>.<tableName>@<clusterName></li> +<li>hive_column - attribute qualifiedName - <dbName>.<tableName>.<columnName>@<clusterName></li> +<li>hive_partition - attribute qualifiedName - <dbName>.<tableName>.<partitionValues('-' separated)>@<clusterName></li> +<li>hive_process - attribute name - <queryString> - trimmed query string in lower case</li></ul></div> <div class="section"> <h3><a name="Importing_Hive_Metadata"></a>Importing Hive Metadata</h3> <p>org.apache.atlas.hive.bridge.HiveMetaStoreBridge imports the hive metadata into Atlas using the model defined in org.apache.atlas.hive.model.HiveDataModelGenerator. import-hive.sh command can be used to facilitate this. Set the following configuration in <atlas-conf>/client.properties and set environment variable HIVE_CONFIG to the hive conf directory:</p>
