Repository: incubator-tajo
Updated Branches:
refs/heads/branch-0.8.0 85425cfc2 -> 8853acdd3
TAJO-693: StatusUpdateTransition in QueryUnitAttempt handles TA_UPDATE incorrectly. (hyunsik)
Project: http://git-wip-us.apache.org/repos/asf/incubator-tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tajo/commit/8853acdd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tajo/tree/8853acdd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tajo/diff/8853acdd
Branch: refs/heads/branch-0.8.0
Commit: 8853acdd3e3f36bb1e070cb9e07851367c841993
Parents: 85425cf
Author: Hyunsik Choi <hyunsik@apache.org>
Authored: Thu Mar 20 18:49:22 2014 +0900
Committer: Hyunsik Choi <hyunsik@apache.org>
Committed: Thu Mar 20 18:52:18 2014 +0900
----------------------------------------------------------------------
CHANGES.txt | 9 +++++++--
.../apache/tajo/master/querymaster/QueryUnitAttempt.java | 8 +-------
2 files changed, 8 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/8853acdd/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 298b359..3f70eb4 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -276,12 +276,16 @@ Release 0.8.0 - unreleased
BUG FIXES
+ TAJO-693: StatusUpdateTransition in QueryUnitAttempt handles TA_UPDATE
+ incorrectly. (hyunsik)
+
TAJO-687: TajoMaster should pass tajoConf to create catalogServer.
(DaeMyung Kang via jihoon)
TAJO-690: infinite loop occurs when rack task is assigning. (jinho)
- TAJO-689: NoSuchElementException occurs during assigning the leaf tasks. (jinho)
+ TAJO-689: NoSuchElementException occurs during assigning the leaf tasks.
+ (jinho)
TAJO-651: HcatalogStore should support (de)serialization of RCFile. (jinho)
@@ -295,7 +299,8 @@ Release 0.8.0 - unreleased
TAJO-665: sort buffer size must be dealt as long type values.
(hyoungjunkim via hyunsik)
- TAJO-427: Empty table makes IndexOutOfBoundsException at LEFT OUTER JOIN clause. (jaehwa)
+ TAJO-427: Empty table makes IndexOutOfBoundsException at LEFT OUTER JOIN
+ clause. (jaehwa)
TAJO-650: Repartitioner::scheduleHashShuffledFetches should adjust the
number of tasks. (hyunsik)
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/8853acdd/tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/querymaster/QueryUnitAttempt.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/querymaster/QueryUnitAttempt.java
b/tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/querymaster/QueryUnitAttempt.java
index 24fc6ad..555b09f 100644
--- a/tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/querymaster/QueryUnitAttempt.java
+++ b/tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/querymaster/QueryUnitAttempt.java
@@ -342,13 +342,7 @@ public class QueryUnitAttempt implements EventHandler<TaskAttemptEvent>
{
taskAttempt.inputStats = updateEvent.getStatus().getInputStats();
taskAttempt.resultStats = updateEvent.getStatus().getResultStats();
- switch (updateEvent.getStatus().getState()) {
- case TA_PENDING:
- case TA_RUNNING:
- return TaskAttemptState.TA_RUNNING;
- default:
- return taskAttempt.getState();
- }
+ return TaskAttemptState.TA_RUNNING;
}
}
|