mirror of
https://github.com/apache/impala.git
synced 2026-01-08 12:02:54 -05:00
Stops configuring /etc/timezone for CentOS machines, which don't
typically have this file. Uses a longer format ("tz database name") for
/etc/timezone for Ubuntu, since that's what Ubuntu seems to expect. The
existing approach seemed to work, but it seems more consistent to use
the tz name.
To debug this, I wrote the following Java program:
import java.util.TimeZone;
public class test {
public static void main(String[] args) {
System.out.println(TimeZone.getDefault());
}
}
Running it under strace, with the OpenJDK source open to
src/solaris/native/java/util/TimeZone_md.c, I was able to
spot the issue. My previous attempt (IMPALA-7698, c1701074d6)
tread down this same path, but I had missed the failure.
Change-Id: I5dd7d823189e00edae4249d436bedfe4dd05a3a1
Reviewed-on: http://gerrit.cloudera.org:8080/12137
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Laszlo Gaal <laszlo.gaal@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Docker-related scripts for Impala
test-with-docker.py runs the Impala build and tests inside of Docker
containers, parallelizing the test execution across test suites. See that file
for more details.
This also contains experimental infrastructure to build impala_base,
catalogd, impalad and statestored container images from the output of
an Impala build. The containers can be built via the CMake target docker_images.
See CMakeLists.txt for the build targets.