[
https://issues.apache.org/jira/browse/METRON-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Leet updated METRON-1831:
--------------------------------
Fix Version/s: 0.7.0
> Project Version Substitution Not Working
> ----------------------------------------
>
> Key: METRON-1831
> URL: https://issues.apache.org/jira/browse/METRON-1831
> Project: Metron
> Issue Type: Bug
> Reporter: Nick Allen
> Assignee: Nick Allen
> Priority: Major
> Fix For: 0.7.0
>
>
> Steps to Replicate:
> # Spin-up development environment.
> # Launch REPL.
> # Notice the warning:
> {code:java}
> bin/stellar: line 36: ${project.version}: bad substitution{code}
>
> {code:java}
> [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/2.6.5.0-292/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings 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, es.date.format=yyyy.MM.dd.HH,
> parser.error.topic=indexing, update.hbase.table=metron_update,
> update.hbase.cf=t, es.client.settings={client.transport.ping_timeout=500s},
> es.document.id=, profiler.client.period.duration=15,
> profiler.client.period.duration.units=MINUTES,
> user.settings.hbase.table=user_settings, user.settings.hbase.cf=cf,
> 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,
> geo.hdfs.file=/apps/metron/geo/default/GeoLite2-City.mmdb.gz}{code}
>
> This only seems to be a problem with the $METRON_HOME/bin/stellar script.
> {code:java}
> [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
(v7.6.3#76005)