metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurens Vets <laur...@daemon.be>
Subject Upgrade from 0.4.0-rc to 0.4.0-release
Date Tue, 11 Jul 2017 18:35:58 GMT
Can someone confirm that the following instructions are correct for 
upgrading from 0.4.0-rc to 0.4.0-release? They seem to work for me, but 
my testing is rather limited.

# cd metron
# git checkout Metron_0.4.0
# mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
# cd metron-deployment/packaging/docker/rpm-docker
# mvn clean install -DskipTests -PHDP-2.5.0.0

# mkdir /localrepo/archive
# mv /localrepo/*.rpm /localrepo/archive
# cp -rp 
/root/metron/metron-deployment/packaging/docker/rpm-docker/RPMS/noarch/* 
/localrepo/
# cd /localrepo
# createrepo /localrepo

# ambari-server stop
# ambari-server install-mpack 
--mpack=/root/metron/metron-deployment/packaging/ambari/metron-mpack/target/metron_mpack-0.4.0.0.tar.gz

--verbose --force

Old 0.4.0-rc RPMs:
[root@metron1 localrepo]#  rpm -qa | grep metron
metron-data-management-0.4.0-201707052247.noarch
metron-profiler-0.4.0-201707052247.noarch
metron-indexing-0.4.0-201707052247.noarch
metron-parsers-0.4.0-201707052247.noarch
metron-elasticsearch-0.4.0-201707052247.noarch
metron-enrichment-0.4.0-201707052247.noarch
metron-rest-0.4.0-201707052247.noarch
metron-config-0.4.0-201707052247.noarch
metron-solr-0.4.0-201707052247.noarch
metron-pcap-0.4.0-201707052247.noarch
metron-common-0.4.0-201707052247.noarch
[root@metron1 localrepo]#

# rpm -Uvh metron*.rpm

New 0.4.0-release RPMs installed:
[root@metron1 localrepo]#  rpm -qa | grep metron
metron-config-0.4.0-201707111641.noarch
metron-pcap-0.4.0-201707111641.noarch
metron-enrichment-0.4.0-201707111641.noarch
metron-indexing-0.4.0-201707111641.noarch
metron-solr-0.4.0-201707111641.noarch
metron-data-management-0.4.0-201707111641.noarch
metron-elasticsearch-0.4.0-201707111641.noarch
metron-profiler-0.4.0-201707111641.noarch
metron-common-0.4.0-201707111641.noarch
metron-rest-0.4.0-201707111641.noarch
metron-parsers-0.4.0-201707111641.noarch
You have new mail in /var/spool/mail/root
[root@metron1 localrepo]#

# ambari-server start

Mime
View raw message