You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/03/31 13:00:07 UTC

[GitHub] [incubator-kyuubi] cxzl25 opened a new issue #2260: [Bug] The running query will not update the duration of the page

cxzl25 opened a new issue #2260:
URL: https://github.com/apache/incubator-kyuubi/issues/2260


   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Describe the bug
   
   The default value of completedTime is 0, and the calculation of duration only considers the case where completedTime is -1.
   
   org.apache.kyuubi.operation.AbstractOperation
   ```scala
   protected var completedTime: Long = _
   ````
   
   org.apache.kyuubi.engine.spark.events.SparkOperationEvent
   ```scala
     def duration: Long = {
       if (completeTime == -1L) {
         System.currentTimeMillis - createTime
       } else {
         completeTime - createTime
       }
     }
   ```
   
   ### Affects Version(s)
   
   1.5.0
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] ulysses-you closed issue #2260: [Bug] The running query will not update the duration of the page

Posted by GitBox <gi...@apache.org>.
ulysses-you closed issue #2260:
URL: https://github.com/apache/incubator-kyuubi/issues/2260


   


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org