You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ds...@apache.org on 2016/06/21 10:05:32 UTC

ambari git commit: AMBARI-17325 Ambari Metrics service check failed exceed timeout due to invalid Phoenix JARS (avijayan via dsen)

Repository: ambari
Updated Branches:
  refs/heads/trunk bd4d3b6eb -> ff0325146


AMBARI-17325 Ambari Metrics service check failed exceed timeout due to invalid Phoenix JARS (avijayan via dsen)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ff032514
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ff032514
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ff032514

Branch: refs/heads/trunk
Commit: ff0325146bd4d45d6de25362ee580f564bfaa58e
Parents: bd4d3b6
Author: Dmytro Sen <ds...@apache.org>
Authored: Tue Jun 21 13:05:00 2016 +0300
Committer: Dmytro Sen <ds...@apache.org>
Committed: Tue Jun 21 13:05:14 2016 +0300

----------------------------------------------------------------------
 .../ambari-metrics-timelineservice/pom.xml      | 27 ++++++++++++++++++++
 ambari-metrics/pom.xml                          |  2 ++
 2 files changed, 29 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ff032514/ambari-metrics/ambari-metrics-timelineservice/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-timelineservice/pom.xml b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
index a68d08f..7ae6155 100644
--- a/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+++ b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
@@ -655,6 +655,32 @@
                   </target>
                 </configuration>
               </execution>
+              <execution>
+                <id>phoenix_download</id>
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <target name="Download Phoenix">
+                    <mkdir dir="${project.build.directory}/embedded"/>
+                    <get
+                      src="${phoenix.tar}"
+                      dest="${project.build.directory}/embedded/phoenix.tar.gz"
+                      usetimestamp="true"
+                      />
+                    <untar
+                      src="${project.build.directory}/embedded/phoenix.tar.gz"
+                      dest="${project.build.directory}/embedded"
+                      compression="gzip"
+                      />
+                    <move
+                      file="${project.build.directory}/embedded/${phoenix.folder}/phoenix-${phoenix.version}-server.jar"
+                      tofile="${project.build.directory}/embedded/${hbase.folder}/lib/phoenix-${phoenix.version}-server.jar"
+                      />
+                  </target>
+                </configuration>
+              </execution>
             </executions>
           </plugin>
         </plugins>
@@ -675,6 +701,7 @@
             <version>1.7</version>
             <executions>
               <execution>
+                <id>hbase_download</id>
                 <phase>generate-resources</phase>
                 <goals>
                   <goal>run</goal>

http://git-wip-us.apache.org/repos/asf/ambari/blob/ff032514/ambari-metrics/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
index b216635..726a823 100644
--- a/ambari-metrics/pom.xml
+++ b/ambari-metrics/pom.xml
@@ -46,6 +46,8 @@
     <hadoop.winpkg.folder>hadoop-2.6.0.2.2.4.2-0002</hadoop.winpkg.folder>
     <grafana.folder>grafana-2.6.0</grafana.folder>
     <grafana.tar>https://grafanarel.s3.amazonaws.com/builds/grafana-2.6.0.linux-x64.tar.gz</grafana.tar>
+    <phoenix.tar>http://private-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.4.0-3347/tars/phoenix-4.4.0.2.3.4.0-3347.tar.gz</phoenix.tar>
+    <phoenix.folder>phoenix-4.4.0.2.3.4.0-3347</phoenix.folder>
     <resmonitor.install.dir>
       /usr/lib/python2.6/site-packages/resource_monitoring
     </resmonitor.install.dir>