21.12 update
This commit is contained in:
@@ -17,7 +17,7 @@ hbase:
|
||||
columnFamily: response
|
||||
columnName: result
|
||||
|
||||
#顶格新增配置 2021 11-30
|
||||
#新增配置 2021 11-30
|
||||
service:
|
||||
entity:
|
||||
activeClientIP: 10000
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
druid 任务更新步骤
|
||||
|
||||
概述
|
||||
1.先停掉之前的任务,然后执行sql,最后再提交新任务
|
||||
2.根据实际情况执行集群或单机版操作
|
||||
|
||||
操作
|
||||
一.更新traffic_app_stat_log
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
create 'tsg_galaxy:recommendation_app_cip', {NAME => 'common', VERSIONS => 1}
|
||||
|
||||
|
||||
-- hbase 新增字段
|
||||
-- hbase 新增字段TTL,需要先执行Phoenix中job_result SQL会在hbase中自动创建表
|
||||
disable "tsg_galaxy:job_result"
|
||||
alter "tsg_galaxy:job_result",NAME=>'detail',TTL=>'1800'
|
||||
alter "tsg_galaxy:job_result",NAME=>'result',TTL=>'1800'
|
||||
|
||||
@@ -12,7 +12,6 @@ ROWKEY VARCHAR PRIMARY KEY,
|
||||
"common"."client_ip_list" VARCHAR,
|
||||
"common"."last_update_time" UNSIGNED_LONG);
|
||||
|
||||
|
||||
-- Phoenix新增表
|
||||
CREATE schema IF NOT EXISTS "tsg_galaxy";
|
||||
CREATE table IF NOT EXISTS "tsg_galaxy"."job_result"(
|
||||
@@ -23,6 +22,7 @@ ROWKEY VARCHAR PRIMARY KEY,
|
||||
"detail"."discovery_field" VARCHAR,
|
||||
"detail"."last_query_time" UNSIGNED_LONG,
|
||||
"detail"."count" UNSIGNED_LONG,
|
||||
"detail"."duration_time" UNSIGNED_LONG,
|
||||
"result"."app_extra_info" VARCHAR,
|
||||
"result"."attack_type" VARCHAR,
|
||||
"result"."bit_rate" VARCHAR,
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## job cfg
|
||||
job:
|
||||
longPolling:
|
||||
enabled: true
|
||||
interactive:
|
||||
timeout: 30000
|
||||
response:
|
||||
|
||||
Reference in New Issue
Block a user