You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2020/07/02 17:53:00 UTC

[jira] [Comment Edited] (ARROW-8588) [Python] `driver` param removed from `hdfs.connect()`

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

Krisztian Szucs edited comment on ARROW-8588 at 7/2/20, 5:52 PM:
-----------------------------------------------------------------

Well, we already released that, so we'd need to revert parts of that PR to restore the previous functionality. I'd rather prefer removing the `driver='libhdfs'` from {{pyarrow.HadoopFileSystem}} as well. 

Additionally we should deprecate the old filesystem classes implemented in `filesystem.py` in favor of the new C++ implementation (which doesn't support libhdfs3 driver).

cc [~apitrou]


was (Author: kszucs):
Well, we already released that, so we'd need to revert parts of that PR to restore the previous functionality. I'd rather prefer removing the `driver='libhdfs'` from {{pyarrow.HadoopFileSystem}} as well. 

Additionally we should deprecate the old filesystem classes implemented in `filesystem.py` in favor of the new C++ implementation.

cc [~apitrou]

> [Python] `driver` param removed from `hdfs.connect()`
> -----------------------------------------------------
>
>                 Key: ARROW-8588
>                 URL: https://issues.apache.org/jira/browse/ARROW-8588
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.17.0
>            Reporter: Jack Fan
>            Assignee: Krisztian Szucs
>            Priority: Major
>             Fix For: 1.0.0
>
>
> Hi,
> It appears in ARROW-7863 the `driver` param was removed from `hdfs.connect()` function. However, if I understand it correctly, ARROW-7863 should only remove `libhdfs3` related tests, not disabling it entirely.
> If I instantiate `pyarrow.HadoopFileSystem` class directly, it is still able to take in the `driver` param.
> Can the arrow project check whether this change in API is intended?
> Also, even if it is intended, this is a breaking change and deserves some documentation around it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)