[
https://issues.apache.org/jira/browse/TAJO-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011948#comment-14011948
]
ASF GitHub Bot commented on TAJO-846:
-------------------------------------
Github user jinossy commented on a diff in the pull request:
https://github.com/apache/tajo/pull/20#discussion_r13165437
--- Diff:
tajo-core/src/main/java/org/apache/tajo/worker/ExecutionBlockHistory.java ---
@@ -0,0 +1,147 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.tajo.worker;
+
+import com.google.common.base.Objects;
+import com.google.common.collect.Maps;
+import org.apache.hadoop.service.Service;
+import org.apache.hadoop.yarn.api.records.ContainerId;
+import org.apache.hadoop.yarn.util.ConverterUtils;
+import org.apache.tajo.ExecutionBlockId;
+import org.apache.tajo.QueryUnitAttemptId;
+import org.apache.tajo.common.ProtoObject;
+
+import java.util.Collections;
+import java.util.Map;
+
+import static
org.apache.tajo.ipc.TajoWorkerProtocol.ExecutionBlockHistoryProto;
+import static org.apache.tajo.ipc.TajoWorkerProtocol.TaskHistoryProto;
+
+/**
+ * The history class for ExecutionBlock processing.
+ */
+public class ExecutionBlockHistory implements
ProtoObject<ExecutionBlockHistoryProto> {
--- End diff --
I'll change name to TaskRunnerHistory
> Clean up the task history in woker
> ----------------------------------
>
> Key: TAJO-846
> URL: https://issues.apache.org/jira/browse/TAJO-846
> Project: Tajo
> Issue Type: Improvement
> Components: worker
> Affects Versions: 0.8.0, 0.9.0
> Reporter: Jinho Kim
> Assignee: Jinho Kim
>
> The task history currently store the thread in memory. it can’t store to
> other storage(hdfs, local file ..). It would be nice if task history separate
> from taskrunner
--
This message was sent by Atlassian JIRA
(v6.2#6252)