Fix forbidden API errors and logger usage check (elastic/elasticsearch#533)
Original commit: elastic/x-pack-elasticsearch@e7bdaa8b0a
This commit is contained in:
parent
1d67c6ea1d
commit
bca06f0ad7
|
@ -1044,7 +1044,7 @@ public class JobProvider {
|
|||
SearchResponse searchResponse;
|
||||
try {
|
||||
String indexName = JobResultsPersister.getJobIndexName(jobId);
|
||||
LOGGER.trace("ES API CALL: search result type {} from index {} from {}, size {]",
|
||||
LOGGER.trace("ES API CALL: search result type {} from index {} from {}, size {}",
|
||||
ModelDebugOutput.RESULT_TYPE_VALUE, indexName, from, size);
|
||||
|
||||
searchResponse = client.prepareSearch(indexName)
|
||||
|
|
|
@ -107,7 +107,6 @@ public class AutodetectResultProcessorIT extends ESSingleNodeTestCase {
|
|||
try {
|
||||
writeResults(resultBuilder.build(), outputStream);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}).start();
|
||||
|
||||
|
@ -172,7 +171,6 @@ public class AutodetectResultProcessorIT extends ESSingleNodeTestCase {
|
|||
try {
|
||||
writeResults(resultBuilder.build(), outputStream);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}).start();
|
||||
|
||||
|
@ -219,7 +217,6 @@ public class AutodetectResultProcessorIT extends ESSingleNodeTestCase {
|
|||
try {
|
||||
writeResults(resultBuilder.build(), outputStream);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}).start();
|
||||
|
||||
|
|
Loading…
Reference in New Issue