Skip to content

Commit c43915b

Browse files
committed
Fix
1 parent 1a41581 commit c43915b

4 files changed

Lines changed: 772 additions & 840 deletions

File tree

iotdb-core/confignode/src/main/i18n/zh/org/apache/iotdb/confignode/i18n/ConfigNodeMessages.java

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public final class ConfigNodeMessages {
5757
public static final String CHECK_BEFORE_DROPPING_TOPIC_TOPIC_EXISTS =
5858
"Check before dropping topic: {}, topic exists: {}";
5959
public static final String CHECK_BEFORE_DROP_PIPE_PIPE_EXISTS =
60-
"Check before drop pipe {}, pipe exists: {}.";
60+
"删除 pipe 前检查,pipe {} 是否存在:{}。";
6161
public static final String CLUSTERID_HAS_BEEN_GENERATED = "已生成 clusterID:{}";
6262
public static final String CLUSTERID_HAS_BEEN_RECOVERED_FROM_SNAPSHOT = "已从快照恢复 clusterID:{}";
6363
public static final String CLUSTERID_NOT_GENERATED_YET_SHOULD_NEVER_HAPPEN =
@@ -89,9 +89,9 @@ public final class ConfigNodeMessages {
8989
public static final String CONFIGNODE_SIMPLECONSENSUSFILE_HAS_EXISTED_FILEPATH =
9090
"ConfigNode SimpleConsensusFile has existed,filePath:{}";
9191
public static final String CONFIG_REGION_LISTENING_QUEUE_LISTEN_TO_SNAPSHOT_FAILED_THE_HISTORICAL =
92-
"Config Region Listening Queue Listen to snapshot failed, the historical data may not be transferred.";
92+
"Config Region Listening Queue 监听快照失败,历史数据可能无法传输。";
9393
public static final String CONFIG_REGION_LISTENING_QUEUE_LISTEN_TO_SNAPSHOT_FAILED_WHEN_STARTUP =
94-
"Config Region Listening Queue Listen to snapshot failed when startup, snapshot will be tried again when starting schema transferring pipes";
94+
"Config Region Listening Queue 启动时监听快照失败,将在启动 schema 传输 pipe 时重试监听快照";
9595
public static final String CONTINUOUS_QUERY_MIN_EVERY_INTERVAL_IN_MS_SHOULD_BE_GREATER =
9696
"continuous_query_min_every_interval_in_ms 应大于 0,但当前值为 {},忽略并使用默认值 {}";
9797
public static final String CONTINUOUS_QUERY_SUBMIT_THREAD_SHOULD_BE_GREATER_THAN_0 =
@@ -174,23 +174,23 @@ public final class ConfigNodeMessages {
174174
public static final String FAILED_ON_DATANODE = "{} failed on DataNode {}";
175175
public static final String FAILED_ON_DATANODE_RETRYING =
176176
"{} failed on DataNode {}, retrying {}...";
177-
public static final String FAILED_TO_ALTER_PIPE = "Failed to alter pipe";
177+
public static final String FAILED_TO_ALTER_PIPE = "修改 pipe 失败";
178178
public static final String FAILED_TO_CHECK_SCHEMA_REGION_USING_TEMPLATE_ON_DATANODE =
179179
"Failed to check schema region using template on DataNode {}, {}";
180180
public static final String FAILED_TO_CHECK_TIMESERIES_EXISTENCE_ON_DATANODE =
181181
"Failed to check timeseries existence on DataNode {}, {}";
182182
public static final String FAILED_TO_COUNT_PATHS_USING_TEMPLATE_ON_DATANODE =
183183
"Failed to count paths using template on DataNode {}, {}";
184-
public static final String FAILED_TO_CREATE_MULTIPLE_PIPES = "Failed to create multiple pipes";
185-
public static final String FAILED_TO_CREATE_PIPE = "Failed to create pipe";
184+
public static final String FAILED_TO_CREATE_MULTIPLE_PIPES = "批量创建 pipe 失败";
185+
public static final String FAILED_TO_CREATE_PIPE = "创建 pipe 失败";
186186
public static final String FAILED_TO_CREATE_PIPEPLUGIN_SOURCE_PIPEPLUGIN_FAILED_TO_LOAD =
187-
"Failed to create PipePlugin [%s], source PipePlugin [%s] failed to load: %s";
187+
"创建 PipePlugin [%s] 失败,源 PipePlugin [%s] 加载失败:%s";
188188
public static final String FAILED_TO_CREATE_PIPEPLUGIN_SOURCE_PIPEPLUGIN_JAR_DOES_NOT_EXIST =
189-
"Failed to create PipePlugin [%s], source PipePlugin [%s] jar [%s] does not exist in install dir.";
189+
"创建 PipePlugin [%s] 失败,源 PipePlugin [%s] jar [%s] 在安装目录中不存在。";
190190
public static final String FAILED_TO_CREATE_PIPEPLUGIN_THE_SAME_NAME_PIPEPLUGIN_HAS_BEEN =
191-
"Failed to create PipePlugin [%s], the same name PipePlugin has been created";
191+
"创建 PipePlugin [%s] 失败,同名 PipePlugin 已创建";
192192
public static final String FAILED_TO_CREATE_PIPEPLUGIN_THIS_PIPEPLUGIN_EXISTS_BUT_FAILED_TO =
193-
"Failed to create PipePlugin [%s], this PipePlugin exists but failed to load: %s";
193+
"创建 PipePlugin [%s] 失败,该 PipePlugin 已存在但加载失败:%s";
194194
public static final String FAILED_TO_CREATE_TEMPLATE_BECAUSE_TEMPLATE_NAME_EXISTS =
195195
"Failed to create template, because template name {} exists";
196196
public static final String FAILED_TO_CREATE_TRIGGER_THE_SAME_NAME_JAR_BUT_DIFFERENT =
@@ -203,11 +203,11 @@ public final class ConfigNodeMessages {
203203
"Failed to create UDF [%s], the same name UDF has been created";
204204
public static final String FAILED_TO_DECREASE_LISTENER_REFERENCE =
205205
"Failed to decrease listener reference";
206-
public static final String FAILED_TO_DROP_PIPE = "Failed to drop pipe";
206+
public static final String FAILED_TO_DROP_PIPE = "删除 pipe 失败";
207207
public static final String FAILED_TO_DROP_PIPEPLUGIN_THE_PIPEPLUGIN_IS_A_BUILT_IN =
208-
"Failed to drop PipePlugin [%s], the PipePlugin is a built-in PipePlugin";
208+
"删除 PipePlugin [%s] 失败,该 PipePlugin 是内置 PipePlugin";
209209
public static final String FAILED_TO_DROP_PIPEPLUGIN_THIS_PIPEPLUGIN_HAS_NOT_BEEN_CREATED =
210-
"Failed to drop PipePlugin [%s], this PipePlugin has not been created";
210+
"删除 PipePlugin [%s] 失败,该 PipePlugin 尚未创建";
211211
public static final String FAILED_TO_DROP_TRIGGER_THIS_TRIGGER_HAS_NOT_BEEN_CREATED =
212212
"Failed to drop trigger [%s], this trigger has not been created";
213213
public static final String FAILED_TO_DROP_UDF_THIS_UDF_HAS_NOT_BEEN_CREATED =
@@ -220,11 +220,11 @@ public final class ConfigNodeMessages {
220220
public static final String FAILED_TO_INCREASE_LISTENER_REFERENCE =
221221
"Failed to increase listener reference";
222222
public static final String FAILED_TO_LOAD_PIPE_INFO_FROM_SNAPSHOT =
223-
"Failed to load pipe info from snapshot, ";
223+
"从快照加载 pipe 信息失败,";
224224
public static final String FAILED_TO_LOAD_PIPE_PLUGIN_INFO_FROM_SNAPSHOT =
225-
"Failed to load pipe plugin info from snapshot";
225+
"从快照加载 pipe 插件信息失败";
226226
public static final String FAILED_TO_LOAD_PIPE_TASK_INFO_FROM_SNAPSHOT =
227-
"Failed to load pipe task info from snapshot";
227+
"从快照加载 pipe 任务信息失败";
228228
public static final String FAILED_TO_LOAD_PLUGIN_CLASS_FOR_PLUGIN_WHEN_LOADING_SNAPSHOT =
229229
"Failed to load plugin class for plugin [{}] when loading snapshot [{}] ";
230230
public static final String FAILED_TO_LOAD_SNAPSHOT_BECAUSE_GET_NULL_DATABASE_NAME =
@@ -250,10 +250,10 @@ public final class ConfigNodeMessages {
250250
"Failed to {} on DataNode: {}, exception: {}";
251251
public static final String FAILED_TO_ON_DATANODE_RESPONSE =
252252
"Failed to {} on DataNode: {}, response: {}";
253-
public static final String FAILED_TO_OPERATE_PIPE = "Failed to operate pipe";
254-
public static final String FAILED_TO_SET_PIPE_STATUS = "Failed to set pipe status";
253+
public static final String FAILED_TO_OPERATE_PIPE = "操作 pipe 失败";
254+
public static final String FAILED_TO_SET_PIPE_STATUS = "设置 pipe 状态失败";
255255
public static final String FAILED_TO_SET_PIPE_STATUS_WITH_STOPPED_BY_RUNTIME_EXCEPTION =
256-
"Failed to set pipe status with stopped-by-runtime-exception flag";
256+
"设置带 stopped-by-runtime-exception 标记的 pipe 状态失败";
257257
public static final String FAILED_TO_TAKE_SNAPSHOT_BECAUSE_CREATE_TMP_DIR_FAIL =
258258
"Failed to take snapshot, because create tmp dir [{}] fail.";
259259
public static final String FAILED_TO_TAKE_SNAPSHOT_BECAUSE_SNAPSHOT_DIR_IS_ALREADY_EXIST =
@@ -273,15 +273,15 @@ public final class ConfigNodeMessages {
273273
public static final String FOR_RECEIVES = "{} for {} receives: {}";
274274
public static final String GET_DATANODE_CPU_CORE_FAIL_WILL_BE_TREATED_AS_ZERO =
275275
"Get DataNode {} cpu core fail, will be treated as zero.";
276-
public static final String GET_PIPEPLUGIN_JAR_FAILED = "Get PipePlugin_Jar failed";
276+
public static final String GET_PIPEPLUGIN_JAR_FAILED = "获取 PipePlugin Jar 失败";
277277
public static final String GET_TRIGGERJAR_FAILED = "Get TriggerJar failed";
278278
public static final String GET_UDF_JAR_FAILED = "Get UDF_Jar failed";
279279
public static final String GET_URL_FAILED = "获取 URL 失败";
280280
public static final String GET_USER_OR_ROLE_PERMISSIONINFO_FAILED_BECAUSE =
281281
"get user or role permissionInfo failed because ";
282282
public static final String HANDLING_CONSUMER_GROUP_META_CHANGES =
283283
"Handling consumer group meta changes ...";
284-
public static final String HANDLING_PIPE_META_CHANGES = "Handling pipe meta changes ...";
284+
public static final String HANDLING_PIPE_META_CHANGES = "正在处理 pipe 元数据变更 ...";
285285
public static final String HANDLING_TOPIC_META_CHANGES = "Handling topic meta changes ...";
286286
public static final String HAS_REGISTERED_SUCCESSFULLY_WAITING_FOR_THE_LEADER_S_SCHEDULING_TO =
287287
"{} {} has registered successfully. Waiting for the leader's scheduling to join the cluster: {}.";
@@ -320,9 +320,9 @@ public final class ConfigNodeMessages {
320320
"[PartitionTableCleaner] The TimePartitions: {} are removed from Database: {}";
321321
public static final String PATH1_SHOULD_NOT_BE_NULL = "Path1 should not be null";
322322
public static final String PIPEMETASYNCER_IS_TRYING_TO_RESTART_THE_PIPES =
323-
"PipeMetaSyncer is trying to restart the pipes: {}";
323+
"PipeMetaSyncer 正在尝试重启 pipe:{}";
324324
public static final String PIPE_IS_USING_EXTERNAL_SOURCE_SKIP_REGION =
325-
"Pipe {} is using external source, skip region leader change. PipeHandleLeaderChangePlan: {}";
325+
"Pipe {} 使用外部 source,跳过 region leader 变更。PipeHandleLeaderChangePlan{}";
326326
public static final String PLAN_TYPE_IS_NOT_SUPPORTED = "Plan type %s is not supported.";
327327
public static final String PLEASE_SET_THE_CN_SEED_CONFIG_NODE_PARAMETER_IN_IOTDB =
328328
"Please set the cn_seed_config_node parameter in iotdb-system.properties file.";
@@ -332,7 +332,7 @@ public final class ConfigNodeMessages {
332332
public static final String RECORDING_CONSUMER_GROUP_META = "Recording consumer group meta: {}";
333333
public static final String RECORDING_TOPIC_META = "Recording topic meta: {}";
334334
public static final String RECOVERED_CONSENSUS_PIPES_AS_RUNNING_DURING_SNAPSHOT_LOAD =
335-
"Recovered consensus pipes {} as RUNNING during snapshot load.";
335+
"快照加载期间已将 consensus pipe {} 恢复为 RUNNING 状态。";
336336
public static final String RELEASE_TRIGGERTABLELOCK = "release TriggerTableLock";
337337
public static final String RELEASE_UDFTABLELOCK = "release UDFTableLock";
338338
public static final String REMOVED_THE_AINODE_FROM_CLUSTER = "Removed the AINode {} from cluster";
@@ -442,14 +442,14 @@ public final class ConfigNodeMessages {
442442
public static final String THE_SEEDCONFIGNODE_SETTING_IN_CONF_IS_EMPTY =
443443
"The seedConfigNode setting in conf is empty";
444444
public static final String THE_S_CREATION_HAS_NOT_PASSED_IN_JARNAME_WHICH_DOES =
445-
"The %s's creation has not passed in jarName, which does not exist in other pipePlugins. Please check";
445+
"%s 创建时未传入 jarName,且其他 pipePlugin 中也不存在该 jarName。请检查";
446446
public static final String THE_TIMESTAMP_PRECISION_SHOULD_BE_MS_US_OR_NS =
447447
"The timestamp_precision should be ms, us or ns";
448448
public static final String THE_TIME_PARTITION_INTERVAL_SHOULD_BE_POSITIVE =
449449
"The time_partition_interval should be positive";
450450
public static final String THE_TIME_PARTITION_ORIGIN_SHOULD_BE_NON_NEGATIVE =
451451
"The time_partition_origin should be non-negative";
452-
public static final String TRY_LISTEN_TO_PLAN_FAILED = "Try listen to plan failed";
452+
public static final String TRY_LISTEN_TO_PLAN_FAILED = "尝试监听 plan 失败";
453453
public static final String UNDEFINED_TEMPLATE = "Undefined template {}";
454454
public static final String UNEXPECTED_INTERRUPTION_DURING_THE_CLOSE_METHOD_OF_LOGWRITER =
455455
"Unexpected interruption during the close method of logWriter";

0 commit comments

Comments
 (0)