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 2022/06/24 01:17:26 UTC

[GitHub] [doris] aifirstlove163 opened a new issue, #10383: [Bug] Failed to obtain fragment data

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

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   Doris 1.0
   
   ### What's Wrong?
   
   Doris on es,elasticsearch 's version is 8.2. fe get elasticsearch meta data not found.
   Exception happens when fetch index meta data from remote es cluster.table id: 12036, err: index not found 
   
   ### What You Expected?
   
   Expect to support this version,elastic search is 8.2
   
   ### How to Reproduce?
   
   1.create index
   PUT test
   {
      "settings": {
         "index": {
            "number_of_shards": "3",
            "number_of_replicas": "0"
         }
      },
      "mappings": {
            "properties": {
               "k1": {
                  "type": "long"
               },
               "k2": {
                  "type": "date"
               },
               "k3": {
                  "type": "keyword"
               },
               "k4": {
                  "type": "text",
                  "analyzer": "standard"
               },
               "k5": {
                  "type": "float"
               }
            }
      }
   }
   2.insert data
   POST /_bulk
   {"index":{"_index":"test"}}
   { "k1" : 100, "k2": "2020-01-01", "k3": "Trying out Elasticsearch", "k4": "Trying out Elasticsearch", "k5": 10.0}
   {"index":{"_index":"test"}}
   { "k1" : 100, "k2": "2020-01-01", "k3": "Trying out Doris", "k4": "Trying out Doris", "k5": 10.0}
   {"index":{"_index":"test"}}
   { "k1" : 100, "k2": "2020-01-01", "k3": "Doris On ES", "k4": "Doris On ES", "k5": 10.0}
   {"index":{"_index":"test"}}
   { "k1" : 100, "k2": "2020-01-01", "k3": "Doris", "k4": "Doris", "k5": 10.0}
   {"index":{"_index":"test"}}
   { "k1" : 100, "k2": "2020-01-01", "k3": "ES", "k4": "ES", "k5": 10.0}
   3. create table 
   CREATE EXTERNAL TABLE `test` (
     `k1` bigint(20) COMMENT "",
     `k2` datetime COMMENT "",
     `k3` varchar(20) COMMENT "",
     `k4` varchar(100) COMMENT "",
     `k5` float COMMENT ""
   ) ENGINE=ELASTICSEARCH
   PARTITION BY RANGE(`k1`)
   PROPERTIES (
   "hosts" = "http://10.0.0.31:9200",
   "index" = "test"
   );
   
   ### 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] stalary commented on issue #10383: [Bug] Failed to obtain fragment data

Posted by GitBox <gi...@apache.org>.
stalary commented on issue #10383:
URL: https://github.com/apache/doris/issues/10383#issuecomment-1170959092

   > 目前我也遇到了这个问题,Doris 1.0 ES 8.2.3
   > 
   > ERROR 1105 (HY000): errCode = 2, detailMessage = fetch es table [test] metadata failure: index[test] not found
   
   1.1 has fixed this issue and can be updated when it is released


-- 
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] stalary closed issue #10383: [Bug] Failed to obtain fragment data

Posted by GitBox <gi...@apache.org>.
stalary closed issue #10383: [Bug] Failed to obtain fragment data
URL: https://github.com/apache/doris/issues/10383


-- 
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] yqzdy1207 commented on issue #10383: [Bug] Failed to obtain fragment data

Posted by GitBox <gi...@apache.org>.
yqzdy1207 commented on issue #10383:
URL: https://github.com/apache/doris/issues/10383#issuecomment-1170957286

   目前我也遇到了这个问题,Doris 1.0  ES 8.2.3
   
   ERROR 1105 (HY000): errCode = 2, detailMessage = fetch es table [test] metadata failure: index[test] not found


-- 
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] stalary commented on issue #10383: [Bug] Failed to obtain fragment data

Posted by GitBox <gi...@apache.org>.
stalary commented on issue #10383:
URL: https://github.com/apache/doris/issues/10383#issuecomment-1166719573

   https://github.com/apache/doris/pull/10391
   I've fixed it.


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