Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6962

Cluster test API unable to (re)start processes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Product Backlog
    • Fix Version/s: Impala 3.0
    • Component/s: Infrastructure
    • Labels:
      None
    • Epic Color:
      ghx-label-3

      Description

      The API's to control cluster processes (tests/common/impala_cluster.py) do not start processes correctly. When Process::start() is called from pytests, the process dies immediately. For example:

      ...
      self.cluster.catalogd.start()
      ...

      Results in catalogd exiting with the following, indicating the env for Java is not as expected:

      I0502 14:50:05.983942 26535 status.cc:125] Failed to find JniUtil class. 
          @    0x17600bd impala::Status::Status() 
          @ 0x1bda29a impala::JniUtil::Init() 
          @ 0x1759478 impala::InitCommonRuntime() 
          @ 0x1702da5 CatalogdMain() 
          @ 0x17028ef main 
          @ 0x7f503f139830 __libc_start_main 
          @ 0x1702739 _start
      

      Making this easier will make it easier to test more scenarios that restart processes.

      Note that starting statestored works fine (no Java).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vukercegovac Vuk Ercegovac
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: