mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-28 10:58:30 +00:00
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
elasticsearch/src
main/java/org/elasticsearch/xpack/prelert/job/persistence
test/java/org/elasticsearch/xpack/prelert/integration
@ -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…
x
Reference in New Issue
Block a user