baifachuan opened a new pull request, #3589:
URL: https://github.com/apache/hive/pull/3589

   ### What changes were proposed in this pull request?
   
   `service/src/java/org/apache/hive/service/cli/operation/Operation.java`
   
   Add a function:
   
   ```java
   public String getQueryId() {
       return queryState.getQueryId();
     }
   ```
   
`service/src/java/org/apache/hive/service/cli/operation/OperationManager.java`
   
   Update the `getQueryId` function to :
   
   ```java
   private String getQueryId(Operation operation) {
       return operation.getQueryId();
     }
   ```
   
   
   ### Why are the changes needed?
   All operations using the same query id in the global Hive config, cause the 
id covered.
   Hive Server2 will OOM.
   
   I found the same issue: https://issues.apache.org/jira/browse/HIVE-22275
   
   But it is only fixed on 4.0.0, But I using 3.1.2 and using the airflow to 
submit hive SQL.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to