MAPREDUCE-3840 JobEndNotifier doesn't use the proxyToUse during connecting (Ravi Prakash via bobby)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1241999 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e5060d3bbb
commit
b2d49acd08
|
@ -98,6 +98,8 @@ Release 0.23.2 - UNRELEASED
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
MAPREDUCE-3840. JobEndNotifier doesn't use the proxyToUse during connecting
|
||||||
|
(Ravi Prakash via bobby)
|
||||||
|
|
||||||
Release 0.23.1 - 2012-02-08
|
Release 0.23.1 - 2012-02-08
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,8 @@ public class JobEndNotifier implements Configurable {
|
||||||
boolean success = false;
|
boolean success = false;
|
||||||
try {
|
try {
|
||||||
Log.info("Job end notification trying " + urlToNotify);
|
Log.info("Job end notification trying " + urlToNotify);
|
||||||
HttpURLConnection conn = (HttpURLConnection) urlToNotify.openConnection();
|
HttpURLConnection conn =
|
||||||
|
(HttpURLConnection) urlToNotify.openConnection(proxyToUse);
|
||||||
conn.setConnectTimeout(5*1000);
|
conn.setConnectTimeout(5*1000);
|
||||||
conn.setReadTimeout(5*1000);
|
conn.setReadTimeout(5*1000);
|
||||||
conn.setAllowUserInteraction(false);
|
conn.setAllowUserInteraction(false);
|
||||||
|
|
Loading…
Reference in New Issue