Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-8

MiNiFi C++ startup error due to property name mismatch in config.yml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      A config.yml file created by minifi-toolkit-0.1.0 "config.sh transform" command causes following MiNiFi C++ startup error due to several naming mismatch between MiNiFi C++ and minifi-toolkit.

      pi@raspberrypi:~/dev/nifi-minifi-cpp-0.1.0 $ terminate called after throwing an instance of 'YAML::TypedBadConversion<std::string>'
        what():  bad conversion
      

      I had to modify generated conf.yml as below to start MiNiFi C++:

      • Connections:
        • source name: TailFile (cpp expects)
        • source id: b9340f85-0158-1000-0000-000000000000 (toolkit generated)
        • source relationship name: success (cpp)
        • source relationship names: - success (toolkit generated array)
        • destination name: b52ba2de-0158-1000-fda0-5861ac7dbb2f (cpp)
        • destination id: b52ba2de-0158-1000-fda0-5861ac7dbb2f (toolkit)
      • Remote Processing Groups (cpp)
      • Remote Process Groups (toolkit)
        • Port and Host properties for Input Ports are also added manually to start MiNiFi, but this is documented properly.

      MINIFI-137 has changed constant name. We need to check if such change affects MiNiFi C++ as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: