Hello folks,

I am trying to build Ambari RPMs off the trunk code to install a dev cluster 
with the Log Search service. 

Can someone please tell me how to build ambari-logsearch-solr RPM ? I am able 
to build the rest of the ambari-logsearch-* RPMs as shown below.

  ambari-logsearch-2.4.0.0-SNAPSHOT1.noarch.rpm
  ambari-logsearch-appender-2.4.0.0-SNAPSHOT1.noarch.rpm
  ambari-logsearch-assembly-2.4.0.0-SNAPSHOT1.noarch.rpm
  ambari-logsearch-logfeeder-2.4.0.0-SNAPSHOT1.noarch.rpm
  ambari-logsearch-portal-2.4.0.0-SNAPSHOT1.noarch.rpm
  ambari-logsearch-solr-client-2.4.0.0-SNAPSHOT1.noarch.rpm
Based on the following piece of code in ambari-logsearch-assembly pom.xml, It 
seems to me that I need solr in order to build the ambari-logsearch-solr RPM. 
BUt I have no idea how to get the solr code.
         <id>logsearch-solr</id>
                <phase>package</phase>
                <goals>
                  <goal>rpm</goal>
                </goals>
                <configuration>
                  <group>Development</group>
                  <name>${solr.package.name}</name>
                  <mappings>
                    <mapping>
                      <directory>${solr.mapping.path}</directory>
                      <sources>
                        <source>
                          <location>${project.build.directory}/solr</location>

Thanks.

Di

Reply via email to