[
https://issues.apache.org/jira/browse/HIVE-27452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735666#comment-17735666
]
Ayush Saxena commented on HIVE-27452:
-------------------------------------
Committed to master.
Thanx [~sbadhya] for the contribution & [~dkuzmenko] for the review!!!
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)