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

Mohit Sabharwal updated HIVE-13047:
-----------------------------------
    Attachment: HIVE-13047.patch

> Disabling Web UI leads to NullPointerException
> ----------------------------------------------
>
>                 Key: HIVE-13047
>                 URL: https://issues.apache.org/jira/browse/HIVE-13047
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>         Attachments: HIVE-13047.patch
>
>
> Disabling the Web UI or it's historical query display feature can lead to 
> NullPointerException since {{historicSqlOperations}} is unintialized.
> For ex: If hive.server2.webui.port is set to 0
> {code}
> Caused by: java.lang.NullPointerException: null
>       at 
> org.apache.hive.service.cli.operation.OperationManager.removeOperation(OperationManager.java:212)
>       at 
> org.apache.hive.service.cli.operation.OperationManager.closeOperation(OperationManager.java:240)
>       at 
> org.apache.hive.service.cli.session.HiveSessionImpl.closeOperation(HiveSessionImpl.java:727)
>       at 
> org.apache.hive.service.cli.CLIService.closeOperation(CLIService.java:408)
>       at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.CloseOperation(ThriftCLIService.java:664)
>       at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$CloseOperation.getResult(TCLIService.java:1513)
>       at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$CloseOperation.getResult(TCLIService.java:1498)
>       at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>       at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>       at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
>       at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to