You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2023/01/19 09:16:48 UTC

[GitHub] [doris] qidaye opened a new issue, #16099: [Bug] es-catalog can not get indices

qidaye opened a new issue, #16099:
URL: https://github.com/apache/doris/issues/16099

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   ```
   mysql> switch es8;
   Query OK, 0 rows affected (0.23 sec)
   
   mysql> show catalogs;
   +-----------+-------------+----------+-----------+
   | CatalogId | CatalogName | Type     | IsCurrent |
   +-----------+-------------+----------+-----------+
   |     12025 | es          | es       |           |
   |     12092 | es8         | es       | yes       |
   |     12089 | es88        | es       |           |
   |         0 | internal    | internal |           |
   +-----------+-------------+----------+-----------+
   4 rows in set (0.00 sec)
   
   mysql> show tables;
   ERROR 1105 (HY000): DorisEsException, msg: org.apache.doris.external.elasticsearch.DorisEsException: get es indexes error
   ```
   
   ### What You Expected?
   
   Normal.
   
   ### How to Reproduce?
   
   1. create es catalog with resource 
   ```sql
   CREATE RESOURCE es823_resource PROPERTIES (
       "type"="es",
       "hosts"="http://127.0.0.1:9207",
       "nodes_discovery"="false",
       "username"="elastic",
       "password"="123456",
       "ssl"="true"
   );
   CREATE CATALOG es8 WITH RESOURCE es823_resource;
   ```
   2. switch and show table
   ```sql
   switch es8;
   show tables; 
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.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 closed issue #16099: [Bug] es-catalog can not get indices

Posted by GitBox <gi...@apache.org>.
morningman closed issue #16099: [Bug] es-catalog can not get indices 
URL: https://github.com/apache/doris/issues/16099


-- 
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