You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Thomas Jungblut (Created) (JIRA)" <ji...@apache.org> on 2012/01/27 17:22:10 UTC

[jira] [Created] (HAMA-493) Provide text to seq-file utils for graph examples

Provide text to seq-file utils for graph examples
-------------------------------------------------

                 Key: HAMA-493
                 URL: https://issues.apache.org/jira/browse/HAMA-493
             Project: Hama
          Issue Type: New Feature
    Affects Versions: 0.3.0
            Reporter: Thomas Jungblut
             Fix For: 0.4.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Updated] (HAMA-493) Provide text to seq-file utils for graph examples

Posted by "Edward J. Yoon" <ed...@apache.org>.
And, job hangs when zookeeper.clientPort setting is not correct (SyncException).

killing job/task seems not stable.

On Sat, Jan 28, 2012 at 2:26 AM, Thomas Jungblut (Updated) (JIRA)
<ji...@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/HAMA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Thomas Jungblut updated HAMA-493:
> ---------------------------------
>
>    Attachment: HAMA-493.patch
>
>
> Here is the example usage:
>
> {noformat}
> ~$ /usr/local/hama/bin/hama jar /usr/local/hama/hama-examples-0.4.0-incubating-SNAPSHOT.jar pagerank-text2seq /tmp/test_seq/in.txt hdfs://localhost:9000/tmp/test_seq/out.seq
> 12/01/27 17:33:55 INFO util.TextToSequenceFile: Processing file : file:/tmp/test_seq/in.txt
> 12/01/27 17:33:55 INFO util.TextToSequenceFile: Written 246 to hdfs://localhost:9000/tmp/test_seq/out.seq/in.txt.seq
> {noformat}
>
> Then you can run pagerank on it:
>
> {noformat}
> ~$ /usr/local/hama/bin/hama jar /usr/local/hama/hama-examples-0.4.0-incubating-SNAPSHOT.jar pagerank /tmp/test_seq/out.seq/ /tmp/test_seq/out/
> {noformat}
>
> Similar it is working with SSSP.
> In both, you can customize a separator string that is delimiting the records.
> Play arround a bit with it. It also allows people to use regex'es in their paths and is able to transform multiple text files into sequencefiles.
>
> BTW, we should delete the partition in the input directory once it has run, otherwise the user gets "Not a file" errors when rerunning the job.
> Didn't we have a cleanup issue for that?
> I added a remove part to the partition-dir in the FileInputFormat. Please review this, and say if you feel okay with this solution.
>
> And just another thing, once a task has thrown an exception, we should kill the whole job. It is just hanging to infinity because the task doesn't report back to the groom?
>
> However I should add testcases for it this patch. And document the public methods.
>
>> Provide text to seq-file utils for graph examples
>> -------------------------------------------------
>>
>>                 Key: HAMA-493
>>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>>             Project: Hama
>>          Issue Type: New Feature
>>    Affects Versions: 0.3.0
>>            Reporter: Thomas Jungblut
>>            Assignee: Thomas Jungblut
>>             Fix For: 0.4.0
>>
>>         Attachments: HAMA-493.patch
>>
>>
>
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>



-- 
Best Regards, Edward J. Yoon
@eddieyoon

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

Posted by "Thomas Jungblut (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196734#comment-13196734 ] 

Thomas Jungblut commented on HAMA-493:
--------------------------------------

bq.I'll directly fix this problem naively, but we have to add FT logic later.

Yes. This really should be our main focus in 0.5.0.


bq.However I should add testcases for it this patch. And document the public methods.
I'm going to do this today, so we can cut the release right away.

                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

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

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

Patch looks good +1.
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HAMA-493) Provide text to seq-file utils for graph examples

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

Thomas Jungblut resolved HAMA-493.
----------------------------------

    Resolution: Fixed
    
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

Posted by "Thomas Jungblut (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196807#comment-13196807 ] 

Thomas Jungblut commented on HAMA-493:
--------------------------------------

Sounds reasonable. 
I have just committed this. Thanks for the review.
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HAMA-493) Provide text to seq-file utils for graph examples

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

Thomas Jungblut updated HAMA-493:
---------------------------------

    Attachment: HAMA-493_1.patch

Added testcases.

{noformat}
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Hama parent POM ............................ SUCCESS [1.776s]
[INFO] core .............................................. SUCCESS [1:01.439s]
[INFO] graph ............................................. SUCCESS [1.808s]
[INFO] examples .......................................... SUCCESS [42.551s]
[INFO] yarn .............................................. SUCCESS [49.310s]
[INFO] distribution ...................................... SUCCESS [1:28.612s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:06.306s

{noformat}

Just a short question:
Shouldn't we add a "dist" target? It seems a bit overhead in "install" target when building the whole packages.
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

Posted by "Thomas Jungblut (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196797#comment-13196797 ] 

Thomas Jungblut commented on HAMA-493:
--------------------------------------

BTW, should we add the teragen's for the examples?
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HAMA-493) Provide text to seq-file utils for graph examples

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

Thomas Jungblut reassigned HAMA-493:
------------------------------------

    Assignee: Thomas Jungblut
    
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

