GitHub user ey1984 reopened a pull request: https://github.com/apache/hive/pull/338
Get proxy system Hello, I'm using your hive-jdbc (1.2.1) as dependency for 2 applications deployed into 2 docker containers (Java Code and Python Code). For both containers, it runs behind a proxy system when I deploy on qualification and production environment. For java, (-Dhttp.proxyHost=MyProxyHost -Dhttp.proxyPort=MyProxyPort) For python, I set HTTP_PROXY=http://myproxyhost:myproxyport And after deployed, and launched, a timeout occurs when I want to hit the hive server. I call hive by url jdbc://hive.... So after debugging your source code, I added some code (PR as requested) in order to get the proxy system (env from os or jvm configuration) and It works fine for both containers. Is this correction acceptable or is there any other solution to hit Hive Server by using proxy ? Python : I use jaydepbeapi and Java : Only DriverManager.getConnection("jdbc://hive2....) Thanks a lot You can merge this pull request into a Git repository by running: $ git pull https://github.com/ey1984/hive HIVE-Proxy-System Alternatively you can review and apply these changes as the patch at: https://github.com/apache/hive/pull/338.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #338 ---- commit 2900b5c687f7a2e11bf1b56ddc17aa271e557ff2 Author: ey1984 <ekrem.yilmaz.pro@...> Date: 2018-04-30T21:31:39Z Get proxy system ---- ---