Skip to content

Commit

Permalink
Another commit to resolve comments
Browse files Browse the repository at this point in the history
Signed-off-by: Heemin Kim <[email protected]>
  • Loading branch information
heemin32 committed Apr 26, 2023
1 parent d98f20f commit ad807fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public static void createIndexIfNotExists(
final TimeValue timeout
) {
if (clusterService.state().metadata().hasIndex(indexName) == true) {
log.info("Index {} already exist", indexName);
return;
}
final Map<String, Object> indexSettings = new HashMap<>();
Expand Down Expand Up @@ -136,7 +135,7 @@ public static CSVParser getDatabaseReader(final DatasourceManifest manifest) {
return new CSVParser(new BufferedReader(new InputStreamReader(zipIn)), CSVFormat.RFC4180);
}
} catch (IOException e) {
throw new RuntimeException(e);
throw new OpenSearchException("failed to read geoip data from {}", manifest.getUrl(), e);
}
throw new OpenSearchException(
"database file [{}] does not exist in the zip file [{}]",
Expand Down
2 changes: 1 addition & 1 deletion src/yamlRestTest/resources/rest-api-spec/test/10_basic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Test that geospatial plugin is loaded in OpenSearch":
"Test that geospatial and job scheduler plugins are loaded in OpenSearch":
- do:
cat.plugins:
local: true
Expand Down

0 comments on commit ad807fd

Please sign in to comment.