Posted by "Thomas Jungblut (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196794#comment-13196794 ] 

Thomas Jungblut commented on HAMA-493:
--------------------------------------

Would you mind to commit this? I am currently not on my linux box. Thanks
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

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

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

You can build specific projects w/ following command:

{code}
% mvn --projects core,examples install
{code}
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

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

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

>> I'm going to do this today, so we can cut the release right away.

Great!
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

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

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

In my opinion, .. if we add symmetric/asymmetric matrix random writer, it can be used to both graph and matrix examples in the future. it'd be nice if we can implement it using BSP.
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197377#comment-13197377 ] 

Hudson commented on HAMA-493:
-----------------------------

Integrated in Hama-Nightly #442 (See [https://builds.apache.org/job/Hama-Nightly/442/])
    [HAMA-493] Provide text to seq-file utils for graph examples

tjungblut : 
Files : 
* /incubator/hama/trunk/CHANGES.txt
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/FileInputFormat.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java
* /incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/ExampleDriver.java
* /incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/util
* /incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/util/PagerankTextToSeq.java
* /incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/util/SSSPTextToSeq.java
* /incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/util/TextToSequenceFile.java
* /incubator/hama/trunk/examples/src/test/java/org/apache/hama/examples/PageRankTest.java
* /incubator/hama/trunk/examples/src/test/java/org/apache/hama/examples/ShortestPathsTest.java
* /incubator/hama/trunk/examples/src/test/java/org/apache/hama/examples/util
* /incubator/hama/trunk/examples/src/test/java/org/apache/hama/examples/util/PagerankTextToSeqTest.java
* /incubator/hama/trunk/examples/src/test/java/org/apache/hama/examples/util/SSSPTextToSeqTest.java

                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch, HAMA-493_1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

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

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

Test passed on my cluster. Now job will be killed when some task failed.

{code}
2012-01-31 11:06:32,775 INFO org.apache.hama.bsp.GroomServer: Kill 1 tasks.
2012-01-31 11:06:32,776 DEBUG org.apache.hama.bsp.GroomServer: Got Response from BSPMaster with 1 actions
2012-01-31 11:06:32,776 INFO org.apache.hama.bsp.GroomServer: Kill 1 tasks.
2012-01-31 11:06:33,291 DEBUG org.apache.hama.bsp.TaskRunner: Finishes executing BSPPeer child process.
2012-01-31 11:06:33,311 DEBUG org.apache.hama.bsp.TaskRunner: Finishes executing BSPPeer child process.
2012-01-31 11:06:33,327 DEBUG org.apache.hama.bsp.TaskRunner: Finishes executing BSPPeer child process.
2012-01-31 11:06:33,330 DEBUG org.apache.hama.bsp.TaskRunner: Finishes executing BSPPeer child process.
{code}
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HAMA-493) Provide text to seq-file utils for graph examples

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

Thomas Jungblut updated HAMA-493:
---------------------------------

    Attachment: HAMA-493.patch


Here is the example usage: 

{noformat}
~$ /usr/local/hama/bin/hama jar /usr/local/hama/hama-examples-0.4.0-incubating-SNAPSHOT.jar pagerank-text2seq /tmp/test_seq/in.txt hdfs://localhost:9000/tmp/test_seq/out.seq
12/01/27 17:33:55 INFO util.TextToSequenceFile: Processing file : file:/tmp/test_seq/in.txt
12/01/27 17:33:55 INFO util.TextToSequenceFile: Written 246 to hdfs://localhost:9000/tmp/test_seq/out.seq/in.txt.seq
{noformat}

Then you can run pagerank on it:

{noformat}
~$ /usr/local/hama/bin/hama jar /usr/local/hama/hama-examples-0.4.0-incubating-SNAPSHOT.jar pagerank /tmp/test_seq/out.seq/ /tmp/test_seq/out/
{noformat}

Similar it is working with SSSP.
In both, you can customize a separator string that is delimiting the records.
Play arround a bit with it. It also allows people to use regex'es in their paths and is able to transform multiple text files into sequencefiles.

BTW, we should delete the partition in the input directory once it has run, otherwise the user gets "Not a file" errors when rerunning the job.
Didn't we have a cleanup issue for that?
I added a remove part to the partition-dir in the FileInputFormat. Please review this, and say if you feel okay with this solution.

And just another thing, once a task has thrown an exception, we should kill the whole job. It is just hanging to infinity because the task doesn't report back to the groom?

However I should add testcases for it this patch. And document the public methods.
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-493) Provide text to seq-file utils for graph examples

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

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

Maybe we can call kill() to kill the job in JobInProgress.failedTask(). and "if (!taskInProgress.isFailed()) {" seems wrong condition to check the job fails.

I'll directly fix this problem naively, but we have to add FT logic later.
                
> Provide text to seq-file utils for graph examples
> -------------------------------------------------
>
>                 Key: HAMA-493
>                 URL: https://issues.apache.org/jira/browse/HAMA-493
>             Project: Hama
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>             Fix For: 0.4.0
>
>         Attachments: HAMA-493.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira