yous / pinpoint-docker

Docker for Pinpoint
https://hub.docker.com/r/yous/pinpoint/
MIT License
37 stars 12 forks source link

quickstart/bin/start-collector.sh not initializing... #3

Closed tatonki1 closed 7 years ago

tatonki1 commented 7 years ago

I just pulled the latest pinpoint docker image - successfully ran the 1st two of these commands on my mac OS X device...

2 quickstart/bin/start-hbase.sh 3 quickstart/bin/init-hbase.sh 4 quickstart/bin/start-collector.sh But the collector failed to initialize...

root@08eab01:/pinpoint# quickstart/bin/start-collector.sh ---check pinpoint-quickstart-collector process status.--- ---initialize pinpoint-quickstart-collector logs.--- rm /pinpoint/quickstart/logs/quickstart.collector.log. rm /pinpoint/quickstart/logs/pid/quickstart.collector.pid. ---pinpoint-quickstart-collector initialization started. pid=6620.--- starting pinpoint-quickstart-collector. 0 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 5 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 10 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 15 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 20 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 25 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 30 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 35 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 40 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 45 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 50 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 55 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 60 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 65 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 70 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 75 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 80 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 85 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 90 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 95 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 100 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 105 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 110 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 115 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 120 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 125 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 130 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 135 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 140 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 145 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 150 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 155 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 160 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 165 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 170 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 175 /180 sec(close wait limit). starting pinpoint-quickstart-collector. 180 /180 sec(close wait limit). ---pinpoint-quickstart-collector initialization failed. pid=6620.---

Log file shows...

more quickstart/logs/quickstart.collector.log [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.navercorp.pinpoint:pinpoint-quickstart-collector:war:1.5.2 [WARNING] 'version' contains an expression but should be a constant. @ com.navercorp.pinpoint:pinpoint-quickstart-collector:${maven.pinpoint.version}, /pinpoint/quicks tart/collector/pom.xml, line 11, column 14 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ com.navercorp.pinpoint:pinpoint-quickstart-collector:${maven.pinpo int.version}, /pinpoint/quickstart/collector/pom.xml, line 41, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.2/maven-war-plugin-2.2.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-war-plugin:2.2: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its de pendencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2 Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/properties-maven-plugin/1.0-alpha-2/properties-maven-plugin-1.0-alpha-2.pom [WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2: Plugin org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:properties-maven-plugin:jar:1.0-alpha-2 Downloading: https://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.pom

I'm stuck, any help would be much appreciated! thanks.

yous commented 7 years ago

I think there was some network problems? I just ran quickstart/bin/start-collector.sh on Ubuntu 16.04 LTS VM, and quickstart/logs/quickstart.collector.log starts with:

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.navercorp.pinpoint:pinpoint-quickstart-collector:war:1.5.2
[WARNING] 'version' contains an expression but should be a constant. @ com.navercorp.pinpoint:pinpoint-quickstart-collector:${maven.pinpoint.version}, /pinpoint/quickstart/collector/pom.xml, line 11, column 14
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ com.navercorp.pinpoint:pinpoint-quickstart-collector:${maven.pinpoint.version}, /pinpoint/quickstart/collector/pom.xml, line 41, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.2/maven-war-plugin-2.2.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.2/maven-war-plugin-2.2.pom (7 KB at 3.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.2/maven-war-plugin-2.2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.2/maven-war-plugin-2.2.jar (77 KB at 84.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/properties-maven-plugin/1.0-alpha-2/properties-maven-plugin-1.0-alpha-2.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/properties-maven-plugin/1.0-alpha-2/properties-maven-plugin-1.0-alpha-2.pom (4 KB at 9.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/21/mojo-parent-21.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/21/mojo-parent-21.pom (19 KB at 42.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/properties-maven-plugin/1.0-alpha-2/properties-maven-plugin-1.0-alpha-2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/properties-maven-plugin/1.0-alpha-2/properties-maven-plugin-1.0-alpha-2.jar (15 KB at 38.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.pom (12 KB at 30.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat-maven-plugin/2.2/tomcat-maven-plugin-2.2.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat-maven-plugin/2.2/tomcat-maven-plugin-2.2.pom (33 KB at 64.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/12/apache-12.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/apache/12/apache-12.pom (0 B at 0.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.jar (112 KB at 145.2 KB/sec)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Pinpoint Collector QuickStart 1.5.2
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom (4 KB at 11.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar (25 KB at 44.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.1/maven-compiler-plugin-3.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.1/maven-compiler-plugin-3.1.pom (10 KB at 27.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.1/maven-compiler-plugin-3.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.1/maven-compiler-plugin-3.1.jar (42 KB at 79.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.pom (11 KB at 23.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.12.4/surefire-2.12.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.12.4/surefire-2.12.4.pom (14 KB at 31.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.jar (30 KB at 61.3 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pinpoint-quickstart-collector ---
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ pinpoint-quickstart-collector ---
...
yous commented 7 years ago

@tatonki1 Have you solved the problem? If there is any problem, please let me know.

tatonki1 commented 7 years ago

Thank you, Yous - everything is working now; not sure if it was a network issue - but i restarted all the services and am now working.

yous commented 7 years ago

That's good. If you have any problem, feel free to file a new issue.