sekikn opened a new pull request #4751: AvroSchemaToPinotSchema should return immediately if outputDir doesn't exist URL: https://github.com/apache/incubator-pinot/pull/4751 I ran `pinot-admin.sh AvroSchemaToPinotSchema` with non-existent output directory and got the following error. It should exit immediately after the error message is displayed. ``` $ bin/pinot-admin.sh AvroSchemaToPinotSchema -outputDir /tmp/foo -pinotSchemaName weather -dimensions station -metrics temp -timeColumnName time -avroDataFile ~/repos/avro/share/test/data/weather.avro ERROR: Output directory: %s does not exist or is not a directory Store Pinot schema to file: /tmp/foo/weather.json Exception caught: java.io.FileNotFoundException: /tmp/foo/weather.json (No such file or directory) (snip) ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
