-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HC-253: Update legacy ElasticSearch Code in Lightweight Jobs to confo…
…rm to ES 7.1 (#21) * HC-253: Updated the get functions to ES 7.1 in ligthweight jobs The aws_get and wget functions have been updated to be compliant with ES 7.1. In addition, they now use the ElasticSearch utilities from HySDS commons instead of the requests library. * open the tar file as binary * fixed an issue where the first set of results don't get added to the script * fixed issue where the first set of results aren't getting captured. * read as binary * properly get the count * clear out scroll_ids after use Co-authored-by: Mike Cayanan <[email protected]>
- Loading branch information
Showing
2 changed files
with
62 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters