You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by "Kwang-in (Dennis) JUNG (JIRA)" <ji...@apache.org> on 2017/02/11 14:11:41 UTC

[jira] [Created] (STREAMS-491) Example failure

Kwang-in (Dennis) JUNG created STREAMS-491:
----------------------------------------------

             Summary: Example failure
                 Key: STREAMS-491
                 URL: https://issues.apache.org/jira/browse/STREAMS-491
             Project: Streams
          Issue Type: Test
            Reporter: Kwang-in (Dennis) JUNG
            Priority: Trivial


Hello~I'm newbee in streams. Hope this is not a silly qustion...
I'm currently testing on running example, but keep failing on it.
The test is http://streams.incubator.apache.org/site/0.5-incubating-SNAPSHOT/streams-examples/streams-examples-local/elasticsearch-hdfs/index.html .

As mentioned, I am running the task with elasticsearch running.
It happens when I work on 'mvn -PdockerITs docker:start' after install.

================
[INFO] DOCKER> [elasticsearch:2.3.5] "elasticsearch": Start container 13d02afcecb7
14:47:32.410 elasticsearch> [2017-02-08 05:47:32,407][WARN ][bootstrap                ] unable to install syscall filter: seccomp unavailable: your kernel is buggy and you should upgrade
14:47:32.937 elasticsearch> [2017-02-08 05:47:32,936][INFO ][node                     ] [Banshee] version[2.3.5], pid[1], build[90f439f/2016-07-27T10:36:52Z]
14:47:32.937 elasticsearch> [2017-02-08 05:47:32,937][INFO ][node                     ] [Banshee] initializing ...
[ERROR] DOCKER> Cannot process chunk response: java.io.IOException: Bad file descriptor
[ERROR] DOCKER> [elasticsearch:2.3.5] "elasticsearch": Timeout after 20474 ms while waiting on url http://localhost:32818 and on log out 'elasticsearch startup'
[ERROR] DOCKER> Error occurred during container startup, shutting down...
[INFO] DOCKER> [elasticsearch:2.3.5] "elasticsearch": Stop and remove container 13d02afcecb7
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] streams-examples ................................... FAILURE [ 27.445 s]
[INFO] streams-examples-flink ............................. SKIPPED
[INFO] flink-twitter-collection ........................... SKIPPED
[INFO] streams-examples-local ............................. SKIPPED
[INFO] elasticsearch-hdfs ................................. SKIPPED
[INFO] elasticsearch-reindex .............................. SKIPPED
[INFO] mongo-elasticsearch-sync ........................... SKIPPED
[INFO] twitter-follow-neo4j ............................... SKIPPED
[INFO] twitter-history-elasticsearch ...................... SKIPPED
[INFO] twitter-userstream-elasticsearch ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.342 s
[INFO] Finished at: 2017-02-08T14:47:54+09:00
[INFO] Final Memory: 23M/285M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.15.0:start (default-cli) on project streams-examples: [elasticsearch:2.3.5] "elasticsearch": Timeout after 20474 ms while waiting on url http://localhost:32818 and on log out 'elasticsearch startup' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:docker-maven-plugin:0.15.0:start (default-cli) on project streams-examples: [elasticsearch:2.3.5] "elasticsearch": Timeout after 20474 ms while waiting on url http://localhost:32818 and on log out 'elasticsearch startup'
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: [elasticsearch:2.3.5] "elasticsearch": Timeout after 20474 ms while waiting on url http://localhost:32818 and on log out 'elasticsearch startup'
    at io.fabric8.maven.docker.StartMojo.waitIfRequested(StartMojo.java:227)
    at io.fabric8.maven.docker.StartMojo.executeInternal(StartMojo.java:114)
    at io.fabric8.maven.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:164)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    ... 20 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
================
My es version is 5.2.0, and I'm working on OSX 10.10.

Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)