[ https://issues.apache.org/jira/browse/HIVE-26363?focusedWorklogId=793368&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-793368 ]
ASF GitHub Bot logged work on HIVE-26363: ----------------------------------------- Author: ASF GitHub Bot Created on: 20/Jul/22 18:00 Start Date: 20/Jul/22 18:00 Worklog Time Spent: 10m Work Description: cmunkey commented on PR #3439: URL: https://github.com/apache/hive/pull/3439#issuecomment-1190587588 @JsonSerialize(using = UTCSerializer.class) private Long dumpStartTime; then public class UTCSerializer extends JsonSerializer<Long> { @Override public void serialize(Long value, JsonGenerator gen, SerializerProvider serializers) throws IOException { LocalDateTime dateTime = LocalDateTime.ofEpochSecond(value, 0, ZoneOffset.UTC); // Might need to format here gen.writeString(dateTime.toString()); } } Then you just need to add annotation to all the State classes, and not change the type. Issue Time Tracking ------------------- Worklog Id: (was: 793368) Time Spent: 40m (was: 0.5h) > 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: 40m > 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)