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

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

Commit 0771e23e0b11b7a78256672a54e95b21dea05f0a in impala's branch 
refs/heads/master from Philip Zeyliger
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0771e23 ]

Fix centos/Java/ORC default timezones in test-with-docker.

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, 
c1701074d6e94d98a43ab049ef807ac1b368180f)
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 <[email protected]>
Reviewed-by: Laszlo Gaal <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Add centos/redhat 6/7 support to bootstrap_system.sh
> ----------------------------------------------------
>
>                 Key: IMPALA-7698
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7698
>             Project: IMPALA
>          Issue Type: Task
>          Components: Infrastructure
>            Reporter: Philip Zeyliger
>            Assignee: Philip Zeyliger
>            Priority: Major
>
> {{bootstrap_system.sh}} currently only works on Ubuntu. Making it work on 
> CentOS/Redhat would open the door to running automated tests on those 
> platforms more readily, including using {{test-with-docker}}.



--
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