hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1590247 - /hive/trunk/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
Date Sat, 26 Apr 2014 16:26:20 GMT
Author: hashutosh
Date: Sat Apr 26 16:26:20 2014
New Revision: 1590247

URL: http://svn.apache.org/r1590247
Log:
HIVE-6900 : HostUtil.getTaskLogUrl signature change causes compilation to fail (Jason Dere
via Ashutosh Chauhan)

Modified:
    hive/trunk/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java

Modified: hive/trunk/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
URL: http://svn.apache.org/viewvc/hive/trunk/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java?rev=1590247&r1=1590246&r2=1590247&view=diff
==============================================================================
--- hive/trunk/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java (original)
+++ hive/trunk/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java Sat
Apr 26 16:26:20 2014
@@ -104,11 +104,9 @@ public class Hadoop23Shims extends Hadoo
       LOG.warn("Can't fetch tasklog: TaskLogServlet is not supported in MR2 mode.");
       return null;
     } else {
-      // if the cluster is running in MR1 mode, using HostUtil to construct TaskLogURL
-      URL taskTrackerHttpURL = new URL(taskTrackerHttpAddress);
-      return HostUtil.getTaskLogUrl(taskTrackerHttpURL.getHost(),
-        Integer.toString(taskTrackerHttpURL.getPort()),
-        taskAttemptId);
+      // Was using Hadoop-internal API to get tasklogs, disable until  MAPREDUCE-5857 is
fixed.
+      LOG.warn("Can't fetch tasklog: TaskLogServlet is not supported in MR1 mode.");
+      return null;
     }
   }
 



Mime
View raw message