ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12134) Update poms to target 1.7 JRE
Date Sun, 26 Jul 2015 13:39:04 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641968#comment-14641968
] 

Jayush Luniya commented on AMBARI-12134:
----------------------------------------

mvn clean test
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [3.251s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.031s]
[INFO] Ambari Web ........................................ SUCCESS [36.674s]
[INFO] Ambari Views ...................................... SUCCESS [2.536s]
[INFO] Ambari Admin View ................................. SUCCESS [9.583s]
[INFO] ambari-metrics .................................... SUCCESS [0.274s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.298s]
[INFO] Ambari Metrics Hadoop Sink ........................ SUCCESS [2.973s]
[INFO] Ambari Metrics Flume Sink ......................... SUCCESS [1.645s]
[INFO] Ambari Metrics Kafka Sink ......................... SUCCESS [2.952s]
[INFO] Ambari Metrics Storm Sink ......................... SUCCESS [1.262s]
[INFO] Ambari Metrics Collector .......................... SUCCESS [6:20.949s]
[INFO] Ambari Metrics Monitor ............................ SUCCESS [1.924s]
[INFO] Ambari Metrics Assembly ........................... SUCCESS [3:03.988s]
[INFO] Ambari Server ..................................... SUCCESS [48:39.989s]
[INFO] Ambari Agent ...................................... SUCCESS [9.282s]
[INFO] Ambari Client ..................................... SUCCESS [0.030s]
[INFO] Ambari Python Client .............................. SUCCESS [0.353s]
[INFO] Ambari Groovy Client .............................. SUCCESS [10.509s]
[INFO] Ambari Shell ...................................... SUCCESS [0.029s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.037s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [7.165s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59:37.625s
[INFO] Finished at: Sun Jul 26 06:30:14 PDT 2015
[INFO] Final Memory: 100M/1079M
[INFO] ------------------------------------------------------------------------

> Update poms to target 1.7 JRE
> -----------------------------
>
>                 Key: AMBARI-12134
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12134
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Jonathan Halterman
>            Assignee: Jayush Luniya
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12134-7.patch
>
>
> The ambari parent pom is targeted towards Java 1.6 while ambari uses 1.7 APIs. The ambari
metrics pom is targeted at java 1.5 (by default) while ambari-metrics uses 1.6 APIs. This
causes basic compilation and test failures, depending on how you build the projects and what
tools you use to work on them. Additionally, right now Ambari users will hit unexpected exceptions
when they execute and 1.7 code (of which there is some in ambari-server) since the compilation
target is currently 1.6.
> AFAIK Ambari 2.1 and beyond are targeted at 1.7, so the Java versions in the POMs should
be updated to reflect this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message