impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Jacobs (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4442: Fix FE ParserTests UnsatisfiedLinkError
Date Mon, 07 Nov 2016 19:56:12 GMT
Matthew Jacobs has uploaded a new change for review.

Change subject: IMPALA-4442: Fix FE ParserTests UnsatisfiedLinkError

IMPALA-4442: Fix FE ParserTests UnsatisfiedLinkError

In some development environments, the ParserTests may always fail with an

  at o.a.i.service.FeSupport.NativeGetStartupOptions(Native Method)
  at o.a.i.service.FeSupport.GetStartupOptions(
  at o.a.i.common.RuntimeEnv.<init>(
  at o.a.i.common.RuntimeEnv.<clinit>(
  at o.a.i.testutil.TestUtils.assumeKuduIsSupported(
  at o.a.i.analysis.ParserTest.TestKuduUpdate(

I believe the issue is related to some static loading of
classes and/or libraries in Java because changing the
ParserTest to initialize the Frontend makes the error go
away. I haven't been able to pin-point the exact issue with
loading, but it makes sense that the ParserTest should
initialize the Frontend static state if it will be called by
libfesupport later since it seems to be an issue affecting
some environments and not others, i.e. subject to
environmental factors.

This fixes the issue by changing ParserTest to extend
FrontendTestBase which initializes the Frontend class

Change-Id: I1828504f79c51679f9ca07176bffbe248d450e87
M fe/src/test/java/org/apache/impala/analysis/
1 file changed, 2 insertions(+), 20 deletions(-)

  git pull ssh:// refs/changes/76/4976/1
To view, visit
To unsubscribe, visit

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1828504f79c51679f9ca07176bffbe248d450e87
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Matthew Jacobs <>

View raw message