You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/09 05:08:00 UTC

[jira] [Commented] (REEF-2036) IFileSystem api to check if uri is for a directory

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

ASF GitHub Bot commented on REEF-2036:
--------------------------------------

dwaijam opened a new pull request #1473: [REEF-2036] Add IFileSystem api to check if uri is a directory
URL: https://github.com/apache/reef/pull/1473
 
 
   [REEF-2036] Add IFileSystem api to check if uri is a directory
     
   Currently, there is no way to check if a location specified by a uri is a directory or not. The only way to check it is by calling fs.GetChildren and checking for an exception. There should be a more graceful way of doing this check by adding an api. This change addresses this.
     
   JIRA:
     [REEF-2036](https://issues.apache.org/jira/browse/REEF-2036)
    
   Pull request:
     This closes [1470](https://github.com/apache/reef/pull/1470)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> IFileSystem api to check if uri is for a directory
> --------------------------------------------------
>
>                 Key: REEF-2036
>                 URL: https://issues.apache.org/jira/browse/REEF-2036
>             Project: REEF
>          Issue Type: New Feature
>          Components: REEF
>            Reporter: Dwaipayan Mukhopadhyay
>            Assignee: Dwaipayan Mukhopadhyay
>            Priority: Major
>
> Currently, there is no way to check if a location specified by a uri is a directory or not. The only way to check it is by calling fs.GetChildren and checking for an exception. There should be a more graceful way of doing this check by adding an api.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)