Ivan Cho created IMPALA-9283:
--------------------------------

             Summary:  impala can not release the JDBC connection automatically
                 Key: IMPALA-9283
                 URL: https://issues.apache.org/jira/browse/IMPALA-9283
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 2.12.0
            Reporter: Ivan Cho
         Attachments: 1-1.png, 1.png, 2-1.png, 2-2.png, 2.png, 3.png, 
impalad_flags(coordinator-only), impalad_flags(executor-only)

It looks like that impala can not release the JDBC connection automatically ,
especially when jdbc client application crash down while running sql or with 
bed practice that have not call \{res.close()/stmt.close()/con.close()} 
explicitly .

Here are some useful information:

1 : the number of active connection has increased all the time utill we 
restarted the whole impala cluster (regulerly at midnight). see below
!1.png|width=1623,height=582!

!1-1.png!
2 : there are three main type of jdbc client applications: streamsets/hue/java 
.  below is streamsets use case:
!2.png!

!2-1.png!

!2-2.png!   
3 : I did two jdbc tests with java application. 
 Test 1 started 900 threads , and did not close connection resource after 
complete qurey sql , so the number of connection did not decrease 
 Inversely , Test 2 started 500 threads , just close connection resource after 
complete qurey sql , so the number of connection decrease. see below
!3.png!
ps: attachment are impalad_flags



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to