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)

Reply via email to