[
https://issues.apache.org/jira/browse/TRAFODION-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522857#comment-16522857
]
ASF GitHub Bot commented on TRAFODION-3110:
-------------------------------------------
Github user selvaganesang commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1612#discussion_r197952930
--- Diff: core/sql/executor/ExHdfsScan.cpp ---
@@ -374,10 +375,9 @@ ex_tcb_private_state *ExHdfsScanTcb::allocatePstates(
Int32 ExHdfsScanTcb::fixup()
{
lobGlob_ = NULL;
-
- ExpLOBinterfaceInit
- (lobGlob_, (NAHeap
*)getGlobals()->getDefaultHeap(),getGlobals()->castToExExeStmtGlobals()->getContext(),TRUE,
hdfsScanTdb().hostName_,hdfsScanTdb().port_);
-
+ lobGlob_ = ExpLOBoper::initLOBglobal((NAHeap
*)getGlobals()->getDefaultHeap(),
+
getGlobals()->castToExExeStmtGlobals()->getContext(),
+ useLibhdfsScan_);
--- End diff --
Not sure what you meant. The threads are started if useLibHdfsScan_ is set
true via the above method too
> Refactor LOB access to use the new implementation of HdfsClient
> ---------------------------------------------------------------
>
> Key: TRAFODION-3110
> URL: https://issues.apache.org/jira/browse/TRAFODION-3110
> Project: Apache Trafodion
> Issue Type: Sub-task
> Components: sql-exe
> Reporter: Selvaganesan Govindarajan
> Assignee: Selvaganesan Govindarajan
> Priority: Major
>
> By making LOB to use the new implementation of HdfsClient, the use of libHdfs
> is avoided in yet another feature. This also simplifies the hdfs access
> related code in this feature.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)