vihangk1 commented on a change in pull request #1808:
URL: https://github.com/apache/hive/pull/1808#discussion_r547514156
##########
File path:
itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStoreUpdateUsingEvents.java
##########
@@ -94,8 +96,9 @@ private Database createTestDb(String dbName, String dbOwner) {
}
private Table createTestTblParam(String dbName, String tblName, String
tblOwner,
- List<FieldSchema> cols, List<FieldSchema>
ptnCols, Map<String, String> tblParams) {
- String serdeLocation = "file:/tmp";
+ List<FieldSchema> cols, List<FieldSchema>
ptnCols, Map<String, String> tblParams)
+ throws IOException {
+ String serdeLocation = Files.createTempDirectory(dbName + "_" +
tblName).toString();
Review comment:
same comment as above. Based on the documentation of
Files.createTempDirectory it returns "the path to the newly created directory
that did not exist before this method was invoked"
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]