You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Manu Zhang (JIRA)" <ji...@apache.org> on 2018/09/16 13:25:00 UTC
[jira] [Comment Edited] (ARROW-2919) [C++] Improve error message
when listing empty HDFS file
[ https://issues.apache.org/jira/browse/ARROW-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616644#comment-16616644 ]
Manu Zhang edited comment on ARROW-2919 at 9/16/18 1:24 PM:
------------------------------------------------------------
I'd love to work on this. Some questions here.
1. Shall we check for file exists before list ?
2. What to do with other errors ?
was (Author: mauzhang):
I'd love to work on this
> [C++] Improve error message when listing empty HDFS file
> --------------------------------------------------------
>
> Key: ARROW-2919
> URL: https://issues.apache.org/jira/browse/ARROW-2919
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Affects Versions: 0.9.0
> Reporter: Manu Zhang
> Priority: Minor
> Labels: hdfs
> Fix For: 0.12.0
>
>
> Currently, listing empty HDFS file returns "list directory failed" which doesn't help much for users. An improvement would be like "list $file_path failed: No such or file directory", the error message that HDFS command "hadoop fs -ls" returns on empty file.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)