Support Questions
Find answers, ask questions, and share your expertise

Metron rest start-up

Metron rest start-up

Hi ,

I am trying to run Metron using Ambari on Amazon EC2 instance. I downloaded Metron rest and on a metron node and trying to start the process. But I am getting socket errors. Help much appreciated.

19497-socket.png

2 REPLIES 2

Re: Metron rest start-up

Super Collaborator

Hey @Rahul P,

- Which version are you running?

- Can you confirm that you have the following Metron REST related parameters set correctly? You can check this in the Ambari UI -> Metron -> Config -> Advanced tab [or.. the tab name could be a bit different if you're running a latest version]

Metron JDBC Driver = org.h2.Driver
Metron JDBC password = root
Metron JDBC platform = h2
Metron JDBC URL = jdbc:h2:file:~/metrondb
Metron JDBC username = root
Active Spring profiles = dev

Re: Metron rest start-up

@asubramanian below is my application.yml file. And versions are:

Metron0.4.0.1.1.0.0

hcp is 1.1.0.0-71

server: port: 8082

spring:

datasource: driver

ClassName: com.mysql.jdbc.Driver

url: jdbc:mysql://ip-10-0-1-203.ec2.internal:3306/metronrest

username: Admin

password: Admin

platform: h2

jpa:

hibernate: ddl-auto: update

zookeeper:

url: ${ip-10-0-1-203.ec2.internal:2181,ip-10-0-1-108.ec2.internal:2181,ip-10-0 -1-74.ec2.internal:2181}

kafka:

broker:

url: ${ip-10-0-1-108.ec2.internal:6667,ip-10-0-1-74.ec2.internal:6667}

hdfs:

namenode:

url: ${ip-10-0-1-203.ec2.internal:8020}

grok:

path:

temp: ./patterns/temp default: /apps/metron/patterns

storm:

ui:

url: ${ip-10-0-1-203.ec2.internal:8744}

parser: script.path: /usr/hcp/1.1.0.0-71/metron/bin/start_parser_topology.sh

enrichment: script.path: /usr/hcp/1.1.0.0-71/metron/bin/start_enrichment_topology.sh

indexing: script.path: /usr/hcp/1.1.0.0-71/metron/bin/start_elasticsearch_topology.sh