hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11612) Workaround for Curator's ChildReaper requiring Guava 15+
Date Thu, 19 Feb 2015 00:57:13 GMT

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

Robert Kanter updated HADOOP-11612:
    Attachment: HADOOP-11612.001.patch

99% of the code is a direct copy from Curator.  I made some minor adjustments to make it work
here; there are comments explaining these changes.

> Workaround for Curator's ChildReaper requiring Guava 15+
> --------------------------------------------------------
>                 Key: HADOOP-11612
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11612
>             Project: Hadoop Common
>          Issue Type: Task
>    Affects Versions: 2.8.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: HADOOP-11612.001.patch
> HADOOP-11492 upped the Curator version to 2.7.1, which makes the {{ChildReaper}} class
use a method that only exists in newer versions of Guava (we have 11.0.2, and it needs 15+).
 As a workaround, we can copy the {{ChildReaper}} class into hadoop-common and make a minor
modification to allow it to work with Guava 11.
> The {{ChildReaper}} is used by Curator to cleanup old lock znodes.  Curator locks are
needed by YARN-2942.

This message was sent by Atlassian JIRA

View raw message