You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by chtyim <gi...@git.apache.org> on 2017/08/03 17:29:32 UTC

[GitHub] twill pull request #55: (TWILL-237) Twill is using hdfs HAUtil api that is n...

Github user chtyim commented on a diff in the pull request:

    https://github.com/apache/twill/pull/55#discussion_r131207866
  
    --- Diff: twill-yarn/src/main/java/org/apache/twill/filesystem/FileContextLocation.java ---
    @@ -162,7 +163,8 @@ public URI toURI() {
         // append "port" to the path URI, while the DistributedFileSystem always use the cluster logical
         // name, which doesn't allow having port in it.
         URI uri = path.toUri();
    -    if (HAUtil.isLogicalUri(locationFactory.getConfiguration(), uri)) {
    +
    +    if (FileContextLocationUtil.useLogicalUri(locationFactory.getConfiguration(), uri)) {
    --- End diff --
    
    That make sense.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---