Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
7.0.0
-
None
-
None
Description
Node may have problems reading and writing files when called using nohup. Directly running
env "TEST_DEFAULT=0" env "TEST_JS=1" bash dev/release/verify-release-candidate.sh source 6.0.0 3
seems to work, but
nohup env "TEST_DEFAULT=0" env "TEST_JS=1" bash dev/release/verify-release-candidate.sh source 6.0.0 3 > log.out &
may not work [1]. Either document that one can use
(nohup env "TEST_DEFAULT=0" env "TEST_JS=1" bash dev/release/verify-release-candidate.sh source 6.0.0 3 > log.out & )
or modify the javascript implementation so that it can run as a background process and still find files so that the error:
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.
is not obtained.