You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Shawn Weeks (JIRA)" <ji...@apache.org> on 2019/03/02 17:26:00 UTC

[jira] [Created] (HIVE-21375) Closing TransactionBatch closes FileSystem for other batches

Shawn Weeks created HIVE-21375:
----------------------------------

             Summary: Closing TransactionBatch closes FileSystem for other batches
                 Key: HIVE-21375
                 URL: https://issues.apache.org/jira/browse/HIVE-21375
             Project: Hive
          Issue Type: Bug
          Components: HCatalog, Streaming
            Reporter: Shawn Weeks


The patch in HIVE-13151 added FileSystem.closeAllForUGI(ugi); to the close method of HiveEndPoint for the legacy Streaming API. This seems to have a side effect of closing the FileSystem for all open TransactionBatches as used by NiFi and Storm when writing to multiple partitions. Setting fs.hdfs.impl.disable.cache=true negates the issue but at a performance cost.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)