nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Doran (JIRA)" <>
Subject [jira] [Commented] (MINIFI-275) Configuration without IDs for components causes exceptions
Date Tue, 25 Apr 2017 17:48:04 GMT


Kevin Doran commented on MINIFI-275:

Confirmed issue is reproducible on macOS 10.12.4 using the following steps:

1. Clone nifi-minifi-cpp, checkout master (I was on commit 573c511f755b94eb1c6a96581ca24916585f6b8b)
2. Performed steps in through `make package`
3. untar'ed nifi-minifi-cpp-0.2.0.tar.gz
4. Replaced build/nifi-minifi-cpp-0.2.0/conf/config.yml with the config.yml file attached
to this ticket (also available from
5. Attempted to run minifi via run and got the following output:

libc++abi.dylib: terminating with uncaught exception of type YAML::TypedBadConversion<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > >: bad conversion
bin/ line 257:  5685 Abort trap: 6           ${minifi_executable}

> Configuration without IDs for components causes exceptions
> ----------------------------------------------------------
>                 Key: MINIFI-275
>                 URL:
>             Project: Apache NiFi MiNiFi
>          Issue Type: Bug
>          Components: C++, Processing Configuration
>            Reporter: Aldrin Piri
>            Assignee: Kevin Doran
>            Priority: Blocker
>             Fix For: cpp-0.2.0
> One of the changes to how components are handled in C++ introduced a defect into the
original construct over the version 1 schema of the YAML.  
> The absence of this ID causes a YAML exception.  
> We should provide handling to support configurations how they were created originally,
possibly providing a default/generated ID where one isn't specified, and start laying the
foundation for versioned schemas as provided in our Java implementation.

This message was sent by Atlassian JIRA

View raw message