InvalidIndexNameException[Invalid index name [2Shard], must be lowercase]

本文涉及的产品
检索分析服务 Elasticsearch 版,2核4GB开发者规格 1个月
简介: [2016-10-11 14:16:42,191][DEBUG][action.admin.indices.create] [Feron] [2Shard] f ailed to create [2Shard] InvalidIndexNameException[Invalid ind...

 

[2016-10-11 14:16:42,191][DEBUG][action.admin.indices.create] [Feron] [2Shard] f
ailed to create
[2Shard] InvalidIndexNameException[Invalid index name [2Shard], must be lowercase]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:16:44,099][DEBUG][action.admin.indices.create] [Feron] [2Shard] f
ailed to create
[2Shard] InvalidIndexNameException[Invalid index name [2Shard], must be lowercas
e]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:16:45,124][DEBUG][action.admin.indices.create] [Feron] [2Shard] f
ailed to create
[2Shard] InvalidIndexNameException[Invalid index name [2Shard], must be lowercas
e]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:16:45,652][DEBUG][action.admin.indices.create] [Feron] [2Shard] f
ailed to create
[2Shard] InvalidIndexNameException[Invalid index name [2Shard], must be lowercas
e]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:16:52,332][DEBUG][action.admin.indices.create] [Feron] [Shard2] f
ailed to create
[Shard2] InvalidIndexNameException[Invalid index name [Shard2], must be lowercas
e]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:16:53,294][DEBUG][action.admin.indices.create] [Feron] [Shard2] f
ailed to create
[Shard2] InvalidIndexNameException[Invalid index name [Shard2], must be lowercas
e]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:16:53,501][DEBUG][action.admin.indices.create] [Feron] [Shard2] f
ailed to create
[Shard2] InvalidIndexNameException[Invalid index name [Shard2], must be lowercas
e]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:16:57,181][DEBUG][action.admin.indices.create] [Feron] [Shard2] f
ailed to create
[Shard2] InvalidIndexNameException[Invalid index name [Shard2], must be lowercas
e]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:17:00,204][DEBUG][action.admin.indices.create] [Feron] [Shard2] f
ailed to create
[Shard2] InvalidIndexNameException[Invalid index name [Shard2], must be lowercas
e]
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
eIndexName(MetaDataCreateIndexService.java:151)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validat
e(MetaDataCreateIndexService.java:431)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$
100(MetaDataCreateIndexService.java:95)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execu
te(MetaDataCreateIndexService.java:190)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterState
UpdateTask.java:45)
        at org.elasticsearch.cluster.service.InternalClusterService.runTasksForE
xecutor(InternalClusterService.java:468)
        at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.r
un(InternalClusterService.java:772)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.j
ava:231)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)
[2016-10-11 14:17:24,010][INFO ][cluster.metadata         ] [Feron] [shard2] cre
ating index, cause [api], templates [], shards [2]/[1], mappings []
[2016-10-11 14:17:24,187][INFO ][cluster.routing.allocation] [Feron] Cluster hea
lth status changed from [RED] to [YELLOW] (reason: [shards started [[shard2][0]]
 ...]).

 

相关实践学习
使用阿里云Elasticsearch体验信息检索加速
通过创建登录阿里云Elasticsearch集群,使用DataWorks将MySQL数据同步至Elasticsearch,体验多条件检索效果,简单展示数据同步和信息检索加速的过程和操作。
ElasticSearch 入门精讲
ElasticSearch是一个开源的、基于Lucene的、分布式、高扩展、高实时的搜索与数据分析引擎。根据DB-Engines的排名显示,Elasticsearch是最受欢迎的企业搜索引擎,其次是Apache Solr(也是基于Lucene)。 ElasticSearch的实现原理主要分为以下几个步骤: 用户将数据提交到Elastic Search 数据库中 通过分词控制器去将对应的语句分词,将其权重和分词结果一并存入数据 当用户搜索数据时候,再根据权重将结果排名、打分 将返回结果呈现给用户 Elasticsearch可以用于搜索各种文档。它提供可扩展的搜索,具有接近实时的搜索,并支持多租户。
相关文章
|
关系型数据库 MySQL 数据库
MySQL新增字段报错:ERROR 1118 -- Row size too large. The maximum row size for the used table type
MySQL新增字段报错:ERROR 1118 -- Row size too large. The maximum row size for the used table type
1719 0
|
7月前
|
存储
Build desc failed:Fetch table group shards failed on meta proxy:Loading cached shard 1ocation value for table group[dwhg_scm.dwhg_prd_tg_default] failed
Build desc failed:Fetch table group shards failed on meta proxy:Loading cached shard 1ocation value for table group[dwhg_scm.dwhg_prd_tg_default] failed
205 2
|
SQL 索引
ORA-01502: index ‘index_name' or partition of such index is in unusable state
错误现象:   今天发布脚本时,一个表插入数据时报如下错误   ORA-01502: index ‘index_name' or partition of such index is in unusable state   ORA-06512: at line 168 错误原因:   这个错误一般是因为索引状态为UNUSABLE引起的。
993 0
z-index无效解决
1、父标签 position属性为relative; 2、问题标签无position属性(不包括static); 3、问题标签含有浮动(float)属性。
1595 0
|
NoSQL MongoDB
E11000 duplicate key error index
E11000 duplicate key error index mongodb插入报错,重复主键问题,有唯一键值重复 一般使用collection.insertOne(doc);插入一条已存在主键的记录会报错 使用MDAO的 public Key save(T entity) { return this.ds.save(entity); } 一般不会报错,save方法必须是一个完整的实体,而不能保存一个字段实体。
1488 0