[
https://issues.apache.org/jira/browse/TRAFODION-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16252856#comment-16252856
]
ASF GitHub Bot commented on TRAFODION-2806:
-------------------------------------------
GitHub user mkby opened a pull request:
https://github.com/apache/incubator-trafodion/pull/1299
[TRAFODION-2806] optimize 'hbase classpath' cmd in sqenvcom.sh
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mkby/incubator-trafodion 2806
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/1299.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 #1299
----
commit 2d9aaa2302f4f747d6095a3c33fb452920500ea8
Author: Eason <[email protected]>
Date: 2017-11-15T02:29:58Z
[TRAFODION-2806] optimize 'hbase classpath' cmd in sqenvcom.sh
----
> 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)