Repository navigation
ISSUE-960: - #988
ISSUE-960: #988
Conversation
|
Hi @vijaypm, thanks for tackling this. Regarding the Wdyt? This way you can directly use python requests and check for a 200. |
|
@pmbrull good point. I think we need two separate mechanisms - using 'requests' to test whether the metadata service http port is responsive or not, and 'socket' to test whether the hive2 port is open or not. |
…t for non-http ports
|
Btw, I looked into doing a GET on the healthcheck api instead of just the service endpoint. The challenge with using the healthcheck is that the healthcheck fails even if ingestion is working perfectly fine. Since these integration tests are exercising the ingestion api, I assume they are sufficient for now. |
Yep thats a good point. Yesterday I noticed some issues with the healthcheck although the REST was working correctly. Maybe @harshach can give us a hint here on might be wrong. If needed I can open an issue, but would be interesting to have a small troubleshooting guide on what to check if the API reports to be unhealthy. Thanks @harshach for fixing #1007. @vijaypm we should be good to have the healthcheck now! Thanks! |
|
Thanks for handling this @vijaypm . Looks Great! |
Describe your changes :
Fixed Integration test for Hive and updated documented with list of pip packages. This PR closes #960
Type of change :
Checklist:
Reviewers
Ingestion: @harshach @ayush-shah @pmbrull