|
8 سال پیش | |
---|---|---|
.. | ||
ambari-infra-solr-plugin | 8 سال پیش | |
ambari-logsearch-appender | 8 سال پیش | |
ambari-logsearch-assembly | 8 سال پیش | |
ambari-logsearch-it | 8 سال پیش | |
ambari-logsearch-logfeeder | 8 سال پیش | |
ambari-logsearch-portal | 8 سال پیش | |
ambari-logsearch-solr-client | 8 سال پیش | |
docker | 8 سال پیش | |
README.md | 8 سال پیش | |
pom.xml | 8 سال پیش |
Install docker For Mac OS X use Docker Machine
# 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
Check out the code from GIT repository
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
Generated RPM/DPKG files will be found in ambari-logsearch-assembly/target folder
By default integration tests are not a part of the build process, you need to set ${it.skip} variable to true (docker needed here too)
# from ambari-logsearch folder
mvn clean integration-test -Dit.skip=false
Also you can run from the IDE, but make sure all of the ambari logsearch modules are built.