You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Samuel Guo (JIRA)" <ji...@apache.org> on 2009/02/18 03:02:59 UTC
[jira] Commented: (HAMA-128) When job failed, output should be
deleted.
[ https://issues.apache.org/jira/browse/HAMA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674428#action_12674428 ]
Samuel Guo commented on HAMA-128:
---------------------------------
When job failed, the result matrix will be closed and a non-aliased matrix will be removed during closing.
so we don't need this jira. I will close it.
the code in JobManager as below has done this function.
public static void execute(JobConf jobConf, Matrix result) throws IOException {
try {
JobClient.runJob(jobConf);
// TODO : Thinking about more efficient method.
int rows = result.getColumn(0).size();
int columns = result.getRow(0).size();
result.setDimension(rows, columns);
} catch (IOException e) {
result.close(); // <----------------here, the output will be deleted.
throw new IOException(e);
}
}
> When job failed, output should be deleted.
> ------------------------------------------
>
> Key: HAMA-128
> URL: https://issues.apache.org/jira/browse/HAMA-128
> Project: Hama
> Issue Type: Improvement
> Components: implementation
> Affects Versions: 0.1.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Priority: Trivial
> Fix For: 0.1.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.