GitHub user sandhyasun opened a pull request:
https://github.com/apache/incubator-trafodion/pull/574
Fix for [TRAFODION-2091] Lobglobals and hdfsFS handle fix
hdfsFS handling is now done at the Context level and is maintained as
hashqueue for each hdfsPort/hdfsSever combination.
The first time a component connects, it checks thae global list, if the
handle is not found a new entry is created and added to the list.
All calls to individual callers making hdfs Disconnect calls are removed
since they affect other components usage of hdfs API.
Cleanup in how LobGlobals are allocated and maintained. They are part of
ex_globals and TCBs get a pointer to the ExLobGlobals when they need to use the
LOB interface.
Fixed dataModCheck and emptyDirectory to change how lobGlobals
initialization happens.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sandhyasun/incubator-trafodion lobglobals_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/574.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #574
----
commit 7975a58ece0c6758a0070c15f8e9da2458d8c346
Author: Sandhya Sundaresan <[email protected]>
Date: 2016-07-01T21:17:07Z
Changes to move hdfFs handing to the context globals level and remove all
disconnects from hdfs from the various components.
commit 5ecd3c60282ffdc114ac4885eab10cf04680482d
Author: Sandhya Sundaresan <[email protected]>
Date: 2016-07-01T22:02:58Z
Merge remote branch 'origin/master' into lobglobals_fix
Conflicts:
core/sql/cli/Context.cpp
core/sql/exp/ExpLOBaccess.cpp
commit ac1b131c86105a0e95c7061adba58d4c36510af6
Author: Sandhya Sundaresan <[email protected]>
Date: 2016-07-04T00:44:36Z
Regression fix and fixes for emptyDirectory().
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---