Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI apache#4657] Building rest client to kyuubi instance includin…
…g original host urls ### _Why are the changes needed?_ Usually, the host url to create a batch is the load balancer uri. To reduce the internal rest redirection when fetching log, we support to call the kyuubi instance that created the batch directly. It is better to add original host urls when building the rest client to kyuubi instance, in case that there is firewall to the kyuubi instance directly. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes apache#4657 from turboFei/direct_connect. Closes apache#4657 084fdfb [fwang12] host urls 689ff8f [fwang12] rest client Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: fwang12 <fwang12@ebay.com>
- Loading branch information