[ https://issues.apache.org/jira/browse/IMPALA-6962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461669#comment-16461669 ]
Michael Ho edited comment on IMPALA-6962 at 5/2/18 10:40 PM: ------------------------------------------------------------- I recently ran into this problem when trying to repro IMPALA-6907. The fix is to use {{bin/bin/start-impalad.sh}} to restart the Impala instance instead of exec'ing Impald directly. I can post the fix along with the patch for IMPALA-6907 was (Author: kwho): I recently ran into this problem when trying to repro IMPALA-6907. The fix is to use {{bin/start-impala-cluster.py}} to restart the Impala instance instead of exec'ing Impald directly. I can post the fix along with the patch for IMPALA-6907 > Cluster test API unable to (re)start processes > ---------------------------------------------- > > Key: IMPALA-6962 > URL: https://issues.apache.org/jira/browse/IMPALA-6962 > Project: IMPALA > Issue Type: Bug > Components: Infrastructure > Affects Versions: Product Backlog > Reporter: Vuk Ercegovac > Priority: Major > > 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: > {noformat} > ... > self.cluster.catalogd.start() > ...{noformat} > Results in catalogd exiting with the following, indicating the env for Java > is not as expected: > {noformat} > 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 > {noformat} > Making this easier will make it easier to test more scenarios that restart > processes. > Note that starting statestored works fine (no Java). -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org