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

Tham commented on ARROW-5700:
-----------------------------

{quote}Does it happen with any output file?
{quote}
I'm not sure. We receive this crash from customer. After this issue makes our 
application crashed, every time our application is started again, it fails 
immediately with another message (on same file):
{code:java}
Failed to open local file: <path_to_parquet_file>, error: File exists{code}
So we don't know if it fails with another files.

I will try to install some Windows version (or at least this Windows version) 
on our office and try to debug as you suggested.

{quote}(you could also try to upgrade to a more recent version, as I think the 
code changed slightly){quote}
I will try with current version first, then upgrade later to see if this issue 
remains.

> [C++] Failed to open local file: Bad file descriptor
> ----------------------------------------------------
>
>                 Key: ARROW-5700
>                 URL: https://issues.apache.org/jira/browse/ARROW-5700
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>         Environment: Windows version 10.0.10586.1106 (th2_release.170904-1742)
>            Reporter: Tham
>            Priority: Major
>
> I open an output stream to write a parquet file. Here is the code:
> {code:java}
> std::shared_ptr<arrow::io::OutputStream> outStream;
> arrow::Status err;
> err = arrow::io::FileOutputStream::Open(filePath.toStdString(), false, 
> &outStream);
> if (err.code() != arrow::StatusCode::OK) {
>     std::cout << err.message() << std::endl;
> }
> {code}
> Here is the error message I got:
> {code:java}
> Failed to open local file: <path_to_parquet_file> , error: Bad file 
> descriptor"
> {code}
> I've got this error only when running on Windows versionĀ 10.0.10586.1106 
> (th2_release.170904-1742).
> Any idea?



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

Reply via email to