kyuubi/externals
Bowen Liang 1de59bf6ec
[KYUUBI #3635] Delete files on exit in test suites with Utils.createTempDir
### _Why are the changes needed?_

to close #3635 .
- change test suits to  to use Utils.createTempDir of kyuubi-common module to create temp dir with delete on exit to prevent disk usage leaking
- change signature Utils.createTempDir by making `prefix` param from second place to the first, to make it friendly to use without repeating param name itself. The name`prefix` is more closer to Java's style in `Files.createTempDirectory`

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #3636 from bowenliang123/3635-tempdir.

Closes #3635

5f84a16f [Bowen Liang] nit
b82a149f [Bowen Liang] rename `namePrefix` param to `prefix` of `Utils.createTempDir` method, and make it in first place
76d33143 [Bowen Liang]  delete files on exit in test suits with Utils.createTempDir

Authored-by: Bowen Liang <liangbowen@gf.com.cn>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2022-10-17 10:00:49 +08:00
..
kyuubi-download [KYUUBI #3264] [RELEASE] Bump 1.7.0-SNAPSHOT 2022-08-18 11:23:54 +08:00
kyuubi-flink-sql-engine [KYUUBI #3635] Delete files on exit in test suites with Utils.createTempDir 2022-10-17 10:00:49 +08:00
kyuubi-hive-sql-engine [KYUUBI #3635] Delete files on exit in test suites with Utils.createTempDir 2022-10-17 10:00:49 +08:00
kyuubi-jdbc-engine [KYUUBI #3568] [Bug] [Doris Engine] Fix return decimal, date, timestamp using string 2022-09-30 15:39:36 +08:00
kyuubi-spark-sql-engine [KYUUBI #3635] Delete files on exit in test suites with Utils.createTempDir 2022-10-17 10:00:49 +08:00
kyuubi-trino-engine [KYUUBI #3504] Extend JDBC URL to support catalog 2022-10-08 16:05:03 +08:00