You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2008/12/09 08:15:44 UTC

[jira] Created: (HAMA-128) When job failed, output should be deleted.

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.


[jira] Commented: (HAMA-128) When job failed, output should be deleted.

Posted by "Samuel Guo (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (HAMA-128) When job failed, output should be deleted.

Posted by "Samuel Guo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samuel Guo resolved HAMA-128.
-----------------------------

    Resolution: Fixed

I just close it.

> 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.


[jira] Commented: (HAMA-128) When job failed, output should be deleted.

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674430#action_12674430 ] 

Edward J. Yoon commented on HAMA-128:
-------------------------------------

I agree with you. +1

> 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.