ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-22647) Rafactor: Package Log Search and Log Feeder into jars + cleanup start scripts
Date Thu, 18 Jan 2018 18:27:03 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-22647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16330931#comment-16330931
] 

Hudson commented on AMBARI-22647:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8613 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8613/])
AMBARI-22647. Rafactor: Package Log Search and Log Feeder into jars + (rlevas: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=26a33e545b89243daecef21bdf0e2798412e49e8])
* (add) ambari-logsearch/ambari-logsearch-logfeeder/src/main/scripts/logfeeder-env.sh
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/LogFeederCommandLine.java
* (edit) ambari-logsearch/docker/test-config/logsearch/logsearch.properties
* (add) ambari-logsearch/ambari-logsearch-assembly/src/main/package/rpm/portal/postinstall.sh
* (edit) ambari-logsearch/ambari-logsearch-server/build.xml
* (edit) ambari-logsearch/docker/Dockerfile
* (add) ambari-logsearch/ambari-logsearch-assembly/src/main/package/rpm/logfeeder/postremove.sh
* (edit) ambari-logsearch/docker/docker-compose.yml
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py
* (edit) ambari-logsearch/docker/logsearch-logfeeder.yml
* (edit) ambari-logsearch/docker/test-config/logsearch/logsearch-env.sh
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/setup_logsearch.py
* (edit) ambari-logsearch/docker/all.yml
* (edit) ambari-logsearch/docker/test-config/logsearch/logsearch-https.properties
* (edit) ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/logfeeder/postinst
* (delete) ambari-logsearch/ambari-logsearch-server/src/main/scripts/run.sh
* (edit) ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/portal/postrm
* (add) ambari-logsearch/ambari-logsearch-logfeeder/src/main/scripts/logfeeder.sh
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/run.sh
* (edit) ambari-logsearch/ambari-logsearch-server/README.md
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/logfeeder.py
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/configuration/logsearch-env.xml
* (edit) ambari-server/src/test/python/stacks/2.4/configs/default.json
* (edit) ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/portal/postinst
* (edit) ambari-server/src/test/python/stacks/2.4/LOGSEARCH/test_logfeeder.py
* (delete) ambari-logsearch/ambari-logsearch-logfeeder/src/main/package/deb/control/postinst
* (edit) ambari-logsearch/docker/logsearch-server.yml
* (delete) ambari-logsearch/ambari-logsearch-logfeeder/src/main/package/deb/control/control
* (add) ambari-logsearch/ambari-logsearch-server/src/main/scripts/logsearch-env.sh
* (delete) ambari-logsearch/ambari-logsearch-logfeeder/src/main/package/deb/control/prerm
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch.py
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/logsearch-env.sh.j2
* (edit) ambari-logsearch/ambari-logsearch-server/run.sh
* (delete) ambari-logsearch/ambari-logsearch-logfeeder/src/main/scripts/run.sh
* (edit) ambari-logsearch/docker/bin/start.sh
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/build.xml
* (add) ambari-logsearch/ambari-logsearch-assembly/src/main/package/rpm/logfeeder/preinstall.sh
* (delete) ambari-logsearch/ambari-logsearch-server/src/main/scripts/stop.sh
* (edit) ambari-logsearch/docker/test-config/logfeeder/logfeeder.properties
* (add) ambari-logsearch/ambari-logsearch-assembly/src/main/package/rpm/portal/preinstall.sh
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/setup_logfeeder.py
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/LogFeeder.java
* (edit) ambari-logsearch/ambari-logsearch-server/pom.xml
* (edit) ambari-logsearch/ambari-logsearch-assembly/pom.xml
* (edit) ambari-server/src/test/python/stacks/2.0.6/hooks/after-INSTALL/test_after_install.py
* (edit) ambari-logsearch/docker/test-config/logfeeder/logfeeder-env.sh
* (delete) ambari-logsearch/ambari-logsearch-logfeeder/build.properties
* (add) ambari-logsearch/ambari-logsearch-assembly/src/main/package/rpm/logfeeder/postinstall.sh
* (edit) ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/LogSearch.java
* (edit) ambari-server/src/main/resources/stack-hooks/after-INSTALL/scripts/params.py
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/common/ConfigHandler.java
* (edit) ambari-server/src/test/python/stacks/2.4/LOGSEARCH/test_logsearch.py
* (delete) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch_common.py
* (delete) ambari-logsearch/ambari-logsearch-logfeeder/src/main/package/deb/control/preinst
* (add) ambari-logsearch/ambari-logsearch-assembly/src/main/package/rpm/portal/postremove.sh
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/pom.xml
* (add) ambari-logsearch/ambari-logsearch-server/src/main/scripts/logsearch.sh
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/configuration/logfeeder-properties.xml
* (delete) ambari-logsearch/ambari-logsearch-logfeeder/src/main/package/deb/control/postrm
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/README.md
* (edit) ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/portal/preinst
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/configuration/logfeeder-env.xml
* (delete) ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/logfeeder/posttrm
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/logfeeder-env.sh.j2
* (edit) ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/logfeeder/postrm
* (edit) ambari-logsearch/ambari-logsearch-assembly/src/main/package/deb/logfeeder/preinst
AMBARI-22647. ADDENDUM -Rafactor: Package Log Search and Log Feeder into (rlevas: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=85ef6119d808563adcc5989a245242368bc220de])
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/src/main/resources/logfeeder.properties
* (edit) ambari-logsearch/ambari-logsearch-logfeeder/src/main/scripts/logfeeder.sh
* (edit) ambari-logsearch/docker/bin/start.sh
* (edit) ambari-logsearch/ambari-logsearch-server/src/main/scripts/logsearch.sh


> Rafactor: Package Log Search and Log Feeder into jars + cleanup start scripts
> -----------------------------------------------------------------------------
>
>                 Key: AMBARI-22647
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22647
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-logsearch
>    Affects Versions: 3.0.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Goals:
> - package logsearch / logfeeder classes into jars
> - create default logsearch-env and logfeeder-env files (those where only generated by
ambari stack code)
> - rename run.sh start scripts to logsearch.sh and logfeeder.sh, and create a symlink
for those in /usr/bin/
> (therefore we can call commands like: 'logsearch start' or 'logfeeder test --test-log-entry
...')
> - refactor logfeeder command line tool -> new java entry point -> use it through
/usr/bin/logfeeder
> - remove pid / process handling logic from ambari stack code (as the new logsaerch/logfeeder
script will handle those)
> - move all config files from classes target/package/conf during maven package phase
> - move "/etc/ambari-logsearch-.../conf" folder to /usr/lib/ambari-logsearch.../conf,
keep the old one as a symlink. (this solution is useful as we can include every requried files
in a tar.gz as well and it can work without provided rpm/deb)
> - as conf file was moved out, we need to handle some cases during yum/apt upgrade - move
conf/keys/ or conf/checkpoints/ files to the new location (as those could be generated there
before and we do not want to loose them)
> - as conf files are moved, cleanup maven assembly configs
> - upgrade docker environment to make it work with the new changes



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message