metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Subramanian <asubraman...@hortonworks.com>
Subject Re: Having difficulty setting up both QuickDev and FullDev
Date Thu, 20 Apr 2017 16:53:29 GMT
I am seeing the same issue that Rita mentioned with full-dev on latest master. I have docker
up and running, but the RPMs are still not built.

Here is the output from mvn build-rpms:
--
➜  metron-deployment git:(master) mvn clean package -Pbuild-rpms -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] metron-deployment
[INFO] metron-rpm
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building metron-deployment 0.4.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ metron-deployment ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building metron-rpm 0.4.0
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.hortonworks.com/content/repositories/releases/org/apache/metron/metron-platform/0.4.0/metron-platform-0.4.0.pom
[WARNING] The POM for org.apache.metron:metron-platform:pom:0.4.0 is missing, no dependency
information available
Downloading: http://repo.hortonworks.com/content/repositories/releases/org/apache/metron/metron-analytics/0.4.0/metron-analytics-0.4.0.pom
[WARNING] The POM for org.apache.metron:metron-analytics:pom:0.4.0 is missing, no dependency
information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] metron-deployment .................................. SUCCESS [  0.113 s]
[INFO] metron-rpm ......................................... FAILURE [  2.353 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.569 s
[INFO] Finished at: 2017-04-20T22:17:37+05:30
[INFO] Final Memory: 12M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project metron-rpm: Could not resolve dependencies for project
org.apache.metron:metron-rpm:pom:0.4.0: The following artifacts could not be resolved: org.apache.metron:metron-platform:pom:0.4.0,
org.apache.metron:metron-analytics:pom:0.4.0: Failure to find org.apache.metron:metron-platform:pom:0.4.0
in http://clojars.org/repo was cached in the local repository, resolution will not be reattempted
until the update interval of clojars.org has elapsed or updates are forced -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :metron-rpm


--


Here is my setup info:
--
➜  metron-deployment git:(master) scripts/platform-info.sh
Metron 0.4.0
--
* master
--
--
--
ansible 2.0.0.2
  config file = /Users/asubramanian/Desktop/Metron/incubator-metron-fork/incubator-metron-3/incubator-metron/metron-deployment/ansible.cfg
  configured module search path = extra_modules
--
Vagrant 1.8.1
--
Python 2.7.12
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_91, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
--
Darwin HW12724-3.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan  9 23:07:29 PST 2017;
root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64
--
Total System Memory = 16384 MB
Processor Model: Intel(R) Core(TM) i7-4870HQ CPU
Processor Speed: 2.50GHz
Total Physical Processors: 4
Total cores: 4
Disk information:
/dev/disk1     465Gi  384Gi   81Gi    83% 100646817 21196893   83%   /


--

Regards,
Anand 




On 4/20/17, 5:54 AM, "JJ Meyer" <jjmeyer0@gmail.com> wrote:

>It looks like it may be failing to build the rpms. I *believe* I faced this
>error a little while ago and I started docker service, re-ran vagrant, and
>everything went well after that.
>
>Thanks,
>JJ
>
>On Wed, Apr 19, 2017 at 3:28 PM, Zeolla@GMail.com <zeolla@gmail.com> wrote:
>
>> Hmm, I just spun up full-dev without an issue.  I had a similar issue the
>> other day which was fixed via this
>> <https://github.com/apache/incubator-metron/commit/
>> 84f336b372be271abb563b1a19f2af462fe6de2d>,
>> can you merge in master and retry?
>>
>> Jon
>>
>> On Wed, Apr 19, 2017 at 3:35 PM Rita McKissick <rmckissick@hortonworks.com
>> >
>> wrote:
>>
>> > I’m not able to complete either the QuickDev or the FullDev set up.
>> >
>> > Specifically, I’m getting the following error messages:
>> >
>> > QuickDev
>> >
>> > fatal: [node1]: UNREACHABLE! => {"changed": false, "msg": "ERROR! SSH
>> > encountered an unknown error during the connection. We recommend you
>> re-run
>> > the command using -vvvv, which will enable SSH debugging output to help
>> > diagnose the issue", "unreachable": true}
>> >
>> > Ansible failed to complete successfully. Any error output should be
>> > visible above. Please fix these errors and try again.
>> >
>> > FullDev
>> >
>> > fatal: [node1 -> localhost]: FAILED! => {"changed": true, "cmd": "cd
>> > /Users/rmckissick/Sandbox/Metron-UI-validate-FullDev/
>> incubator-metron/metron-deployment/playbooks/../../metron-deployment
>> > && mvn clean package -DskipTests -P build-rpms", "delta":
>> "0:00:04.277512",
>> > "end": "2017-04-19 10:28:51.788846", "failed": true, "rc": 1, "start":
>> > "2017-04-19 10:28:47.511334", "stderr": "", "stdout": "[INFO] Scanning
>> for
>> > projects...\n[INFO]
>> > ------------------------------------------------------------
>> ------------\n[INFO]
>> > Reactor Build Order:\n[INFO] \n[INFO] metron-deployment\n[INFO]
>> > metron-rpm\n[INFO]
>> >                \n[INFO]
>> > ------------------------------------------------------------
>> ------------\n[INFO]
>> > Building metron-deployment 0.4.0\n[INFO]
>> > ------------------------------------------------------------
>> ------------\n[INFO]
>> > \n[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
>> > metron-deployment ---\n[INFO]
>> >                            \n[INFO]
>> > ------------------------------------------------------------
>> ------------\n[INFO]
>> > Building metron-rpm 0.4.0\n[INFO]
>> > ------------------------------------------------------------
>> ------------\nDownloading:
>> >
>> > http://repo.hortonworks.com/content/repositories/releases/
>> org/apache/metron/metron-platform/0.4.0/metron-platform-0.4.0.pom\n\r[
>> WARNING]
>> > The POM for org.apache.metron:metron-platform:pom:0.4.0 is missing, no
>> > dependency information available\nDownloading:
>> > http://repo.hortonworks.com/content/repositories/releases/
>> org/apache/metron/metron-analytics/0.4.0/metron-analytics-0.4.0.pom\n\r[
>> WARNING]
>> > The POM for org.apache.metron:metron-analytics:pom:0.4.0 is missing, no
>> > dependency information available\n[INFO]
>> > ------------------------------------------------------------
>> ------------\n[INFO]
>> > Reactor Summary:\n[INFO] \n[INFO] metron-deployment
>> > .................................. SUCCESS [  0.218 s]\n[INFO]
>> metron-rpm
>> > ......................................... FAILURE [  1.472 s]\n[INFO]
>> > ------------------------------------------------------------
>> ------------\n[INFO]
>> > BUILD FAILURE\n[INFO]
>> > ------------------------------------------------------------
>> ------------\n[INFO]
>> > Total time: 1.918 s\n[INFO] Finished at: 2017-04-19T10:28:51-07:00\n[
>> INFO]
>> > Final Memory: 11M/245M\n[INFO]
>> > ------------------------------------------------------------
>> ------------\n[ERROR]
>> > Failed to execute goal on project metron-rpm: Could not resolve
>> > dependencies for project org.apache.metron:metron-rpm:pom:0.4.0: The
>> > following artifacts could not be resolved:
>> > org.apache.metron:metron-platform:pom:0.4.0,
>> > org.apache.metron:metron-analytics:pom:0.4.0: Failure to find
>> > org.apache.metron:metron-platform:pom:0.4.0 in http://clojars.org/repo
>> > was cached in the local repository, resolution will not be reattempted
>> > until the update interval of clojars.org has elapsed or updates are
>> > forced -> [Help 1]\n[ERROR] \n[ERROR] To see the full stack trace of the
>> > errors, re-run Maven with the -e switch.\n[ERROR] Re-run Maven using the
>> -X
>> > switch to enable full debug logging.\n[ERROR] \n[ERROR] For more
>> > information about the errors and possible solutions, please read the
>> > following articles:\n[ERROR] [Help 1]
>> > http://cwiki.apache.org/confluence/display/MAVEN/
>> DependencyResolutionException\n[ERROR]
>> > \n[ERROR] After correcting the problems, you can resume the build with
>> the
>> > command\n[ERROR]   mvn <goals> -rf :metron-rpm", "stdout_lines": ["[INFO]
>> > Scanning for projects...", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "[INFO] Reactor Build Order:", "[INFO] ", "[INFO] metron-deployment",
>> > "[INFO] metron-rpm", "[INFO]
>> >                          ", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "[INFO] Building metron-deployment 0.4.0", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "[INFO] ", "[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
>> > metron-deployment ---", "[INFO]
>> >                              ", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "[INFO] Building metron-rpm 0.4.0", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "Downloading:
>> > http://repo.hortonworks.com/content/repositories/releases/
>> org/apache/metron/metron-platform/0.4.0/metron-platform-0.4.0.pom",
>> > "", "[WARNING] The POM for org.apache.metron:metron-platform:pom:0.4.0
>> is
>> > missing, no dependency information available", "Downloading:
>> > http://repo.hortonworks.com/content/repositories/releases/
>> org/apache/metron/metron-analytics/0.4.0/metron-analytics-0.4.0.pom",
>> > "", "[WARNING] The POM for org.apache.metron:metron-analytics:pom:0.4.0
>> is
>> > missing, no dependency information available", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "[INFO] Reactor Summary:", "[INFO] ", "[INFO] metron-deployment
>> > .................................. SUCCESS [  0.218 s]", "[INFO]
>> metron-rpm
>> > ......................................... FAILURE [  1.472 s]", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "[INFO] BUILD FAILURE", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "[INFO] Total time: 1.918 s", "[INFO] Finished at:
>> > 2017-04-19T10:28:51-07:00", "[INFO] Final Memory: 11M/245M", "[INFO]
>> > ------------------------------------------------------------
>> ------------",
>> > "[ERROR] Failed to execute goal on project metron-rpm: Could not resolve
>> > dependencies for project org.apache.metron:metron-rpm:pom:0.4.0: The
>> > following artifacts could not be resolved:
>> > org.apache.metron:metron-platform:pom:0.4.0,
>> > org.apache.metron:metron-analytics:pom:0.4.0: Failure to find
>> > org.apache.metron:metron-platform:pom:0.4.0 in http://clojars.org/repo
>> > was cached in the local repository, resolution will not be reattempted
>> > until the update interval of clojars.org has elapsed or updates are
>> > forced -> [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/
>> DependencyResolutionException",
>> > "[ERROR] ", "[ERROR] After correcting the problems, you can resume the
>> > build with the command", "[ERROR]   mvn <goals> -rf :metron-rpm"],
>> > "warnings": []}
>> >
>> > Could I get some help with determining what’s going wrong.
>> >
>> > Thanks,
>> >
>> > Rita
>> >
>> > Rita McKissick ! Sr. Technical Writer
>> >
>> >
>> > --
>>
>> Jon
>>
Mime
View raw message