Commit 0e07ef0a by a760104

Fix postURI String.formatter from int to string

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