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

Minoru Osuka commented on CONNECTORS-728:
-----------------------------------------

Hi Karl,

Thank you for your advice. I changed that code.

HDFSSession.java
{code}
  public FileStatus getObject(String id) throws IOException {
    try {
      return fileSystem.getFileStatus(new Path(id));
    } catch(FileNotFoundException e) {
      return null;
    }
  }
{code}

HDFSRepositoryConnector.java
{code}
      FileStatus fileStatus = objt.getResponse();
      if (fileStatus != null) {
        :
        :
{code}

How about it?
                
> Add HDFS connector.
> -------------------
>
>                 Key: CONNECTORS-728
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-728
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: HDFS connector
>    Affects Versions: ManifoldCF 1.2
>            Reporter: Minoru Osuka
>            Assignee: Minoru Osuka
>            Priority: Minor
>             Fix For: ManifoldCF 1.3
>
>
> I would like to suggest you the HDFS Connector.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to