You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Todd Farmer (Jira)" <ji...@apache.org> on 2022/07/12 14:05:02 UTC

[jira] [Assigned] (ARROW-14473) [JS][Release] Ensure can use nohup with the release script

     [ https://issues.apache.org/jira/browse/ARROW-14473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Farmer reassigned ARROW-14473:
-----------------------------------

    Assignee:     (was: Benson Muite)

This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.

> [JS][Release] Ensure can use nohup with the release script
> ----------------------------------------------------------
>
>                 Key: ARROW-14473
>                 URL: https://issues.apache.org/jira/browse/ARROW-14473
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: JavaScript
>    Affects Versions: 7.0.0
>            Reporter: Benson Muite
>            Priority: Minor
>
> Node may have problems reading and writing files when called using nohup. Directly running 
> {code:bash}
> env "TEST_DEFAULT=0" env "TEST_JS=1"  bash dev/release/verify-release-candidate.sh source 6.0.0 3
> {code}
> seems to work, but
> {code:bash}
> nohup env "TEST_DEFAULT=0" env "TEST_JS=1"  bash dev/release/verify-release-candidate.sh source 6.0.0 3 > log.out &
> {code}
> may not work [1]. Either document that one can use 
> {code:bash}
> (nohup env "TEST_DEFAULT=0" env "TEST_JS=1"  bash dev/release/verify-release-candidate.sh source 6.0.0 3 > log.out & )
> {code}
> or modify the javascript implementation so that it can run as a background process and still find files so that the error:
> {code:bash}
> yarn run v1.22.17
> $ /tmp/arrow-6.0.0.BDnN3/apache-arrow-6.0.0/js/node_modules/.bin/run-s
> clean:all lint build
> events.js:377
>         throw er; // Unhandled 'error' event
>         ^
> Error: EBADF: bad file descriptor, read
> Emitted 'error' event on ReadStream instance at:
>       at internal/fs/streams.js:173:14
>       at FSReqCallback.wrapper [as oncomplete] (fs.js:562:5) {
>     errno: -9,
>     code: 'EBADF',
>     syscall: 'read'
> }
> error Command failed with exit code 1.
> {code}
> is not obtained.
> [1] https://stackoverflow.com/questions/16604176/error-ebadf-bad-file-descriptor-when-running-node-using-nohup-of-forever



--
This message was sent by Atlassian Jira
(v8.20.10#820010)