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 2019/11/26 14:48:16 UTC

[GitHub] [incubator-doris] wuyunfeng opened a new issue #2306: External elasticsearch table does not work when set hosts without http schema

wuyunfeng opened a new issue #2306: External elasticsearch table does not work when set hosts without http schema
URL: https://github.com/apache/incubator-doris/issues/2306
 
 
   When create table statement, such as:
   
   ```
   CREATE EXTERNAL TABLE `es_table` (
     `id` bigint(20) COMMENT "",
      ....
   ) ENGINE=ELASTICSEARCH
   PARTITION BY RANGE(`id`)
   ()
   PROPERTIES (
   "hosts " = "192.16.01:8200,192.16.02:8200 ",
   "user" = "xxxx",
   "password" = "xxxx",
   "index" = "tindexā€¯,
   "type" = "doc"
   );
   ```
   
   because all hosts does not starts with "http://", then FE will throw `java.lang.IllegalArgumentException: unexpected url : xxxx`

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

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