vipshop / pallas Goto Github PK
View Code? Open in Web Editor NEWCurator is to Zookeeper what Pallas is to Elasticsearch
Curator is to Zookeeper what Pallas is to Elasticsearch
如题,环境变量是操作系统级别的,而System.getProperty是进程级别的。
执行quickstart.sh 后3个es节点9200,9210,9220 是存活的
但是web控制台却拉不起来
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.vip.pallas.demo.LaunchAll.main(LaunchAll.java:66)
Caused by: pl.allegro.tech.embeddedelasticsearch.EmbeddedElasticsearchStartupException: Failed to start elasticsearch within time-out
at pl.allegro.tech.embeddedelasticsearch.ElasticServer.waitForElasticToStart(ElasticServer.java:124)
at pl.allegro.tech.embeddedelasticsearch.ElasticServer.start(ElasticServer.java:48)
at pl.allegro.tech.embeddedelasticsearch.EmbeddedElastic.startElastic(EmbeddedElastic.java:79)
at pl.allegro.tech.embeddedelasticsearch.EmbeddedElastic.start(EmbeddedElastic.java:60)
at com.vip.pallas.demo.Launcher.launchES(LaunchAll.java:174)
at com.vip.pallas.demo.Launcher.main(LaunchAll.java:93)
... 5 more
pl.allegro.tech.embeddedelasticsearch.EmbeddedElasticsearchStartupException: Failed to start elasticsearch within time-out
at pl.allegro.tech.embeddedelasticsearch.ElasticServer.waitForElasticToStart(ElasticServer.java:124)
at pl.allegro.tech.embeddedelasticsearch.ElasticServer.start(ElasticServer.java:48)
at pl.allegro.tech.embeddedelasticsearch.EmbeddedElastic.startElastic(EmbeddedElastic.java:79)
at pl.allegro.tech.embeddedelasticsearch.EmbeddedElastic.start(EmbeddedElastic.java:60)
at com.vip.pallas.demo.Launcher.lambda$launchES$1(LaunchAll.java:154)
at java.lang.Thread.run(Thread.java:748)
pl.allegro.tech.embeddedelasticsearch.EmbeddedElasticsearchStartupException: Failed to start elasticsearch within time-out
at pl.allegro.tech.embeddedelasticsearch.ElasticServer.waitForElasticToStart(ElasticServer.java:124)
at pl.allegro.tech.embeddedelasticsearch.ElasticServer.start(ElasticServer.java:48)
at pl.allegro.tech.embeddedelasticsearch.EmbeddedElastic.startElastic(EmbeddedElastic.java:79)
at pl.allegro.tech.embeddedelasticsearch.EmbeddedElastic.start(EmbeddedElastic.java:60)
at com.vip.pallas.demo.Launcher.lambda$launchES$0(LaunchAll.java:133)
at java.lang.Thread.run(Thread.java:748)
the very first push.
现在的日志不够详细,很多信息要回去查代码
以前默认是-1,即不监控。
现在改为默认200ms
现在统一都是创建nested的type
特别地,能拿到sessionContext的,以templateName作为eventname,方便过滤统计
提示:Duplicate key VersionField{fieldName='token', dbFieldType='VARCHAR'}
内部系统包括作业调度、日志、调用链系统
链接: https://pan.baidu.com/s/1MV5kdFWifPNf6MRJ7O8cWQ 提取码: er2f 复制这段内容后打开百度网盘手机App,操作更方便哦
1、代码注释中既有中文、也有英文,且格式也不统一,可以对此做一些优化;
2、com.vip.pallas.search.launch.BootStrap中DefaultFilterPipeLine.getInstance()重复,可简化为DefaultFilterPipeLine instance = DefaultFilterPipeLine.getInstance();
3、DefaultFilterPipeLine.getInstance()懒加载机制可以做性能优化:
private static class InstanceHolder {
instance = new DefaultFilterPipeLine();
private static DefaultFilterPipeLine getInstance() {
return instance;
}
}
public static FilterPipeLine getInstance() {
return InstanceHolder.getInstance();
}
显示/{indexName}/_search?pretty的结果
逻辑集群的索引的版本,以前是各个版本对应各自的物理集群,多个物理集群就需要多个版本
现改为,一个版本对应多个物理集群
对应的创建、修改、启用、停用、删除也是对应所有物理集群
pallas.login.url 配置冲ConfigReader迁移到PallasConsoleProperties
重构成接口,为了兼容内部版默认参数指向生产而非localhost:8080
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.