doris on es create table successs,but select failed to connect es server port 80 refuesd #7092
Unanswered
lvweiwei007
asked this question in
Q&A
Replies: 4 comments 6 replies
-
用的什么版本。看看fe日志的报错,url是什么 |
Beta Was this translation helpful? Give feedback.
5 replies
-
哈喽,您好,请教个问题,执行mysql -uroot -h127.0.0.1 -P 8030报ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0,fe 与mysqlclient 在同一台服务器,抓取过包,没有问题 |
Beta Was this translation helpful? Give feedback.
1 reply
-
PROPERTIES add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CREATE EXTERNAL TABLE
test_es1
(gctp2 varchar(500),
gctp3 varchar(500),
lhy_zt varchar(30),
gctp1 varchar(500),
hpzl varchar(10),
lhy_clpp2 varchar(20),
lhy_clpp1 varchar(20),
bmmc varchar(50),
sbmc varchar(50),
sjly bigint,
gcbh varchar(20),
hpys varchar(10),
scsj datetime,
lhy_syxz varchar(20) ,
cllx varchar(10),
id varchar(50),
csys varchar(10),
cdh smallint,
sj_lhy varchar(20),
jrsj datetime,
wfdm varchar(10),
dlmc varchar(200),
rkhs bigint,
dwbh varchar(50),
ffsj datetime,
hjhs bigint,
hphm varchar(10),
dldm varchar(10),
glbm varchar(20),
dwmc varchar(500),
lhy_qzbfqz varchar(20),
sbxh varchar(20),
sd float,
clsd float,
lhy_cllx varchar(20),
xsz int,
sbbh varchar(20),
cwkc float,
jrhs bigint,
ffhs bigint,
jgsj datetime,
lhy_syr varchar(20),
rksj datetime,
lhy_csys varchar(20),
hjsj datetime,
fxlx varchar(10),
lhy_sjhm varchar(50),
lhy_xzqh varchar(20),
lhy_clxh varchar(50),
lhy_state_lhy varchar(20),
csb int,
lhy_sfzmhm varchar(20),
lhy_yxqz varchar(20),
state_lhy varchar(50)
) ENGINE=ELASTICSEARCH
PROPERTIES (
"hosts" = "http://es1.zyjj:9200",
"index" = "veh_pass202110",
"type" = "doc",
"user" = "elastic",
"password" = "ela123456"
);
Beta Was this translation helpful? Give feedback.
All reactions