[ https://issues.apache.org/jira/browse/HIVE-21375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ádám Szita updated HIVE-21375:
------------------------------
Affects Version/s: (was: 3.2.0)
3.1.3
> Closing TransactionBatch closes FileSystem for other batches in Hive streaming v1
> ---------------------------------------------------------------------------------
>
> Key: HIVE-21375
> URL: https://issues.apache.org/jira/browse/HIVE-21375
> Project: Hive
> Issue Type: Bug
> Components: HCatalog, Streaming
> Affects Versions: 3.1.3
> Reporter: Shawn Weeks
> Assignee: Ádám Szita
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.2.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)
|