hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From heyongqi...@apache.org
Subject svn commit: r1080311 - /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java
Date Thu, 10 Mar 2011 18:40:59 GMT
Author: heyongqiang
Date: Thu Mar 10 18:40:59 2011
New Revision: 1080311

URL: http://svn.apache.org/viewvc?rev=1080311&view=rev
Log:
HIVE-2024 In Driver.execute(), mapred.job.tracker is not restored if one of the task fails.
(Siying via He Yongqiang)

Modified:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java?rev=1080311&r1=1080310&r2=1080311&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java Thu Mar 10 18:40:59 2011
@@ -969,6 +969,9 @@ public class Driver implements CommandPr
             if (running.size() != 0) {
               taskCleanup();
             }
+            // in case we decided to run everything in local mode, restore the
+            // the jobtracker setting to its initial value
+            ctx.restoreOriginalTracker();
             return 9;
           }
         }



Mime
View raw message