hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-531) Data re-partitioning in BSPJobClient
Date Wed, 23 May 2012 09:49:41 GMT

    [ https://issues.apache.org/jira/browse/HAMA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281486#comment-13281486
] 

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

It seems there's a bug in partitioning.

{code}
edward@slave:~/workspace/hama-trunk$ bin/hama jar examples/target/hama-examples-0.5.0-incubating-SNAPSHOT.jar
sssp 3 /user/edward/data/part-r-00000 output 3
12/05/23 18:46:33 DEBUG bsp.BSPJobClient: BSPJobClient.submitJobDir: hdfs://slave.udanax.org:9001/tmp/hadoop-edward/bsp/system/submit_mue8lf
12/05/23 18:46:33 DEBUG bsp.BSPJobClient: Creating splits at hdfs://slave.udanax.org:9001/tmp/hadoop-edward/bsp/system/submit_mue8lf/job.split
12/05/23 18:46:33 INFO bsp.FileInputFormat: Total input paths to process : 1
12/05/23 18:46:33 DEBUG bsp.FileInputFormat: computeSplitSize: 70724 (70724, 2000, 67108864)
12/05/23 18:46:33 INFO bsp.FileInputFormat: Total # of splits: 3
12/05/23 18:46:33 INFO bsp.BSPJobClient: Running job: job_201205231839_0009
12/05/23 18:46:36 INFO bsp.BSPJobClient: Current supersteps number: 0
12/05/23 18:46:39 INFO bsp.BSPJobClient: Current supersteps number: 12
12/05/23 18:46:39 INFO bsp.BSPJobClient: The total number of supersteps: 12
12/05/23 18:46:39 DEBUG bsp.Counters: Adding SUPERSTEPS
12/05/23 18:46:39 INFO bsp.BSPJobClient: Counters: 10
12/05/23 18:46:39 INFO bsp.BSPJobClient:   org.apache.hama.bsp.JobInProgress$JobCounter
12/05/23 18:46:39 INFO bsp.BSPJobClient:     LAUNCHED_TASKS=3
12/05/23 18:46:39 INFO bsp.BSPJobClient:   org.apache.hama.bsp.BSPPeerImpl$PeerCounter
12/05/23 18:46:39 INFO bsp.BSPJobClient:     SUPERSTEPS=12
12/05/23 18:46:39 INFO bsp.BSPJobClient:     COMPRESSED_BYTES_SENT=27902
12/05/23 18:46:39 INFO bsp.BSPJobClient:     SUPERSTEP_SUM=36
12/05/23 18:46:39 INFO bsp.BSPJobClient:     TIME_IN_SYNC_MS=4369
12/05/23 18:46:39 INFO bsp.BSPJobClient:     IO_BYTES_READ=212069
12/05/23 18:46:39 INFO bsp.BSPJobClient:     COMPRESSED_BYTES_RECEIVED=27902
12/05/23 18:46:39 INFO bsp.BSPJobClient:     TOTAL_MESSAGES_SENT=4374
12/05/23 18:46:39 INFO bsp.BSPJobClient:     TASK_INPUT_RECORDS=100
12/05/23 18:46:39 INFO bsp.BSPJobClient:     TOTAL_MESSAGES_RECEIVED=2187
Job Finished in 6.517 seconds
edward@slave:~/workspace/hama-trunk$ bin/hama jar examples/target/hama-examples-0.5.0-incubating-SNAPSHOT.jar
sssp 3 /user/edward/data/part-r-00000 output 4
12/05/23 18:46:44 DEBUG bsp.BSPJobClient: BSPJobClient.submitJobDir: hdfs://slave.udanax.org:9001/tmp/hadoop-edward/bsp/system/submit_a44pqb
12/05/23 18:46:44 DEBUG bsp.BSPJobClient: Creating splits at hdfs://slave.udanax.org:9001/tmp/hadoop-edward/bsp/system/submit_a44pqb/job.split
12/05/23 18:46:44 INFO bsp.FileInputFormat: Total input paths to process : 1
12/05/23 18:46:44 DEBUG bsp.FileInputFormat: computeSplitSize: 53043 (53043, 2000, 67108864)
12/05/23 18:46:44 INFO bsp.FileInputFormat: Total # of splits: 4
12/05/23 18:46:44 INFO bsp.BSPJobClient: Running job: job_201205231839_0010
12/05/23 18:46:47 INFO bsp.BSPJobClient: Current supersteps number: 0
12/05/23 18:46:56 INFO bsp.BSPJobClient: Job failed.
{code}
                
> Data re-partitioning in BSPJobClient
> ------------------------------------
>
>                 Key: HAMA-531
>                 URL: https://issues.apache.org/jira/browse/HAMA-531
>             Project: Hama
>          Issue Type: Improvement
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>         Attachments: HAMA-531_1.patch, HAMA-531_2.patch, HAMA-531_final.patch
>
>
> The re-partitioning the data is a very expensive operation. By the way, currently, we
processes read/write operations sequentially using HDFS api in BSPJobClient from client-side.
This causes potential too many open files error, contains HDFS overheads, and shows slow performance.
> We have to find another way to re-partitioning data.

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

        

Mime
View raw message