You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2026/06/08 19:06:00 UTC

[jira] [Commented] (HIVE-29635) HS2 WebUI "Start Time" shows current time on every refresh

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

Denys Kuzmenko commented on HIVE-29635:
---------------------------------------

Merged to master

Thanks for the fix, [~magnum] 

> HS2 WebUI "Start Time" shows current time on every refresh
> ----------------------------------------------------------
>
>                 Key: HIVE-29635
>                 URL: https://issues.apache.org/jira/browse/HIVE-29635
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, Web UI
>            Reporter: KWON BYUNGCHANG
>            Priority: Major
>              Labels: pull-request-available
>
> /hiveserver2.jsp shows "now" instead of a fixed start time.
> HiveServer2#createHttpServerBuilder sets startcode after builder.setConf(hiveConf), but HttpServer.Builder#setConf defensively copies the conf into the servlet context. The later mutation only hits the original, so the JSP falls through to conf.getLong("startcode", System.currentTimeMillis()) — producing "now" on every refresh.
> Fix: move hiveConf.set("startcode", ...) to before builder.setConf(hiveConf). One-line move.



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