hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JongYoon Lim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HAMA-965) Infinite loop because of recursive function call.
Date Thu, 23 Jul 2015 01:37:04 GMT

     [ https://issues.apache.org/jira/browse/HAMA-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

JongYoon Lim updated HAMA-965:
------------------------------
    Status: Patch Available  (was: Open)

Fixed the local variable to the static member and make the variable be checked before calling
*startServer()* itself. 

> Infinite loop because of recursive function call. 
> --------------------------------------------------
>
>                 Key: HAMA-965
>                 URL: https://issues.apache.org/jira/browse/HAMA-965
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp core
>    Affects Versions: 0.7.0
>            Reporter: JongYoon Lim
>            Priority: Trivial
>
> *startServer()* of *HamaAsyncMessageManagementImpl* has a local variable to retry *startServer()*
recursively. This results in the infinite loop because the variable is initiated to *0* in
every function call. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message