Nifi versions: 1,7.1 and 1.8.0
, line 417 seems redundant,
Whereas Hive 3.0.0 did not add a shutdownhook within connect() method, Hive 3.1.* does:
This creates two references to the shutdownhook object per transaction out of which only one is ever cleaned; resulting in a slow/fast degradation of heap space depending on the velocity of transactions.