Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Maven build failing for Apache Metron on Ubuntu 16.04 LTS

Solved Go to solution

Maven build failing for Apache Metron on Ubuntu 16.04 LTS

New Contributor

When trying to build the packages my install always fails on the Metron Ambari Management pack with the following error below. Any assistance would be much appreciated. Trying to get the Dev VM build of ApacheMetron behind me. ugh

Ubuntu 16.04 Vagrant 1.8.1 Python 2.7.11 Ansible 2.0.0.2 Java 8 u 101 Oracle VirtualBox 5.0.16

All other components complete with a success but Ambari fails

[INFO] Metron ............................................. SUCCESS [  3.955 s]
[INFO] metron-analytics ................................... SUCCESS [  0.004 s]
[INFO] metron-maas-common ................................. SUCCESS [01:13 min]
[INFO] metron-platform .................................... SUCCESS [  0.003 s]
[INFO] metron-test-utilities .............................. SUCCESS [02:40 min]
[INFO] metron-integration-test ............................ SUCCESS [ 42.835 s]
[INFO] metron-maas-service ................................ SUCCESS [ 24.242 s]
[INFO] metron-common ...................................... SUCCESS [01:31 min]
[INFO] metron-hbase ....................................... SUCCESS [ 38.584 s]
[INFO] metron-profiler-common ............................. SUCCESS [  0.575 s]
[INFO] metron-profiler .................................... SUCCESS [ 29.940 s]
[INFO] metron-profiler-client ............................. SUCCESS [ 17.942 s]
[INFO] metron-writer ...................................... SUCCESS [  9.978 s]
[INFO] metron-enrichment .................................. SUCCESS [ 40.576 s]
[INFO] metron-indexing .................................... SUCCESS [  9.206 s]
[INFO] metron-solr ........................................ SUCCESS [01:49 min]
[INFO] metron-pcap ........................................ SUCCESS [  1.881 s]
[INFO] metron-parsers ..................................... SUCCESS [ 56.912 s]
[INFO] metron-pcap-backend ................................ SUCCESS [ 28.129 s]
[INFO] metron-data-management ............................. SUCCESS [02:10 min]
[INFO] metron-api ......................................... SUCCESS [01:14 min]
[INFO] metron-management .................................. SUCCESS [  6.340 s]
[INFO] elasticsearch-shaded ............................... SUCCESS [  8.736 s]
[INFO] metron-elasticsearch ............................... SUCCESS [ 48.892 s]
[INFO] metron-deployment .................................. SUCCESS [  0.002 s]
[INFO] Metron Ambari Management Pack ...................... FAILURE [  1.398 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:51 min
[INFO] Finished at: 2016-10-18T17:36:04-05:00
[INFO] Final Memory: 273M/5943M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (build-tarball) on project metron_mpack: Assembly is incorrectly configured: Assembly is incorrectly configured:
[ERROR] Assembly:  is not configured correctly: Assembly ID must be present and non-empty.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :metron_mpack
proadmin@metron:/opt/incubator-metron$


1 ACCEPTED SOLUTION

Accepted Solutions

Re: Maven build failing for Apache Metron on Ubuntu 16.04 LTS

@Cody Betsworth

Ubuntu is not supported for deployments. Please read the last line of this page: https://github.com/apache/incubator-metron/tree/master/metron-deployment. "Support Ubuntu deployments" is in TODO list.

TODO

  • migrate existing MySQL/GeoLite playbook
  • Support Ubuntu deployments

+++

If the response was helpful, please vote and accept as the best answer.

2 REPLIES 2

Re: Maven build failing for Apache Metron on Ubuntu 16.04 LTS

@Cody Betsworth

Ubuntu is not supported for deployments. Please read the last line of this page: https://github.com/apache/incubator-metron/tree/master/metron-deployment. "Support Ubuntu deployments" is in TODO list.

TODO

  • migrate existing MySQL/GeoLite playbook
  • Support Ubuntu deployments

+++

If the response was helpful, please vote and accept as the best answer.

Re: Maven build failing for Apache Metron on Ubuntu 16.04 LTS

New Contributor

Hey , could you please take out time to help me as well?: https://community.hortonworks.com/questions/77000/fatal-node1-failed-changed-false-failed-true-msg-v...

could you please spare sometime and have a look at this? thanks for your time.

Don't have an account?
Coming from Hortonworks? Activate your account here