hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gunt...@apache.org
Subject svn commit: r1667089 - in /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec: spark/status/SparkJobMonitor.java tez/TezJobMonitor.java
Date Mon, 16 Mar 2015 17:56:57 GMT
Author: gunther
Date: Mon Mar 16 17:56:57 2015
New Revision: 1667089

URL: http://svn.apache.org/r1667089
Log:
HIVE-9949: remove not used parameters from String.format (Alexander Pivovarov via Gunther
Hagleitner)

Modified:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/SparkJobMonitor.java
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezJobMonitor.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/SparkJobMonitor.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/SparkJobMonitor.java?rev=1667089&r1=1667088&r2=1667089&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/SparkJobMonitor.java
(original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/SparkJobMonitor.java
Mon Mar 16 17:56:57 2015
@@ -21,7 +21,6 @@ package org.apache.hadoop.hive.ql.exec.s
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hive.conf.HiveConf;
-import org.apache.hadoop.hive.ql.exec.spark.status.impl.LocalSparkJobStatus;
 import org.apache.hadoop.hive.ql.log.PerfLogger;
 import org.apache.hadoop.hive.ql.session.SessionState;
 
@@ -77,7 +76,7 @@ abstract class SparkJobMonitor {
       final int failed = progress.getFailedTaskCount();
       String stageName = "Stage-" + s;
       if (total <= 0) {
-        reportBuffer.append(String.format("%s: -/-\t", stageName, complete, total));
+        reportBuffer.append(String.format("%s: -/-\t", stageName));
       } else {
         if (complete == total && !completed.contains(s)) {
           completed.add(s);

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezJobMonitor.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezJobMonitor.java?rev=1667089&r1=1667088&r2=1667089&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezJobMonitor.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezJobMonitor.java Mon Mar 16
17:56:57 2015
@@ -785,7 +785,7 @@ public class TezJobMonitor {
       final int running = progress.getRunningTaskCount();
       final int failed = progress.getFailedTaskAttemptCount();
       if (total <= 0) {
-        reportBuffer.append(String.format("%s: -/-\t", s, complete, total));
+        reportBuffer.append(String.format("%s: -/-\t", s));
       } else {
         if (complete == total && !completed.contains(s)) {
           completed.add(s);



Mime
View raw message