KWON BYUNGCHANG created HIVE-29635:
--------------------------------------

             Summary: 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


/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