giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Presta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-393) Number of input split threads should always be >= 1
Date Wed, 31 Oct 2012 01:59:12 GMT

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

Alessandro Presta commented on GIRAPH-393:
------------------------------------------

+1, btw
                
> Number of input split threads should always be >= 1
> ---------------------------------------------------
>
>                 Key: GIRAPH-393
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-393
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Alessandro Presta
>            Assignee: Alessandro Presta
>         Attachments: GIRAPH-393.patch
>
>
> When the number of input splits is less than the number of workers, integer division
in the following snippet means we end up with 0:
> {code}
> int maxInputSplitThreads =
>         inputSplitPathList.size() / getConfiguration().getMaxWorkers();
>     int numThreads =
>         Math.min(getConfiguration().getNumInputSplitsThreads(),
>             maxInputSplitThreads);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message