Alejandro Fernandez c7e6b1c56c AMBARI-14439. Categorize unit tests so can run mvn test -P $PROFILE (alejandro) 9 yıl önce
..
ambari-logsearch-appender 8ac653f9a6 Create branch-2.5 (jluniya) 9 yıl önce
ambari-logsearch-assembly 8ac653f9a6 Create branch-2.5 (jluniya) 9 yıl önce
ambari-logsearch-logfeeder 26e5fe0a9d AMBARI-17785. Provide support for S3 as a first class destination for log events (Hemanth Yamijala via oleewere) 9 yıl önce
ambari-logsearch-portal 8ac653f9a6 Create branch-2.5 (jluniya) 9 yıl önce
ambari-logsearch-solr-client 8ac653f9a6 Create branch-2.5 (jluniya) 9 yıl önce
docker f25fcc550d AMBARI-17723. Setup docker dev environment for Log Search - appendum patch (oleewere) 9 yıl önce
README.md ea2105d48b AMBARI-17723. Setup docker dev environment for Log Search (oleewere) 9 yıl önce
pom.xml c7e6b1c56c AMBARI-14439. Categorize unit tests so can run mvn test -P $PROFILE (alejandro) 9 yıl önce

README.md

Log Search

Setup local environment with docker

Prerequisites

Install docker For Mac OS X use Docker Machine

Build and start Log Search in docker container

# to see available commands: run start-logsearch without arguments
cd docker
./logsearch-docker build-and-run

If you run the script at first time, it will generate you a new Profile file inside docker directory, in that file you should set AMBARI_LOCATION (point to the local ambari root folder) and MAVEN_REPOSITORY_LOCATION (point to local maven repository location). These will be used as volumes for the docker container. If Profile is generated for first time use ./logsearch-docker start command to start container without rebuild the project/container again.

After the logsearch container is started you can enter to it with following command:

docker exec -it logsearch bash

Package build process

  1. Check out the code from GIT repository

  2. On the logsearch root folder (ambari/ambari-logsearch), please execute the following Maven command to build RPM/DPKG:

    mvn -Dbuild-rpm clean package
    

    or

    mvn -Dbuild-deb clean package
    
  3. Generated RPM/DPKG files will be found in ambari-logsearch-assembly/target folder