Last active
September 19, 2016 20:42
-
-
Save panchicore/bb7e7355a8b5d3456ec67bb485d9300e to your computer and use it in GitHub Desktop.
https://github.com/o19s/elasticsearch/tree/feature/heatmap https://github.com/cga-harvard/HHypermap/issues/204
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* What went wrong: | |
A problem occurred evaluating root project 'buildSrc'. | |
> Gradle 2.13 is required to build elasticsearch | |
--- | |
/Users/panchicore/www/es/elasticsearch/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/TapLoggerOutputStream.groovy: 25: unable to resolve class org.gradle.logging.ProgressLogger | |
@ line 25, column 1. | |
import org.gradle.logging.ProgressLogger | |
^ | |
/Users/panchicore/www/es/elasticsearch/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantLoggerOutputStream.groovy: 23: unable to resolve class org.gradle.logging.ProgressLogger | |
@ line 23, column 1. | |
import org.gradle.logging.ProgressLogger | |
^ | |
--- | |
3 errors | |
Exception executing org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@d610b4c in compiler daemon: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.. | |
:buildSrc:compileGroovy FAILED | |
--- | |
* Where: | |
Build file '/Users/panchicore/www/es/elasticsearch/benchmarks/build.gradle' line: 31 | |
* What went wrong: | |
A problem occurred evaluating project ':benchmarks'. | |
> Failed to apply plugin [id 'elasticsearch.build'] | |
> JAVA_HOME must be set to build Elasticsearch | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
BUILD FAILED | |
----- | |
GeoHeatmapAggregationBuilder.java:97: warning: no description for @throws | |
* @throws IOException | |
^ | |
error: warnings found and -Werror specified | |
Note: Some input files use or override a deprecated API. | |
Note: Recompile with -Xlint:deprecation for details. | |
Note: Some input files use unchecked or unsafe operations. | |
Note: Recompile with -Xlint:unchecked for details. | |
1 error | |
4 warnings | |
:core:compileJava FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':core:compileJava'. | |
> Compilation failed with exit code 1; see the compiler error output for details. | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
BUILD FAILED | |
---- | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':compileJava'. | |
> Could not find tools.jar. Please check that /usr/lib/jvm/java-8-openjdk-amd64 contains a valid JDK installation. | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
BUILD FAILED | |
--------- | |
Removing intermediate container d08f1468384a | |
Step 17 : RUN ./bin/elasticsearch | |
---> Running in a9f744ff8853 | |
[2016-09-14 14:53:44,916][WARN ][bootstrap ] [Dust] uncaught exception in thread [main] | |
org.elasticsearch.bootstrap.StartupError: java.lang.RuntimeException: can not run elasticsearch as root | |
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:105) | |
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:96) | |
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) | |
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:88) | |
at org.elasticsearch.cli.Command.main(Command.java:54) | |
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:75) | |
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:68) | |
Caused by: java.lang.RuntimeException: can not run elasticsearch as root | |
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:88) | |
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:146) | |
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:255) | |
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:101) | |
... 6 more | |
----------- | |
:core:generatePomFileForNebulaPublication | |
Download https://repo1.maven.org/maven2/org/yaml/snakeyaml/1.15/snakeyaml-1.15.pom | |
:core:javadoc/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/index/translog/Translog.java:783: warning - Tag @link: can't find writeType(Operation, StreamOutput) in org.elasticsearch.index.translog.Translog.Operation | |
/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/cluster/routing/RoutingNodes.java:649: warning - Tag @see: can't find removeAndIgnore(AllocationStatus) in org.elasticsearch.cluster.routing.RoutingNodes.UnassignedShards.UnassignedIterator | |
/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/cluster/routing/RoutingNodes.java:770: warning - Tag @see: can't find ignoreShard(ShardRouting, AllocationStatus) in org.elasticsearch.cluster.routing.RoutingNodes.UnassignedShards | |
/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/cluster/routing/RoutingNodes.java:770: warning - Tag @see: can't find removeAndIgnore(AllocationStatus) in org.elasticsearch.cluster.routing.RoutingNodes.UnassignedShards.UnassignedIterator | |
/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/cluster/routing/RoutingNodes.java:745: warning - Tag @link: can't find removeAndIgnore(AllocationStatus) in org.elasticsearch.cluster.routing.RoutingNodes.UnassignedShards.UnassignedIterator | |
/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/common/io/stream/Writeable.java:44: warning - Tag @link: can't find readOptionalWriteable(Reader) in org.elasticsearch.common.io.stream.StreamInput | |
/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/search/highlight/AbstractHighlighterBuilder.java:312: warning - Tag @link: can't find order(Order) in org.elasticsearch.search.highlight.AbstractHighlighterBuilder | |
/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/rest/action/support/RestActions.java:108: warning - Tag @see: can't find buildNodesHeader(XContentBuilder, Params, int, int, int, List) in org.elasticsearch.rest.action.support.RestActions | |
/usr/src/downloads/elasticsearch-feature-heatmap/core/src/main/java/org/elasticsearch/rest/action/support/RestActions.java:137: warning - Tag @see: can't find buildNodesHeader(XContentBuilder, Params, BaseNodesResponse) in org.elasticsearch.rest.action.support.RestActions | |
--------- | |
[2016-09-14 19:00:03,250][INFO ][transport ] [A25Xazv] publish_address {172.17.0.2:9300}, bound_addresses {[::]:9300} | |
[2016-09-14 19:00:03,263][INFO ][bootstrap ] [A25Xazv] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks | |
[2016-09-14 19:00:03,274][WARN ][bootstrap ] [] uncaught exception in thread [main] | |
org.elasticsearch.bootstrap.StartupError: java.lang.RuntimeException: bootstrap checks failed | |
initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap | |
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:105) | |
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:96) | |
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) | |
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:88) | |
at org.elasticsearch.cli.Command.main(Command.java:54) | |
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:75) | |
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:68) | |
Caused by: java.lang.RuntimeException: bootstrap checks failed | |
initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap | |
at org.elasticsearch.bootstrap.BootstrapCheck.check(BootstrapCheck.java:132) | |
at org.elasticsearch.bootstrap.BootstrapCheck.check(BootstrapCheck.java:85) | |
at org.elasticsearch.bootstrap.BootstrapCheck.check(BootstrapCheck.java:65) | |
at org.elasticsearch.bootstrap.Bootstrap$5.validateNodeBeforeAcceptingRequests(Bootstrap.java:178) | |
at org.elasticsearch.node.Node.start(Node.java:471) | |
at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:193) | |
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:257) | |
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:101) | |
... 6 more | |
Suppressed: java.lang.IllegalStateException: initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap | |
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) | |
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) | |
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) | |
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) | |
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) | |
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) | |
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) | |
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) | |
at org.elasticsearch.bootstrap.BootstrapCheck.check(BootstrapCheck.java:133) | |
... 13 more | |
[2016-09-14 19:00:03,282][INFO ][node ] [A25Xazv] stopping ... | |
[2016-09-14 19:00:03,348][INFO ][node ] [A25Xazv] stopped | |
[2016-09-14 19:00:03,348][INFO ][node ] [A25Xazv] closing ... | |
[2016-09-14 19:00:03,374][INFO ][node ] [A25Xazv] closed | |
----------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# java8 | |
export JAVA_HOME=XXX | |
wget https://services.gradle.org/distributions/gradle-2.13-all.zip | |
unzip gradle-2.13-all.zip | |
wget https://github.com/o19s/elasticsearch/archive/feature/heatmap.zip | |
unzip heatmap.zip | |
gradle-2.13/bin/gradle assemble | |
gradle-2.13/bin/gradle install | |
unzip elasticsearch/distribution/zip/build/distributions/elasticsearch-5.0.0-alpha5-SNAPSHOT.zip | |
# start | |
./distribution/zip/build/distributions/elasticsearch-5.0.0-alpha5-SNAPSHOT/bin/elasticsearch | |
curl localhost:9200 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
django_1 | [19/Sep/2016 20:40:33] "GET /registry/hypermap/api/?q.time=%5B1900-01-01%20TO%202016-12-31T00%3A00%3A00%5D&q.geo=%5B-90%2C-180%20TO%2090%2C180%5D&d.docs.limit=0&d.docs.page=1&d.docs.sort=score&a.time.limit=0&a.time.gap=P1D&a.hm.limit=0&a.hm.gridlevel=0&a.text.limit=0&a.user.limit=0&original_response=0 HTTP/1.1" 400 498 | |
{ | |
"error": { | |
"root_cause": [ | |
{ | |
"reason": "unknown setting [index.aggs.articles_over_time.date_histogram.field] please check that any required plugins are installed, or check the breaking changes documentation for removed settings", | |
"type": "illegal_argument_exception" | |
} | |
], | |
"type": "illegal_argument_exception", | |
"reason": "unknown setting [index.aggs.articles_over_time.date_histogram.field] please check that any required plugins are installed, or check the breaking changes documentation for removed settings" | |
} | |
} | |
------------ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://elasticsearch.demos.tryolabs.com/