You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/24 07:04:02 UTC

[jira] [Commented] (TWILL-237) Twill is using hdfs HAUtil api that is nont-compatible with hadoop 2.8

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

ASF GitHub Bot commented on TWILL-237:
--------------------------------------

GitHub user yufeldman opened a pull request:

    https://github.com/apache/twill/pull/55

    (TWILL-237) Twill is using hdfs HAUtil api that is nont-compatible wi…

    …th hadoop 2.8
    
    + Use Java's MethodHandle (dynamic lang support) rather than Method (reflection) in FileContextLocationUtil
    + Expose static API rather than the handle itself

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yufeldman/twill branch-TWILL-237

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/twill/pull/55.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #55
    
----
commit fe615a3af55ec9fd29640f3c03cb56de36062d96
Author: Sudheesh Katkam <su...@dremio.com>
Date:   2017-06-16T22:42:18Z

    (TWILL-237) Twill is using hdfs HAUtil api that is nont-compatible with hadoop 2.8
    
    + Use Java's MethodHandle (dynamic lang support) rather than Method (reflection) in FileContextLocationUtil
    + Expose static API rather than the handle itself

----


> Twill is using hdfs HAUtil api that is nont-compatible with hadoop 2.8
> ----------------------------------------------------------------------
>
>                 Key: TWILL-237
>                 URL: https://issues.apache.org/jira/browse/TWILL-237
>             Project: Apache Twill
>          Issue Type: Bug
>          Components: yarn
>            Reporter: Yuliya Feldman
>            Assignee: Yuliya Feldman
>
> Twill is using hdfs.HAUtil apis that are suppose to be hdfs private and subsequently signature of isLogicalURI was changed (actually name was changed) in hadoop version 2.8
> Will post a patch for now to support both old and new names, but I think eventually references to private hdfs interfaces/classes should be removed from twill



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)