From 558952190008627d6620a6f750ced8bb9ae10d28 Mon Sep 17 00:00:00 2001 From: Christian Rohmann Date: Thu, 26 Mar 2020 10:43:52 +0100 Subject: [PATCH] Concat indexPrefix to read alias to not break this functionality Signed-off-by: Christian Rohmann --- .../dependencies/elastic/ElasticsearchDependenciesJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jaeger-spark-dependencies-elasticsearch/src/main/java/io/jaegertracing/spark/dependencies/elastic/ElasticsearchDependenciesJob.java b/jaeger-spark-dependencies-elasticsearch/src/main/java/io/jaegertracing/spark/dependencies/elastic/ElasticsearchDependenciesJob.java index 5f03a20..bd54793 100644 --- a/jaeger-spark-dependencies-elasticsearch/src/main/java/io/jaegertracing/spark/dependencies/elastic/ElasticsearchDependenciesJob.java +++ b/jaeger-spark-dependencies-elasticsearch/src/main/java/io/jaegertracing/spark/dependencies/elastic/ElasticsearchDependenciesJob.java @@ -204,7 +204,7 @@ private static String prefix(String prefix) { public void run(String peerServiceTag) { if (this.useAliases) { - run(new String[]{"jaeger-span-read"}, indexDate("jaeger-dependencies") ,peerServiceTag); + run(new String[]{prefix(indexPrefix) + "jaeger-span-read", prefixBefore19(indexPrefix) + "jaeger-span-read"}, indexDate("jaeger-dependencies") ,peerServiceTag); } else { run(indexDate("jaeger-span"), indexDate("jaeger-dependencies") ,peerServiceTag);