Can you post your ansible.log somewhere online (Gist?) so that I can take a look?
On Sun, May 21, 2017 at 10:08 AM, Michael Jones <[email protected]> wrote: > Thanks Nick. I have three things to report. > > 1. This link (http://metron.incubator.apache.org/current-book/ > metron-deployment/amazon-ec2/index.html) says: > > " > After the deployment has completed successfully, a message like the > following will be displayed. Navigate to the specified resources to explore > your newly minted Apache Metron environment. > > TASK [debug] ****************************** > ************************************* > ok: [localhost] => { > "Success": [ > "Apache Metron deployed successfully", > " Metron @ http://ec2-52-37-255-142.us- > west-2.compute.amazonaws.com:5000", > " Ambari @ http://ec2-52-37-225-202.us- > west-2.compute.amazonaws.com:8080", > " Sensors @ ec2-52-37-225-202.us-west-2.compute.amazonaws.com on > tap0", > "For additional information, see https://metron.incubator. > apache.org/'" > ] > } > > " > > I never saw that message. > > > > > 2. I ran this script /usr/bin/metron/metron-deployment/scripts/platform- > info.sh > > Here is the output: > > Metron 0.4.0 > -- > * master > -- > commit 356881ad22edc7c08d8a8f3812192333210f3c8e > Author: cstella <[email protected]> > Date: Sat May 20 09:59:02 2017 -0400 > > METRON-966: Pcap topology does not commit offsets closes > apache/incubator-metron#597 > -- > metron-deployment/amazon-ec2/ansible.cfg | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > -- > ansible 2.2.2.0 > config file = /usr/bin/metron/metron-deployment/amazon-ec2/ansible.cfg > configured module search path = ['../extra_modules'] > -- > Vagrant 1.8.1 > -- > Python 2.7.5 > -- > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T15:39:06-04:00) > Maven home: /usr/local/apache-maven > Java version: 1.8.0_131, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-2.b11.el7_3. > x86_64/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.10.0-514.16.1.el7.x86_64", arch: "amd64", > family: "unix" > -- > Docker version 1.12.6, build 3a094bd/1.12.6 > -- > node > v6.10.3 > -- > npm > 3.10.10 > -- > Linux FQDN_REMOVED.el7.x86_64 #1 SMP Fri Mar 10 13:12:32 EST 2017 x86_64 > x86_64 x86_64 GNU/Linux > -- > Total System Memory = 991.188 MB > Processor Model: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz > Processor Speed: 2399.937 MHz > Total Physical Processors: 1 > Total cores: 1 > Disk information: > /dev/xvda2 10G 3.1G 7.0G 31% / > > > > > 3. I tried going to URLs of different AWS servers over the default port, > port 5000 and port 8080. Nothing resolved in my web browser. > > Please let me know what I can do to successfully deploy Metron to AWS. > > sincerely, > > Mike > > > On Sat, May 20, 2017 at 8:05 AM, Nick Allen <[email protected]> wrote: > >> That is only a warning. You will need to dig down a bit farther down to >> get the error. Also, run `metron-deployment/scripts/platform-info.sh` >> and send the output back to us with the error that you find. >> >> On Fri, May 19, 2017 at 11:33 PM, Michael Jones <[email protected]> wrote: >> >>> Hello, >>> >>> I am trying to deploy Apache Metron to AWS. >>> >>> I am using this Git repo: >>> https://github.com/apache/metron.git >>> >>> When I run the script (run.sh), nine servers are created properly. One >>> is not. For the failed one, there is a corresponding Ansible/Java error. >>> This is the error: >>> >>> >>> TASK [metron-builder : Build Metron] ****************************** >>> ************* >>> fatal: [ec2-54-202-172-153.us-west-2.compute.amazonaws.com -> >>> localhost]: FAILED! => {"changed": true, "cmd": "cd >>> /usr/bin./playbooks/../.. && mvn clean package -DskipTests -T 2C -P >>> HDP-2.5.0.0,mpack", "delta": "0:01:07.352659", "end": "2017-05"rc": 1, >>> "start": "2017-05-19 23:11:21.029466", "stderr": >>> "/usr/bin/metron/metron-analytics/metron-maas-common/src/main/jal.java:64: >>> warning: [DefaultCharset] Implicit use of the platform default charset, >>> which can result in e.g. non-ASCII char' in many environments\n return >>> new BufferedReader(new InputStreamReader(response.get >>> Entity().getContent()))\n //errorprone.info/bugpattern/D >>> efaultCharset)\n Did you mean 'return new BufferedReader(new >>> InputStreamReader(response.getturn new BufferedReader(new >>> InputStreamReader(response.getEntity().getContent(), >>> Charset.defaultCharset()))'?\nNote: /usr/s-common/src/main/java/or >>> g/apache/metron/maas/util/RESTUtil.java uses or overrides a deprecated >>> API.\nNote: Recompile withrning\nwarning: No SupportedSourceVersion >>> annotation found on org.adrianwalker.multilinestring.MultilineProcessor, >>> returnice version 'RELEASE_6' from annotation processor >>> 'org.adrianwalker.multilinestring.MultilineProcessor' less than -source >>> 'dSourceVersion annotation found on >>> org.adrianwalker.multilinestring.MultilineProcessor, >>> returning RELEASE_6.\nwarning: Sup annotation processor >>> 'org.adrianwalker.multilinestring.MultilineProcessor' less than -source >>> '1.8'\n/usr/bin/metron/metroain/java/org/apache/metron/test/utils/KafkaLoader.java:64: >>> warning: [unchecked] unchecked call to send(ProducerRecord<K,V>ducer\n >>> kafkaProducer.send(new ProducerRecord<String, String>(topic, >>> line));\n ^\n whends Object declared in >>> class KafkaProducer\n V extends Object declared in class >>> KafkaProducer\n/usr/bin/metron/metron-n/java/org/apache/metr >>> on/test/utils/KafkaLoader.java:61: warning: [DefaultCharset] Implicit >>> use of the platform default chCII characters being silently replaced with >>> '?' in many environments\n BufferedReader reader = new >>> BufferedReader( >>> >>> >>> >>> What should I do? >>> >>> thanks, >>> >>> Mike >>> >> >> >
