When using pinot-admin.sh CreateSegment if overwrite option is not specified but the output dir existed, it did not have any related prompt on console.
It should log error in code, but looks print nothing. When using Logger instead of AsyncLogger will be ok.
A way to fix it is adding LogManager.shutdown() in main or try-catch-finally, is it a proper way?
Thanks
When using
pinot-admin.sh CreateSegmentifoverwriteoption is not specified but the output dir existed, it did not have any related prompt on console.It should log error in code, but looks print nothing. When using
Loggerinstead ofAsyncLoggerwill be ok.A way to fix it is adding
LogManager.shutdown()in main or try-catch-finally, is it a proper way?Thanks