metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Allen (JIRA)" <>
Subject [jira] [Created] (METRON-1831) Project Version Substitution Not Working
Date Fri, 19 Oct 2018 16:13:00 GMT
Nick Allen created METRON-1831:

             Summary: Project Version Substitution Not Working
                 Key: METRON-1831
             Project: Metron
          Issue Type: Bug
            Reporter: Nick Allen

Steps to Replicate:
 # Spin-up development environment.
 # Launch REPL.
 # Notice the warning:
bin/stellar: line 36: ${project.version}: bad substitution{code}

[root@node1 ~]# source /etc/default/metron
[root@node1 ~]# cd $METRON_HOME
[root@node1 0.6.1]# bin/stellar -z $ZOOKEEPER
bin/stellar: line 36: ${project.version}: bad substitution
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/metron/0.6.1/lib/metron-profiler-repl-0.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Stellar, Go!
Functions are loading lazily in the background and will be unavailable until loaded fully.
{es.clustername=metron, es.ip=node1:9300,, parser.error.topic=indexing,
update.hbase.table=metron_update,, es.client.settings={client.transport.ping_timeout=500s},, profiler.client.period.duration=15, profiler.client.period.duration.units=MINUTES,
user.settings.hbase.table=user_settings,, bootstrap.servers=node1:6667,
source.type.field=source:type, threat.triage.score.field=threat:triage:score, enrichment.writer.batchSize=15,
enrichment.writer.batchTimeout=0, profiler.writer.batchSize=15, profiler.writer.batchTimeout=0,

This only seems to be a problem with the $METRON_HOME/bin/stellar script.
[root@node1 0.6.1]# grep project.version bin/*
bin/stellar:export METRON_VERSION="${METRON_VERSION:-${project.version}}"{code}

This message was sent by Atlassian JIRA

View raw message