Commit a127e26b by Madhan Neethiraj

ATLAS-1676: update Hive hook to set hdfs_path.clusterName attribute

parent d6e40806
......@@ -584,6 +584,7 @@ public class HiveMetaStoreBridge {
Path path = new Path(pathUri);
ref.set(AtlasClient.NAME, Path.getPathWithoutSchemeAndAuthority(path).toString().toLowerCase());
ref.set(AtlasClient.REFERENCEABLE_ATTRIBUTE_NAME, pathUri);
ref.set(AtlasConstants.CLUSTER_NAME_ATTRIBUTE, clusterName);
return ref;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment