[ 
https://issues.apache.org/jira/browse/HIVE-29635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denys Kuzmenko resolved HIVE-29635.
-----------------------------------
    Fix Version/s: 4.3.0
         Assignee: KWON BYUNGCHANG
       Resolution: Fixed

> 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
>            Assignee: KWON BYUNGCHANG
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.3.0
>
>
> /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)

Reply via email to