Robin Zuo created AMBARI-25993:
----------------------------------
Summary: logsearch-logfeeder cannot startup due to lake of
configuration
Key: AMBARI-25993
URL: https://issues.apache.org/jira/browse/AMBARI-25993
Project: Ambari
Issue Type: Technical task
Components: ambari-logsearch
Reporter: Robin Zuo
logsearch-logfeeder fail to start and report the following error:
2023-08-19 14:20:40,835 [main] INFO org.springframework.boot.StartupInfoLogger
(StartupInfoLogger.java:50) - Starting LogFeeder on hadoop-1 with PID 78570
(/usr/lib/ambari-logsearch-logfeeder/libs/ambari-logsearch-logfeeder-3.0.0.0-SNAPSHOT.jar
started by root in /var/lib/ambari-agent)
2023-08-19 14:20:40,861 [main] INFO org.springframework.boot.SpringApplication
(SpringApplication.java:675) - No active profile set, falling back to default
profiles: default
2023-08-19 14:20:43,187 [main] ERROR org.springframework.boot.SpringApplication
(SpringApplication.java:858) - Application run failed
java.lang.IllegalArgumentException: String 'null' cannot be converted to
LogFeederMode enum
at
org.apache.ambari.logfeeder.conf.LogFeederMode.fromString(LogFeederMode.java:48)
~[ambari-logsearch-logfeeder-3.0.0.0-SNAPSHOT.jar:?]
at
org.apache.ambari.logfeeder.conf.condition.NonCloudStorageCondition.matches(NonCloudStorageCondition.java:34)
~[ambari-logsearch-logfeeder-3.0.0.0-SNAPSHOT.jar:?]
at
org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]