[ 
https://issues.apache.org/jira/browse/HIVE-26363?focusedWorklogId=793395&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-793395
 ]

ASF GitHub Bot logged work on HIVE-26363:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Jul/22 19:00
            Start Date: 20/Jul/22 19:00
    Worklog Time Spent: 10m 
      Work Description: cmunkey commented on PR #3439:
URL: https://github.com/apache/hive/pull/3439#issuecomment-1190643817

   Since these are only logging messages, won't the log line already have the 
timestamp in readable format?
   Won't it cause extra confusion if the log line and the message have a 
different times?
   ReplState.log() does:
   
   public void log(LogTag tag) {
       try {
         REPL_LOG.info("REPL::{}: {}", tag.name(), 
mapper.writeValueAsString(this));
       } catch (Exception exception) {
         REPL_LOG.error("Could not serialize REPL log: {}", 
exception.getMessage());
       }
     }
   }
   
   The object instance, BootstrapDumpBegin for instance, is created before the 
LOG.info(), 
   so could potentially have a different instance. Yes, converting from millis 
to seconds does
   usually make them close, but log messages have:
   
   2022-07-20 18:54:47,334 INFO
   
   which is milliseconds.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 793395)
    Time Spent: 1h  (was: 50m)

> Time logged during repldump and replload per table is not in readable format
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-26363
>                 URL: https://issues.apache.org/jira/browse/HIVE-26363
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2, repl
>    Affects Versions: 4.0.0
>            Reporter: Imran
>            Assignee: Rakshith C
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> During replDump and replLoad we capture time take for each activity in 
> hive.log file. This is captured in milliseconds which becomes difficult to 
> read during debug activity, this ticket is raised to change the time logged 
> in hive.log in UTC format.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to