Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2806

optimize 'hbase classpath' cmd in sqenvcom.sh

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • foundation
    • None

    Description

      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.

      Attachments

        Activity

          People

            hfutmkby Yi (Eason) Zhang
            hfutmkby Yi (Eason) Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: