<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: trying to build Ambari 2.4.1.0 from Source on Centos6 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167244#M129576</link>
    <description>&lt;P&gt;Can you try setting version to "&lt;A href="http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/2.4.1.0.1/"&gt;2.4.1.0.1&lt;/A&gt;"   instead of "&lt;A href="http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/2.4.1.0.1/"&gt;2.4.1.0"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/" target="_blank"&gt;http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2016 21:57:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-09-23T21:57:18Z</dc:date>
    <item>
      <title>trying to build Ambari 2.4.1.0 from Source on Centos6</title>
      <link>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167243#M129575</link>
      <description>&lt;P&gt;My steps are according to the wiki for RHEL6&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;mvn versions:set -DnewVersion=2.4.1.0
pushd ambari-metrics
mvn versions:set -DnewVersion=2.4.1.0
popd
mvn -B clean install package rpm:rpm -DskipTests -Dpython.ver="python &amp;gt;= 2.6" -Preplaceurl&lt;/PRE&gt;&lt;P&gt;failing on &lt;/P&gt;&lt;PRE&gt;[WARNING] + umask 022
[WARNING] + cd /home/vagrant/ambari/ambari-admin/target/rpm/ambari-admin/BUILD
[WARNING] + /bin/rm -rf /home/vagrant/ambari/ambari-admin/target/rpm/ambari-admin/buildroot
[WARNING] + exit 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ambari-metrics 2.4.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ambari-metrics ---
[INFO] Deleting /home/vagrant/ambari/ambari-metrics/target
[INFO] Deleting /home/vagrant/ambari/ambari-metrics (includes = [**/*.pyc], excludes = [])
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ ambari-metrics ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (regex-property) @ ambari-metrics ---
[INFO] No match to regex '^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*' found in '2.4.1.0'. The initial value '2.4.1.0' is left as-is...
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-version) @ ambari-metrics ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [14.704s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.292s]
[INFO] Ambari Web ........................................ SUCCESS [2:31.163s]
[INFO] Ambari Views ...................................... SUCCESS [3.479s]
[INFO] Ambari Admin View ................................. SUCCESS [16.762s]
[INFO] ambari-metrics .................................... FAILURE [0.375s]
[INFO] Ambari Metrics Common ............................. SKIPPED
[INFO] Ambari Metrics Hadoop Sink ........................ SKIPPED
[INFO] Ambari Metrics Flume Sink ......................... SKIPPED
[INFO] Ambari Metrics Kafka Sink ......................... SKIPPED
[INFO] Ambari Metrics Storm Sink ......................... SKIPPED
[INFO] Ambari Metrics Storm Sink (Legacy) ................ SKIPPED
[INFO] Ambari Metrics Collector .......................... SKIPPED
[INFO] Ambari Metrics Monitor ............................ SKIPPED
[INFO] Ambari Metrics Grafana ............................ SKIPPED
[INFO] Ambari Metrics Assembly ........................... SKIPPED
[INFO] Ambari Server ..................................... SKIPPED
[INFO] Ambari Functional Tests ........................... SKIPPED
[INFO] Ambari Agent ...................................... SKIPPED
[INFO] Ambari Client ..................................... SKIPPED
[INFO] Ambari Python Client .............................. SKIPPED
[INFO] Ambari Groovy Client .............................. SKIPPED
[INFO] Ambari Shell ...................................... SKIPPED
[INFO] Ambari Python Shell ............................... SKIPPED
[INFO] Ambari Groovy Shell ............................... SKIPPED
[INFO] ambari-logsearch .................................. SKIPPED
[INFO] Ambari Logsearch Appender ......................... SKIPPED
[INFO] Ambari Logsearch Solr Client ...................... SKIPPED
[INFO] Ambari Logsearch Portal ........................... SKIPPED
[INFO] Ambari Logsearch Log Feeder ....................... SKIPPED
[INFO] Ambari Logsearch Assembly ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:08.672s
[INFO] Finished at: Fri Sep 23 13:46:30 UTC 2016
[INFO] Final Memory: 28M/77M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:build-helper-maven-plugin:1.8:regex-property (parse-package-version) on project ambari-metrics: No match to regex '^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*' found in '2.4.1.0'. -&amp;gt; [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] &lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException" target="_blank"&gt;http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException&lt;/A&gt;
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Sep 2016 20:53:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167243#M129575</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-09-23T20:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: trying to build Ambari 2.4.1.0 from Source on Centos6</title>
      <link>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167244#M129576</link>
      <description>&lt;P&gt;Can you try setting version to "&lt;A href="http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/2.4.1.0.1/"&gt;2.4.1.0.1&lt;/A&gt;"   instead of "&lt;A href="http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/2.4.1.0.1/"&gt;2.4.1.0"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/" target="_blank"&gt;http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 21:57:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167244#M129576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-23T21:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: trying to build Ambari 2.4.1.0 from Source on Centos6</title>
      <link>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167245#M129577</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/393/aervits.html"&gt;Artem Ervits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess why we need to use "&lt;A href="http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/2.4.1.0.1/"&gt;2.4.1.0.1&lt;/A&gt;" instead of "&lt;A href="http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/ambari/ambari-metrics/2.4.1.0.1/"&gt;2.4.1.0"&lt;/A&gt; for metrics because&lt;/P&gt;&lt;P&gt;In ambari-metrics "pom.xml" we will find :&lt;STRONG&gt;  &amp;lt;failIfNoMatch&amp;gt;true&amp;lt;/failIfNoMatch&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;regex&amp;gt;^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*&amp;lt;/regex&amp;gt;
&amp;lt;replacement&amp;gt;$1.$2.$3.$4&amp;lt;/replacement&amp;gt;
&amp;lt;failIfNoMatch&amp;gt;true&amp;lt;/failIfNoMatch&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Sep 2016 22:26:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167245#M129577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-23T22:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: trying to build Ambari 2.4.1.0 from Source on Centos6</title>
      <link>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167246#M129578</link>
      <description>&lt;P&gt;it worked with the suggested change&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 23:06:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/trying-to-build-Ambari-2-4-1-0-from-Source-on-Centos6/m-p/167246#M129578</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-09-23T23:06:15Z</dc:date>
    </item>
  </channel>
</rss>

