[
https://issues.apache.org/jira/browse/TRAFODION-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270544#comment-16270544
]
ASF GitHub Bot commented on TRAFODION-2806:
-------------------------------------------
GitHub user mkby opened a pull request:
https://github.com/apache/incubator-trafodion/pull/1315
additional fixes to [TRAFODION-2806]
sometimes the hbase classpath may get updated, the cache file will be
obsolete. Now we clean the cache file during 'sqstart/sqgen'
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mkby/incubator-trafodion 2806_cont
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/1315.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 #1315
----
commit 7920ef32744e7c5ac65dd605065b505788668a77
Author: Eason <[email protected]>
Date: 2017-11-29T10:10:34Z
additional fixes to [TRAFODION-2806]
----
> optimize 'hbase classpath' cmd in sqenvcom.sh
> ---------------------------------------------
>
> Key: TRAFODION-2806
> URL: https://issues.apache.org/jira/browse/TRAFODION-2806
> Project: Apache Trafodion
> Issue Type: Improvement
> Components: foundation
> Reporter: Eason Zhang
> Assignee: Eason Zhang
> Priority: Minor
>
> Currently, every time we login a new shell with trafodion user, it will
> invoke 'hbase classpath' command to get all hbase libs info, this will slow
> down the login session as well as any 'pdsh' commands.
> An optimization is to cache the output of 'hbase classpath' to a file under
> $TRAF_VAR/hbase_classpath, then sqenvcom.sh will get the hbase lib from this
> file if exists.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)