junegunn opened a new pull request, #8629: URL: https://github.com/apache/hbase/pull/8629
Jira: HBASE-30370 HBASE-26741 made eval_input re-raise every exception to set an exit code, which also ended interactive sessions. Worked around since for `NameError` (HBASE-26880) and `SyntaxError` (HBASE-27726); every other error still killed the prompt. Re-raise only when the exit code is used: a script run, or `-n`. Everything else falls through to `handle_exception`, as before HBASE-26741. A script given as an argument runs with interactive still true, so detect it by the `FileInputMethod` that `HBaseLoader.file_for_load` returns rather than by `@interactive` alone. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
