nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MINIFI-339) Begin building controlling API to facilitate control of agents
Date Fri, 08 Sep 2017 14:20:00 GMT

    [ https://issues.apache.org/jira/browse/MINIFI-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158697#comment-16158697
] 

ASF GitHub Bot commented on MINIFI-339:
---------------------------------------

Github user achristianson commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/134
  
    Mac & docker builds work for me, but building on CentOS7 results in this error:
    
    ```
    [ 44%] Linking CXX executable SiteToSiteRestTest
    CMakeFiles/SiteToSiteRestTest.dir/libminifi/test/integration/SiteToSiteRestTest.cpp.o:
In function `org::apache::nifi::minifi::core::repository::FlowFileRepository::initialize(std::shared_ptr<org::apache::nifi::minifi::Configure>
const&)':
    SiteToSiteRestTest.cpp:(.text._ZN3org6apache4nifi6minifi4core10repository18FlowFileRepository10initializeERKSt10shared_ptrINS2_9ConfigureEE[_ZN3org6apache4nifi6minifi4core10repository18FlowFileRepository10initializeERKSt10shared_ptrINS2_9ConfigureEE]+0x3b3):
undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**)'
    libminifi/libminifi.a(SiteToSiteProvenanceReportingTask.cpp.o): In function `org::apache::nifi::minifi::core::reporting::SiteToSiteProvenanceReportingTask::getJsonReport(org::apache::nifi::minifi::core::ProcessContext*,
org::apache::nifi::minifi::core::ProcessSession*, std::vector<std::shared_ptr<org::apache::nifi::minifi::core::SerializableComponent>,
std::allocator<std::shared_ptr<org::apache::nifi::minifi::core::SerializableComponent>
> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>&)':
    SiteToSiteProvenanceReportingTask.cpp:(.text+0x2459): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    SiteToSiteProvenanceReportingTask.cpp:(.text+0x2472): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    SiteToSiteProvenanceReportingTask.cpp:(.text+0x2ab0): undefined reference to `Json::StyledWriter::write[abi:cxx11](Json::Value
const&)'
    libminifi/libminifi.a(RemoteProcessorGroupPort.cpp.o): In function `org::apache::nifi::minifi::RemoteProcessorGroupPort::refreshRemoteSite2SiteInfo()':
    RemoteProcessorGroupPort.cpp:(.text+0x3aaf): undefined reference to `Json::Reader::parse(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, Json::Value&,
bool)'
    libminifi/libminifi.a(RESTReceiver.cpp.o): In function `org::apache::nifi::minifi::c2::RESTReceiver::heartbeat(org::apache::nifi::minifi::c2::C2Payload
const&)':
    RESTReceiver.cpp:(.text+0x2317): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTReceiver.cpp:(.text+0x23c2): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTReceiver.cpp:(.text+0x2592): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTReceiver.cpp:(.text+0x25ac): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTReceiver.cpp:(.text+0x25f3): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTReceiver.cpp:(.text+0x260c): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTReceiver.cpp:(.text+0x268c): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTReceiver.cpp:(.text+0x279b): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTReceiver.cpp:(.text+0x2811): undefined reference to `Json::StyledWriter::write[abi:cxx11](Json::Value
const&)'
    libminifi/libminifi.a(RESTSender.cpp.o): In function `org::apache::nifi::minifi::c2::RESTSender::consumePayload(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, org::apache::nifi::minifi::c2::C2Payload
const&, org::apache::nifi::minifi::c2::Direction, bool)':
    RESTSender.cpp:(.text+0x204e): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTSender.cpp:(.text+0x20f9): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTSender.cpp:(.text+0x22c9): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTSender.cpp:(.text+0x22e3): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTSender.cpp:(.text+0x232a): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTSender.cpp:(.text+0x2343): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTSender.cpp:(.text+0x23c3): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTSender.cpp:(.text+0x24d2): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTSender.cpp:(.text+0x2548): undefined reference to `Json::StyledWriter::write[abi:cxx11](Json::Value
const&)'
    libminifi/libminifi.a(RESTProtocol.cpp.o): In function `org::apache::nifi::minifi::c2::RESTProtocol::parseJsonResponse(org::apache::nifi::minifi::c2::C2Payload
const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>)':
    RESTProtocol.cpp:(.text+0x1d39): undefined reference to `Json::Reader::parse(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, Json::Value&,
bool)'
    RESTProtocol.cpp:(.text+0x1dbc): undefined reference to `Json::Value::asString[abi:cxx11]()
const'
    RESTProtocol.cpp:(.text+0x1e0d): undefined reference to `Json::Value::asString[abi:cxx11]()
const'
    RESTProtocol.cpp:(.text+0x1fc5): undefined reference to `Json::Value::asString[abi:cxx11]()
const'
    RESTProtocol.cpp:(.text+0x207a): undefined reference to `Json::Value::asString[abi:cxx11]()
const'
    RESTProtocol.cpp:(.text+0x20e9): undefined reference to `Json::Value::asString[abi:cxx11]()
const'
    RESTProtocol.cpp:(.text+0x2181): undefined reference to `Json::Value::getMemberNames[abi:cxx11]()
const'
    RESTProtocol.cpp:(.text+0x2209): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) const'
    RESTProtocol.cpp:(.text+0x221e): undefined reference to `Json::Value::asString[abi:cxx11]()
const'
    libminifi/libminifi.a(RESTProtocol.cpp.o): In function `org::apache::nifi::minifi::c2::RESTProtocol::serializeJsonPayload(Json::Value&,
org::apache::nifi::minifi::c2::C2Payload const&)':
    RESTProtocol.cpp:(.text+0x27c2): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTProtocol.cpp:(.text+0x286c): undefined reference to `Json::Value::isMember(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) const'
    RESTProtocol.cpp:(.text+0x28a1): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTProtocol.cpp:(.text+0x28cf): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTProtocol.cpp:(.text+0x293b): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTProtocol.cpp:(.text+0x2b0b): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTProtocol.cpp:(.text+0x2b25): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTProtocol.cpp:(.text+0x2b6c): undefined reference to `Json::Value::Value(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTProtocol.cpp:(.text+0x2b85): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    RESTProtocol.cpp:(.text+0x2c02): undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
    collect2: error: ld returned 1 exit status
    make[2]: *** [SiteToSiteRestTest] Error 1
    make[1]: *** [CMakeFiles/SiteToSiteRestTest.dir/all] Error 2
    make: *** [all] Error 2
    ```


> Begin building controlling API to facilitate control of agents
> --------------------------------------------------------------
>
>                 Key: MINIFI-339
>                 URL: https://issues.apache.org/jira/browse/MINIFI-339
>             Project: Apache NiFi MiNiFi
>          Issue Type: New Feature
>          Components: C++
>            Reporter: marco polo
>            Assignee: marco polo
>            Priority: Critical
>              Labels: Durability, Reliability, Statistics
>
> Begin building the controlling API in MiNiFi C++. This API will evolve and likely have
public and private elements. As development progresses we may want more capabilities. 
> What I want to create as a straw man will be basic control and metrics gathering
> -- Start
> -- Stop
> -- Pause
> -- Gather metrics
>    ** Throughput of of flow components
>    ** Execution time ( run time minus sleep time )
>    ** Memory consumption
> -- Drain repositories
> -- Switch repository types. 
> Better employ update listener within this controlling API



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message