Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-25978: add logsearch support for ambari #3744

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

rzuo
Copy link
Contributor

@rzuo rzuo commented Aug 19, 2023

What changes were proposed in this pull request?

ambari-logsearch has been a sub-project of ambari, but the bigtop stack 3.2.0 doesn't support ambari-logsearch service.
To support ambari-logsearch, I proposed this PR.

For ambari-logsearch-portal fail to start, please refer to:
https://issues.apache.org/jira/browse/AMBARI-25992
For ambari-logsearch-logfeeder fail to start, please refer to:
https://issues.apache.org/jira/browse/AMBARI-25993

How was this patch tested?

local build ambari-3.0.0.0-SNAPSHOT on CentOS 7.9/x86_64
local build ambari-logsearch-3.0.0.0-SNAPSHOT on CentOS 7.9/x86_64
install the ambari-server and ambari-agent.
install ambari-logsearch-portal and ambari-logsearch-logfeeder.

visit ambari -> services -> Log Search, screenshot as following:
image

visit ambari-logsearch-portal web UI, screenshots as following:
image
image
image
image

Please review Ambari Contributing Guide before opening a pull request.

@JiaLiangC
Copy link
Contributor

@rzuo It appears that your work is based on Python 2. Currently, the trunk has been upgraded to Python 3. Could you please upgrade your code to Python 3 and then test it?

@@ -0,0 +1,85 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the Ambari trunk is currently using Python 3, you can refer to these services and uniformly set the Python interpreter to Python 3.

@@ -0,0 +1,70 @@
"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All Python files must explicitly specify the Python 3 interpreter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants