You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Eason Zhang (JIRA)" <ji...@apache.org> on 2017/11/15 02:21:00 UTC

[jira] [Created] (TRAFODION-2806) optimize 'hbase classpath' cmd in sqenvcom.sh

Eason Zhang created TRAFODION-2806:
--------------------------------------

             Summary: 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)