You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/12 09:33:33 UTC
[jira] [Commented] (TAJO-1169) Some older version of OpenJDK 1.6
does not get default timezone id
[ https://issues.apache.org/jira/browse/TAJO-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207811#comment-14207811 ]
ASF GitHub Bot commented on TAJO-1169:
--------------------------------------
GitHub user ykrips opened a pull request:
https://github.com/apache/tajo/pull/239
TAJO-1169: Some older version of OpenJDK 1.6 does not get default timezone id
It has been tested by getting default timezone id.
```
[root@oracle-db1 tajo-0.9.1]# ./bin/tajo getconf tajo.timezone
Asia/Seoul
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ykrips/tajo TAJO-1169
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/239.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #239
----
commit 6ac4487652de6cae541dceae3e1b10af288b4a9f
Author: Jihun Kang <yk...@gmail.com>
Date: 2014-11-12T08:30:27Z
TAJO-1169: Some older version of OpenJDK 1.6 does not get default timezone id
----
> Some older version of OpenJDK 1.6 does not get default timezone id
> ------------------------------------------------------------------
>
> Key: TAJO-1169
> URL: https://issues.apache.org/jira/browse/TAJO-1169
> Project: Tajo
> Issue Type: Improvement
> Reporter: Jihun Kang
> Assignee: Jihun Kang
> Priority: Trivial
>
> Some older version of openjdk 1.6 does not find timezone information on rhel 6.x or fedora linux when it boots up. So it also affected to the TajoConf, and it always show empty string when getting *tajo.timezone* configuration. When I running this command on rhel 6.4, it does not return the timezone information and tajocli shows the timestamp 9 hours earlier.
> {code}
> [root@oracle-db1 tajo-0.9.1]# ./bin/tajo getconf tajo.timezone
> {code}
> {code:borderstyle=solid}
> tpch> select now();
> ?now
> -------------------------------
> 2014-11-12 08:19:27.566
> [root@oracle-db1 tajo-0.9.1]# date
> 2014. 11. 12. 17:20:00 KST
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)