You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "kongxianghe (JIRA)" <ji...@apache.org> on 2019/01/31 06:28:00 UTC

[jira] [Created] (HIVE-21190) hive thrift server may be blocked by session level waiting!

kongxianghe created HIVE-21190:
----------------------------------

             Summary: hive thrift server may be blocked by session level waiting!
                 Key: HIVE-21190
                 URL: https://issues.apache.org/jira/browse/HIVE-21190
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2
         Environment: hdp ambari 26

hive1.2.0
            Reporter: kongxianghe
            Assignee: kongxianghe


# cause by an error UDF function!time_waiting(Long sleepSeconds)
{code}
public class UDFTimeWaiting extends UDF throws Exception{
  public String evaluate(Long sleepSeconds){
     ...
     Thread.sleep(Long.parseLong(sleepSeconds) * 1000);
     return "ok";
 }
}
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)