You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "rtrivedi12 (via GitHub)" <gi...@apache.org> on 2025/01/27 23:14:05 UTC

[PR] HIVE-27829 Updated sample output for Show processlist command [hive-site]

rtrivedi12 opened a new pull request, #37:
URL: https://github.com/apache/hive-site/pull/37

   (no comment)


-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27829 Updated sample output for Show processlist command [hive-site]

Posted by "okumin (via GitHub)" <gi...@apache.org>.
okumin commented on code in PR #37:
URL: https://github.com/apache/hive-site/pull/37#discussion_r2041315364


##########
content/docs/latest/languagemanual-commands_34838882.md:
##########
@@ -38,13 +38,14 @@ Sample Usage:
 
 ```
 ```
-0: jdbc:hive2://localhost:10000> show processlist;
-+------------+------------+-------------------+---------------------------------------+--------------------------+------------------------+----------------------------------------------------+----------+-------------------+-------------------+---------------+
-| User Name  |  Ip Addr   | Execution Engine  |              Session Id               | Session Active Time (s)  | Session Idle Time (s)  |                      Query ID                      |  State   | Opened Timestamp  | Elapsed Time (s)  |  Runtime (s)  |
-+------------+------------+-------------------+---------------------------------------+--------------------------+------------------------+----------------------------------------------------+----------+-------------------+-------------------+---------------+
-| hive       | 127.0.0.1  | mr                | 66df357a-90bf-43cb-847f-279aa6df1c24  | 113                      | 7                      | rtrivedi_20240709124106_d0f00d7a-6fab-4fcd-9f41-d53bb296275d | RUNNING  | 1720546866774     | 16                | Not finished  |
-| hive       | 127.0.0.1  | mr                | 7daa873e-bb46-462e-bc38-94cb8d3e7c17  | 83                       | 29                     | rtrivedi_20240709124106_2dc53c4c-e522-4aed-a969-3d48ac01ba81 | RUNNING  | 1720546866774     | 17                | Not finished  |
-+------------+------------+-------------------+---------------------------------------+--------------------------+------------------------+----------------------------------------------------+----------+-------------------+-------------------+---------------+
+  hive> show processlist;
++------------+------------+-------------------+---------------------------------------+--------------------------+------------------------+----------------------------------------------------+----------+--------------------------+-------------------+---------------+
+| User Name  |  Ip Addr   | Execution Engine  |              Session Id               | Session Active Time (s)  | Session Idle Time (s)  |                      Query ID                      |  State   |   Opened Timestamp (s)   | Elapsed Time (s)  |  Runtime (s)  |

Review Comment:
   @rtrivedi12 
   I verified this is likely correct in the master branch. However, I feel `Opened Timestamp (s)` sounds strange. I assume `(s)` stands for "the unit is SECOND", but the field holds a UNIX timestamp. I understand your change follows the upstream's source code.
   Do you think we should update apache/hive so that this column name is to be `Opened Timestamp`?



-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


Re: [PR] HIVE-27829 Updated sample output for Show processlist command [hive-site]

Posted by "deniskuzZ (via GitHub)" <gi...@apache.org>.
deniskuzZ commented on code in PR #37:
URL: https://github.com/apache/hive-site/pull/37#discussion_r2166935047


##########
content/docs/latest/languagemanual-commands_34838882.md:
##########
@@ -38,13 +38,14 @@ Sample Usage:
 
 ```
 ```
-0: jdbc:hive2://localhost:10000> show processlist;
-+------------+------------+-------------------+---------------------------------------+--------------------------+------------------------+----------------------------------------------------+----------+-------------------+-------------------+---------------+
-| User Name  |  Ip Addr   | Execution Engine  |              Session Id               | Session Active Time (s)  | Session Idle Time (s)  |                      Query ID                      |  State   | Opened Timestamp  | Elapsed Time (s)  |  Runtime (s)  |
-+------------+------------+-------------------+---------------------------------------+--------------------------+------------------------+----------------------------------------------------+----------+-------------------+-------------------+---------------+
-| hive       | 127.0.0.1  | mr                | 66df357a-90bf-43cb-847f-279aa6df1c24  | 113                      | 7                      | rtrivedi_20240709124106_d0f00d7a-6fab-4fcd-9f41-d53bb296275d | RUNNING  | 1720546866774     | 16                | Not finished  |
-| hive       | 127.0.0.1  | mr                | 7daa873e-bb46-462e-bc38-94cb8d3e7c17  | 83                       | 29                     | rtrivedi_20240709124106_2dc53c4c-e522-4aed-a969-3d48ac01ba81 | RUNNING  | 1720546866774     | 17                | Not finished  |
-+------------+------------+-------------------+---------------------------------------+--------------------------+------------------------+----------------------------------------------------+----------+-------------------+-------------------+---------------+
+  hive> show processlist;
++------------+------------+-------------------+---------------------------------------+--------------------------+------------------------+----------------------------------------------------+----------+--------------------------+-------------------+---------------+
+| User Name  |  Ip Addr   | Execution Engine  |              Session Id               | Session Active Time (s)  | Session Idle Time (s)  |                      Query ID                      |  State   |   Opened Timestamp (s)   | Elapsed Time (s)  |  Runtime (s)  |

Review Comment:
   @rtrivedi12, could you please check? 



-- 
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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org