Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25951 Support Bigtop stack 3.3.0
  3. AMBARI-25993

logsearch-logfeeder cannot startup due to lake of configuration

    XMLWordPrintableJSON

Details

    Description

      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]

      Attachments

        Issue Links

          Activity

            People

              rongguo.zuo@gmail.com Robin Zuo
              rongguo.zuo@gmail.com Robin Zuo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: