Hari Sankar Sivarama Subramaniyan created HIVE-10768: --------------------------------------------------------
Summary: In QTestGenTask.execute() we should not throw an exception right away if we are unable to clean any old files Key: HIVE-10768 URL: https://issues.apache.org/jira/browse/HIVE-10768 Project: Hive Issue Type: Bug Components: Testing Infrastructure Reporter: Hari Sankar Sivarama Subramaniyan Assignee: Hari Sankar Sivarama Subramaniyan Currently in QTestGenTask.execute(), we have code like : {code} if (logFile != null) { File lf = new File(logFile); if (lf.exists()) { if (!lf.delete()) { throw new Exception("Could not delete log file " + lf.getCanonicalPath()); } {code} If the log file gets locked due to some other process, it throws the above exception and short circuits the entire test suite. We should provide a mechanism to generate alternative new log files/temporary files whenever possible to avoid unit test failures. -- This message was sent by Atlassian JIRA (v6.3.4#6332)