[ 
https://issues.apache.org/jira/browse/IMPALA-7129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802955#comment-16802955
 ] 

ASF subversion and git services commented on IMPALA-7129:
---------------------------------------------------------

Commit c747c755033840fc4c35cc8109f1dc9956a779cb in impala's branch 
refs/heads/2.x from Philip Zeyliger
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=c747c75 ]

IMPALA-7129: Fixing path to UBSAN suppressions.

This pins the suppression file path at build time.

It turns out that calling getenv("IMPALA_HOME") was returning null at
the time the undefined behavior was being initialized. I suspect this is
an initialization ordering issue. To step around the issue, I'm simply
using a preprocessor macro to get at the suppression file path.

I was able to reproduce the error by running the catalogd binary
outside of $IMPALA_HOME. Before this change, that would fail reliably.

Change-Id: I5295c2d1bddbea585a761b85a51eadecf10d191d
Reviewed-on: http://gerrit.cloudera.org:8080/10895
Reviewed-by: Jim Apple <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Can't start catalogd in tests under UBSAN 
> ------------------------------------------
>
>                 Key: IMPALA-7129
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7129
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 3.0
>            Reporter: Jim Apple
>            Assignee: Philip Zeyliger
>            Priority: Major
>
> https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/2377/testReport/junit/custom_cluster.test_admission_controller/TestAdmissionController/test_require_user/
> This custom cluster test failed
> https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/2377/artifact/Impala/logs_static/logs/custom_cluster_tests/catalogd-error.log/*view*/
> {{UndefinedBehaviorSanitizer: failed to read suppressions file 
> '/home/ubuntu/Impala/be/build/debug/service/./bin/ubsan-suppressions.txt'}}
> A number of other tests failed, too, and I suspect it's 
> https://github.com/apache/impala/commit/48625335d220566a1d69e65fb34bfca9a7dc3cff
>  that broke it. I guess maybe {{IMPALA_HOME}} is not set in some tests?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to