You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "whutpencil (via GitHub)" <gi...@apache.org> on 2023/05/27 05:15:49 UTC

[GitHub] [doris] whutpencil opened a new pull request, #20134: [Enhancement] Add an API to query session information for all FEs

whutpencil opened a new pull request, #20134:
URL: https://github.com/apache/doris/pull/20134

   # Proposed changes
   
   Currently, Doris only has one interface for querying specific FE session information, and many times we need to know how many session information there are in the current cluster, so I added this API.
   
   `
   GET /rest/v1/session/all
   
   
   {
   	"msg": "success",
   	"code": 0,
   	"data": {
   		"column_names": ["FE", "Id", "User", "Host", "Cluster", "Db", "Command", "Time", "State", "Info"],
   		"rows": [{
   		    "FE": "10.14.170.23",
   			"User": "root",
   			"Command": "Sleep",
   			"State": "",
   			"Cluster": "default_cluster",
   			"Host": "10.81.85.89:31465",
   			"Time": "230",
   			"Id": "0",
   			"Info": "",
   			"Db": "db1"
   		},
   		{
               "FE": "10.14.170.24",
   			"User": "root",
   			"Command": "Sleep",
   			"State": "",
   			"Cluster": "default_cluster",
   			"Host": "10.81.85.88:61465",
   			"Time": "460",
   			"Id": "1",
   			"Info": "",
   			"Db": "db1"
   		}]
   	},
   	"count": 2
   }
   `
   
   ## Problem summary
   
   Describe your changes.
   
   ## Checklist(Required)
   
   * [ ] Does it affect the original behavior
   * [ ] Has unit tests been added
   * [ ] Has document been added or modified
   * [ ] Does it need to update dependencies
   * [ ] Is this PR support rollback (If NO, please explain WHY)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] morningman commented on pull request #20134: [Enhancement] Add an API to query session information for all FEs

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #20134:
URL: https://github.com/apache/doris/pull/20134#issuecomment-1606106677

   run buildall


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] github-actions[bot] commented on pull request #20134: [Enhancement] Add an API to query session information for all FEs

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20134:
URL: https://github.com/apache/doris/pull/20134#issuecomment-1592416267

   PR approved by anyone and no changes requested.


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] github-actions[bot] commented on pull request #20134: [Enhancement] Add an API to query session information for all FEs

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20134:
URL: https://github.com/apache/doris/pull/20134#issuecomment-1592416228

   PR approved by at least one committer and no changes requested.


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] hello-stephen commented on pull request #20134: [Enhancement] Add an API to query session information for all FEs

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #20134:
URL: https://github.com/apache/doris/pull/20134#issuecomment-1669671726

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.01 seconds
    stream load tsv:          513 seconds loaded 74807831229 Bytes, about 139 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
    storage size: 17162222064 Bytes


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] github-actions[bot] commented on pull request #20134: [Enhancement] Add an API to query session information for all FEs

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20134:
URL: https://github.com/apache/doris/pull/20134#issuecomment-1669606492

   PR approved by at least one committer and no changes requested.


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] whutpencil commented on pull request #20134: [Enhancement] Add an API to query session information for all FEs

Posted by "whutpencil (via GitHub)" <gi...@apache.org>.
whutpencil commented on PR #20134:
URL: https://github.com/apache/doris/pull/20134#issuecomment-1571844900

   @morningman please cc


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] morningman merged pull request #20134: [Enhancement] Add an API to query session information for all FEs

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #20134:
URL: https://github.com/apache/doris/pull/20134


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] morningman commented on pull request #20134: [Enhancement] Add an API to query session information for all FEs

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #20134:
URL: https://github.com/apache/doris/pull/20134#issuecomment-1669605098

   run buildall


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org