[
https://issues.apache.org/jira/browse/TRAFODION-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668742#comment-15668742
]
ASF GitHub Bot commented on TRAFODION-2342:
-------------------------------------------
Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/835#discussion_r88138577
--- Diff: core/sql/exp/ExpLOBaccess.cpp ---
@@ -2280,8 +2280,10 @@ Ex_Lob_Error ExLobsOper (
return LOB_GLOB_PTR_ERROR;
}
}
-
- if ((globPtr != NULL) && (operation != Lob_Init))
+ if (globPtr != NULL)
+ {
+ lobGlobals = (ExLobGlobals *)globPtr;
+ if ((operation != Lob_Init) && (operation != Lob_Cleanup))
--- End diff --
It doesn't hurt anything (and an optimizing compiler will optimize it out)
but it looks like line 2288 duplicates line 2285.
> HDFS access scan threads do not get cleanup up
> ----------------------------------------------
>
> Key: TRAFODION-2342
> URL: https://issues.apache.org/jira/browse/TRAFODION-2342
> Project: Apache Trafodion
> Issue Type: Bug
> Components: sql-exe
> Affects Versions: 2.1-incubating
> Reporter: Prashanth Vasudev
> Assignee: Prashanth Vasudev
>
> Hive access scan queries launch multiple threads to scan hdfs files. In many
> instances, these threads do not get cleaned up.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)