[
https://issues.apache.org/jira/browse/HIVE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757149#comment-13757149
]
Phabricator commented on HIVE-4617:
-----------------------------------
vaibhavgumashta has commented on the revision "HIVE-4617 [jira]
ExecuteStatementAsync call to run a query in non-blocking mode".
INLINE COMMENTS
service/src/test/org/apache/hive/service/cli/CLIServiceTest.java:151 I see a
problem with this. The BG thread might (however the probability is very less)
race ahead and change the OperationState to FINISHED by the time the original
thread tries to assert that it should be RUNNING at least once. I guess a
better way would be to write a separate test for valid state transition
behavior. I'll do that in a new JIRA.
REVISION DETAIL
https://reviews.facebook.net/D12507
To: JIRA, vaibhavgumashta
Cc: cwsteinbach, thejas
> ExecuteStatementAsync call to run a query in non-blocking mode
> --------------------------------------------------------------
>
> Key: HIVE-4617
> URL: https://issues.apache.org/jira/browse/HIVE-4617
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Affects Versions: 0.12.0
> Reporter: Jaideep Dhok
> Assignee: Vaibhav Gumashta
> Attachments: HIVE-4617.D12417.1.patch, HIVE-4617.D12417.2.patch,
> HIVE-4617.D12417.3.patch, HIVE-4617.D12417.4.patch, HIVE-4617.D12417.5.patch,
> HIVE-4617.D12417.6.patch, HIVE-4617.D12507.1.patch, HIVE-4617.D12507.2.patch,
> HIVE-4617.D12507Test.1.patch
>
>
> Provide a way to run a queries asynchronously. Current executeStatement call
> blocks until the query run is complete.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira