Sourabh Badhya created HIVE-27452:
-------------------------------------

             Summary: Fix possible FNFE in 
HiveQueryLifeTimeHook::checkAndRollbackCTAS
                 Key: HIVE-27452
                 URL: https://issues.apache.org/jira/browse/HIVE-27452
             Project: Hive
          Issue Type: Bug
            Reporter: Sourabh Badhya
            Assignee: Sourabh Badhya


In case of a CTAS rollback, if the table directory is not created at all, then 
while getting the owner of the table directory we might get a 
FileNotFoundException.

Hence, check whether the directory exists before submitting a request to 
cleanup.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to