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

Jaeho Shin updated GIRAPH-904:
------------------------------

    Attachment: GIRAPH-904.getHostname-fix.patch
                GIRAPH-904.BspServiceMaster-fix.patch

Here are two possible fixes.  We can fix just BspServiceMaster to ignore case 
of hostname to avoid the infinite loop, or we can fix two classes: 
GiraphConfiguration and TaskInfo to always give lower case hostnames.  Applying 
both fix could also be a good idea as it'll prevent similar bugs in other 
places.

> Giraph can hang when hostnames include uppercase letters
> --------------------------------------------------------
>
>                 Key: GIRAPH-904
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-904
>             Project: Giraph
>          Issue Type: Bug
>          Components: bsp, conf and scripts, zookeeper
>    Affects Versions: 1.1.0
>            Reporter: Jaeho Shin
>             Fix For: 1.1.0
>
>         Attachments: GIRAPH-904.BspServiceMaster-fix.patch, 
> GIRAPH-904.getHostname-fix.patch, GIRAPH-904.patch
>
>
> We found that Giraph jobs were consistently hanging if uppercase letters were 
> included in the DNS (or /etc/hosts) resolved hostnames ({{foo.stanford.edu}} 
> vs. {{foo.Stanford.EDU}} from our DNS).  Normalizing the hostnames to lower 
> case from {{GiraphConfiguration#getLocalHostname()}} fixed our problem.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to