You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@livy.apache.org by GitBox <gi...@apache.org> on 2019/09/25 09:21:39 UTC

[GitHub] [incubator-livy] huianyi opened a new pull request #238: [LIVY-689] Deliver stage process message to the end user using thriftserver

huianyi opened a new pull request #238: [LIVY-689] Deliver stage process message to the end user using thriftserver
URL: https://github.com/apache/incubator-livy/pull/238
 
 
   ## What changes were proposed in this pull request?
   When we use beeline to connect with thriftserver, we must open the spark history server to get the stage process, which is unconvenient, we can deliver process message to the end user.
   
   ## How was this patch tested?
   In our environment, the log to the end user is below,
   
   ```log
   0: jdbc:hive2://localhost:10090/> select count(*) from test1;
   Livy session has not yet started. Please wait for it to be ready...
   RSC client is executing SQL query: select count(*) from test1, statementId = a0a8223d-0900-45dd-a1da-9e392e566844, session = SessionHandle [3c2a6dc6-34c0-43db-a888-df8bdbb6302c]
   The query is submitted to remote server successfully.
   [Stage 0:>                                                         (0 + 0) / 25]
   [Stage 0:>                                                         (0 + 1) / 25]
   [Stage 0:>                                                         (0 + 1) / 25]
   [Stage 0:>                                                        (0 + 18) / 25]
   [Stage 0:>                                                        (0 + 20) / 25]
   [Stage 0:>                                                        (0 + 21) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:>                                                        (0 + 25) / 25]
   [Stage 0:==>                                                      (1 + 24) / 25]
   [Stage 0:====>                                                    (2 + 23) / 25]
   [Stage 0:=========>                                               (4 + 21) / 25]
   [Stage 0:==================>                                      (8 + 17) / 25]
   [Stage 0:========================>                               (11 + 14) / 25]
   [Stage 0:========================>                               (11 + 14) / 25]
   [Stage 0:=============================>                          (13 + 12) / 25]
   [Stage 0:======================================>                  (17 + 8) / 25]
   [Stage 0:==================================================>      (22 + 3) / 25]
   RSC client is fetching result schema for statementId = a0a8223d-0900-45dd-a1da-9e392e566844
   +-------------+
   |  count(1)   |
   +-------------+
   | 1828008656  |
   +-------------+
   1 row selected (68.554 seconds)
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services