Commit 0b11134f by a760104

fix int to string for posturi

parent 3982b857
...@@ -203,7 +203,7 @@ public class Hook implements ExecuteWithHookContext { ...@@ -203,7 +203,7 @@ public class Hook implements ExecuteWithHookContext {
} }
public void fireAndForget(Configuration conf, HiveLineage hookData, String queryId) throws Exception { public void fireAndForget(Configuration conf, HiveLineage hookData, String queryId) throws Exception {
String postUri = String.format("http://%s:%s%s%s", METADATA_HOST, METADATA_PORT, METADATA_PATH); String postUri = String.format("http://%s:%s%s", METADATA_HOST, METADATA_PORT, METADATA_PATH);
if (conf.getTrimmed("hadoop.metadata.hive.hook.uri") != null) { if (conf.getTrimmed("hadoop.metadata.hive.hook.uri") != null) {
postUri = conf.getTrimmed("hadoop.metadata.hive.hook.uri"); postUri = conf.getTrimmed("hadoop.metadata.hive.hook.uri");
} }
......
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