impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Behm (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4091: Fix backend unit to log in logs/be tests.
Date Tue, 13 Sep 2016 06:09:22 GMT
Alex Behm has posted comments on this change.

Change subject: IMPALA-4091: Fix backend unit to log in logs/be_tests.

Patch Set 2:

File be/src/exec/

PS2, Line 23: #include "testutil/gtest-util.h"
> Still needed?

PS2, Line 24: #include "common/init.h"
            : #include "common/compiler-util.h"
> nit: preserve alphabetical order (here and in other files)
File be/src/exec/

PS2, Line 22: #include <gtest/gtest.h>
> nit: not needed with the gtest-util import. We could remove this from all o
File be/src/runtime/

PS2, Line 1171: BE_TEST
> it was not clear to me why this was set to BE_TEST here, while we also init
The parameter indicates that we are running a BE unit test. I don't see how starting a JVM
or enabling FE support would change that.

Modified comment in init.h. Actually all BE unit tests must indicate that they are a test
to get the logging working correctly.
File be/src/testutil/gtest-util.h:

Line 32: // Basic main() function to be used in gtest unit tests. Does not start a JVM
> nit: wrap at 90 characters
File be/src/util/

PS2, Line 27: #include "common/init.h"
> still needed?
No. Done.
File be/src/util/

PS2, Line 22: #include "common/init.h"
> It is needed? It's seems to be included in gtest-util.h anyways
Removed everywhere we don't need it.
File be/src/util/

PS2, Line 386: 
> I don't think this gets executed anymore, since IMPALA_TEST_MAIN() will set
This change was wrong. Fixed.

PS2, Line 26: #include "util/jni-util.h"
> not needed anymore?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaff0acf09bf192d54baeb0bb347e895fce6ed23b
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Alex Behm <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-HasComments: Yes

View raw message