You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Rong-En Fan (JIRA)" <ji...@apache.org> on 2008/04/18 06:31:21 UTC

[jira] Created: (HBASE-591) log should use either UTC or local time

log should use either UTC or local time
---------------------------------------

                 Key: HBASE-591
                 URL: https://issues.apache.org/jira/browse/HBASE-591
             Project: Hadoop HBase
          Issue Type: Bug
    Affects Versions: 0.1.1, 0.1.0, 0.16.0, 0.2.0, 0.1.2
            Reporter: Rong-En Fan
            Priority: Minor


My timezone is in UTC+8, but HBase's log uses PST time. It makes me a little annoying when reading the logs. i think it should either use UTC or localtime in log which makes reading logs more easy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-591) log should use either UTC or local time

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590543#action_12590543 ] 

Jim Kellerman commented on HBASE-591:
-------------------------------------

I cannot reproduce this problem. My laptop runs PDT and log files have PDT times in them.
Our servers run UTC and the log files have UTC times in them.

HBase (actually log4j) uses the time and zone information provided by the OS.

Make sure the BIOS time is correct and set to UTC.  The OS will use the hardware clock unless NTP is up and running.

> log should use either UTC or local time
> ---------------------------------------
>
>                 Key: HBASE-591
>                 URL: https://issues.apache.org/jira/browse/HBASE-591
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.16.0, 0.2.0, 0.1.2, 0.1.0, 0.1.1
>            Reporter: Rong-En Fan
>            Priority: Critical
>
> My timezone is in UTC+8, but HBase's log uses PST time. It makes me a little annoying when reading the logs. i think it should either use UTC or localtime in log which makes reading logs more easy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-591) log should use either UTC or local time

Posted by "Rong-En Fan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rong-En Fan resolved HBASE-591.
-------------------------------

    Resolution: Invalid

Aha, my /etc/sysconfig/clock sets to PDT :(
But very interesting, date reports time in UTC+8 so
that's why I think my timezone setting was correct.

Anyway, after correct timezone setting, hbase log uses
my local time.

Sorry for the noise.

> log should use either UTC or local time
> ---------------------------------------
>
>                 Key: HBASE-591
>                 URL: https://issues.apache.org/jira/browse/HBASE-591
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.16.0, 0.2.0, 0.1.2, 0.1.0, 0.1.1
>            Reporter: Rong-En Fan
>            Priority: Minor
>
> My timezone is in UTC+8, but HBase's log uses PST time. It makes me a little annoying when reading the logs. i think it should either use UTC or localtime in log which makes reading logs more easy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-591) log should use either UTC or local time

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590560#action_12590560 ] 

Jim Kellerman commented on HBASE-591:
-------------------------------------

I have checked several other operating systems  and HBase uses the time zone set on those systems.

Fedora/RedHat - make sure /etc/sysconfig/clock is correct
Ubuntu/Debian - make sure /etc/timezone is correct
Solaris - check /etc/TIMEZONE
MacOSX - check preferences

> log should use either UTC or local time
> ---------------------------------------
>
>                 Key: HBASE-591
>                 URL: https://issues.apache.org/jira/browse/HBASE-591
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.16.0, 0.2.0, 0.1.2, 0.1.0, 0.1.1
>            Reporter: Rong-En Fan
>            Priority: Minor
>
> My timezone is in UTC+8, but HBase's log uses PST time. It makes me a little annoying when reading the logs. i think it should either use UTC or localtime in log which makes reading logs more easy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-591) log should use either UTC or local time

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-591:
------------------------

    Priority: Critical  (was: Minor)

Made this critical.  Its dumb we don't respect locale.

> log should use either UTC or local time
> ---------------------------------------
>
>                 Key: HBASE-591
>                 URL: https://issues.apache.org/jira/browse/HBASE-591
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.16.0, 0.2.0, 0.1.2, 0.1.0, 0.1.1
>            Reporter: Rong-En Fan
>            Priority: Critical
>
> My timezone is in UTC+8, but HBase's log uses PST time. It makes me a little annoying when reading the logs. i think it should either use UTC or localtime in log which makes reading logs more easy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-591) log should use either UTC or local time

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman updated HBASE-591:
--------------------------------

    Priority: Minor  (was: Critical)

Change priority to minor because it cannot be reproduced.

> log should use either UTC or local time
> ---------------------------------------
>
>                 Key: HBASE-591
>                 URL: https://issues.apache.org/jira/browse/HBASE-591
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.16.0, 0.2.0, 0.1.2, 0.1.0, 0.1.1
>            Reporter: Rong-En Fan
>            Priority: Minor
>
> My timezone is in UTC+8, but HBase's log uses PST time. It makes me a little annoying when reading the logs. i think it should either use UTC or localtime in log which makes reading logs more easy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.