giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaeho Shin (JIRA)" <>
Subject [jira] [Updated] (GIRAPH-904) Giraph can hang when hostnames include uppercase letters
Date Fri, 30 May 2014 21:54:02 GMT


Jaeho Shin updated GIRAPH-904:

    Attachment: GIRAPH-904.getHostname-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:
>             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,
> We found that Giraph jobs were consistently hanging if uppercase letters were included
in the DNS (or /etc/hosts) resolved hostnames ({{}} 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

View raw message