Dmytro Sen a76215f67d AMBARI-17991 Ambari agent unable to register with server when server response is too big (dsen) 9 years ago
..
ambari-logsearch-appender 5b49440e94 AMBARI-17899. Login flow break when only ldap auth is enabled. (Hayat Behlim via oleewere) 9 years ago
ambari-logsearch-assembly 01cbdc6b3e AMBARI-17822: Create AMBARI_INFRA service definition [move out SOLR from Log Search] (jluniya) 9 years ago
ambari-logsearch-logfeeder 5b49440e94 AMBARI-17899. Login flow break when only ldap auth is enabled. (Hayat Behlim via oleewere) 9 years ago
ambari-logsearch-portal a76215f67d AMBARI-17991 Ambari agent unable to register with server when server response is too big (dsen) 9 years ago
ambari-logsearch-solr-client 58aba3f8de AMBARI-17653. ACL support for Solr Znode (oleewere) 9 years ago
docker f25fcc550d AMBARI-17723. Setup docker dev environment for Log Search - appendum patch (oleewere) 9 years ago
README.md ea2105d48b AMBARI-17723. Setup docker dev environment for Log Search (oleewere) 9 years ago
pom.xml ea2105d48b AMBARI-17723. Setup docker dev environment for Log Search (oleewere) 9 years ago

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