presto-admin
presto-admin copied to clipboard
Refactor stop_host method to use topology
- Use requests instead of urllib because it handles connection reset errors better.
- Use
upload_topology
to mimic behavior ofstop_host
.
@rschlussel updated version that addresses your comments. I also added a commit that fixed the Connection reset
errors I was seeing while building the offline installer.
travis failures are real. It looks like you missed a few usages of stop_host
looks good % fixing the test failures.
Can you also revert the timeout increase (and make sure that this fixes the issue)?
@petroav what's the status of this?
@rschlussel I put this on pause since we were seeing all those UnixPoolConnectionError
I thought I would wait until we fixed the intermittent errors before going forward with this. I just saw the Travis has actually been very stable for presto-admin so I might rebase this.