You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by se...@apache.org on 2016/05/16 04:23:53 UTC

[2/3] incubator-trafodion git commit: [TRAFODION-1971] Avoid redundant reinitialization during bulk load

[TRAFODION-1971] Avoid redundant reinitialization during bulk load

After each flush during the preparation phase of bulk load, HFile
initialization was taking place redundantly. This imposed significant
overhead and slowed down loads.

Also removed comment regarding replacing init mechanism, in response
to review comment,


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/90ab020b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/90ab020b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/90ab020b

Branch: refs/heads/master
Commit: 90ab020b30b6bbd102dcc9c3c7da294a6a9875e8
Parents: ad6f4ca
Author: Barry Fritchman <bl...@edev06.esgyn.local>
Authored: Fri May 13 20:23:36 2016 +0000
Committer: Barry Fritchman <bl...@edev06.esgyn.local>
Committed: Fri May 13 20:23:36 2016 +0000

----------------------------------------------------------------------
 core/sql/executor/ExHbaseIUD.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/90ab020b/core/sql/executor/ExHbaseIUD.cpp
----------------------------------------------------------------------
diff --git a/core/sql/executor/ExHbaseIUD.cpp b/core/sql/executor/ExHbaseIUD.cpp
index 44625dc..9553d53 100644
--- a/core/sql/executor/ExHbaseIUD.cpp
+++ b/core/sql/executor/ExHbaseIUD.cpp
@@ -1064,7 +1064,7 @@ ExHbaseAccessBulkLoadPrepSQTcb::ExHbaseAccessBulkLoadPrepSQTcb(
     hdfsSampleFile_(NULL),
     lastErrorCnd_(NULL)
 {
-   hFileParamsInitialized_ = false;  ////temporary-- need better mechanism later
+   hFileParamsInitialized_ = false;
    //sortedListOfColNames_ = NULL;
    posVec_.clear();