[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16756030#comment-16756030 ] Mr TheSegfault edited comment on MINIFICPP-722 at 1/30/19 12:19 PM: [~palokam] You're right, we have to do more about requiring PRs for extensions to include relevant documentation. We generally guide people to use the bootstrap script (bootstrap.sh ) unless they have a specific reason not to, and require people who submit extensions to add any additions to the bootstrap script. [~srr] We can't fix the tag that has already been pushed, but we plan on creating another tag soon. Thanks! was (Author: phrocker): [~palokam] You're right, we have to do more about requiring PRs in extensions include relevant documentation. We generally guide people to use the bootstrap script (bootstrap.sh ) unless they have a specific reason not to. [~srr] We can't fix the tag that has already been pushed, but we plan on creating another tag soon. Thanks! > MQTT Processor failing - but cmake is fine > -- > > Key: MINIFICPP-722 > URL: https://issues.apache.org/jira/browse/MINIFICPP-722 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Prasad Alokam >Assignee: Mr TheSegfault >Priority: Blocker > Attachments: config.yml > > Time Spent: 10m > Remaining Estimate: 0h > > CMAKE options used: > cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt > -DDISABLE_ROCKSDB=true > > No errors in CMAKE > Run time image have a problem > > (MiNiFi) running with PID 17. > {color:#FF}Error loading shared library libpaho-mqtt3c.so.1: No such file > or directory (needed by /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi){color} > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_setCallbacks: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_subscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_unsubscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_disconnect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_isConnected: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_publishMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_freeMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_connect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_free: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_destroy: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_create: symbol not found > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16756030#comment-16756030 ] Mr TheSegfault edited comment on MINIFICPP-722 at 1/30/19 12:17 PM: [~palokam] You're right, we have to do more about requiring PRs in extensions include relevant documentation. We generally guide people to use the bootstrap script (bootstrap.sh ) unless they have a specific reason not to. [~srr] We can't fix the tag that has already been pushed, but we plan on creating another tag soon. Thanks! was (Author: phrocker): [~palokam] You're right, we have to do more about requiring PRs in extensions include relevant documentation. We generally guide people to use the bootstrap script (bootstrap.sh ) unless they have a specific reason not to. [~srr] We can't fix the tax, but we plan on creating another tag soon. Thanks! > MQTT Processor failing - but cmake is fine > -- > > Key: MINIFICPP-722 > URL: https://issues.apache.org/jira/browse/MINIFICPP-722 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Prasad Alokam >Assignee: Mr TheSegfault >Priority: Blocker > Attachments: config.yml > > Time Spent: 10m > Remaining Estimate: 0h > > CMAKE options used: > cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt > -DDISABLE_ROCKSDB=true > > No errors in CMAKE > Run time image have a problem > > (MiNiFi) running with PID 17. > {color:#FF}Error loading shared library libpaho-mqtt3c.so.1: No such file > or directory (needed by /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi){color} > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_setCallbacks: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_subscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_unsubscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_disconnect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_isConnected: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_publishMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_freeMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_connect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_free: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_destroy: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_create: symbol not found > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16754536#comment-16754536 ] Mr TheSegfault edited comment on MINIFICPP-722 at 1/29/19 11:51 AM: [~srr] [~palokam] Not sure you are interested, but here's a quick video showing how processors like ReplaceText that aren't implemented in MiNiFI C++ can be accessed via JNI. Is that a welcome feature? It's a feature that can be conditionally included or excluded so for those who don't want embedded JNI call don't need to include that feature into their agent. was (Author: phrocker): [~srr] [~palokam] Not sure you are interested, but here's a quick video ( don't judge the quality. it's a pretty hastily made video ) I've made of a feature I'm working on [https://www.youtube.com/watch?v=Nv9QbWosPX0=youtu.be] It's a feature that can be conditionally included or excluded so for those who don't want embedded JNI call don't need to include that feature into their agent. > MQTT Processor failing - but cmake is fine > -- > > Key: MINIFICPP-722 > URL: https://issues.apache.org/jira/browse/MINIFICPP-722 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Prasad Alokam >Assignee: Mr TheSegfault >Priority: Blocker > Attachments: config.yml > > Time Spent: 10m > Remaining Estimate: 0h > > CMAKE options used: > cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt > -DDISABLE_ROCKSDB=true > > No errors in CMAKE > Run time image have a problem > > (MiNiFi) running with PID 17. > {color:#FF}Error loading shared library libpaho-mqtt3c.so.1: No such file > or directory (needed by /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi){color} > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_setCallbacks: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_subscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_unsubscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_disconnect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_isConnected: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_publishMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_freeMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_connect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_free: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_destroy: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_create: symbol not found > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16754536#comment-16754536 ] Mr TheSegfault edited comment on MINIFICPP-722 at 1/29/19 3:04 AM: --- [~srr] [~palokam] Not sure you are interested, but here's a quick video ( don't judge the quality. it's a pretty hastily made video ) I've made of a feature I'm working on [https://www.youtube.com/watch?v=Nv9QbWosPX0=youtu.be] It's a feature that can be conditionally included or excluded so for those who don't want embedded JNI call don't need to include that feature into their agent. was (Author: phrocker): [~srr] [~palokam] Not sure you are interested, but here's a quick video ( don't judge the quality. it's a pretty hastily made video ) I've made of a feature I'm working on [https://www.youtube.com/watch?v=Nv9QbWosPX0=youtu.be] > MQTT Processor failing - but cmake is fine > -- > > Key: MINIFICPP-722 > URL: https://issues.apache.org/jira/browse/MINIFICPP-722 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Prasad Alokam >Assignee: Mr TheSegfault >Priority: Blocker > Attachments: config.yml > > Time Spent: 10m > Remaining Estimate: 0h > > CMAKE options used: > cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt > -DDISABLE_ROCKSDB=true > > No errors in CMAKE > Run time image have a problem > > (MiNiFi) running with PID 17. > {color:#FF}Error loading shared library libpaho-mqtt3c.so.1: No such file > or directory (needed by /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi){color} > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_setCallbacks: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_subscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_unsubscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_disconnect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_isConnected: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_publishMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_freeMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_connect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_free: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_destroy: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_create: symbol not found > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16754536#comment-16754536 ] Mr TheSegfault edited comment on MINIFICPP-722 at 1/29/19 2:56 AM: --- [~srr] [~palokam] Not sure you are interested, but here's a quick video ( don't judge the quality. it's a pretty hastily made video ) I've made of a feature I'm working on [https://www.youtube.com/watch?v=Nv9QbWosPX0=youtu.be] was (Author: phrocker): [~srr] [~palokam] Not sure you are interested, but here's a quick video I've made of a feature I'm working on https://www.youtube.com/watch?v=Nv9QbWosPX0=youtu.be > MQTT Processor failing - but cmake is fine > -- > > Key: MINIFICPP-722 > URL: https://issues.apache.org/jira/browse/MINIFICPP-722 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Prasad Alokam >Assignee: Mr TheSegfault >Priority: Blocker > Attachments: config.yml > > Time Spent: 10m > Remaining Estimate: 0h > > CMAKE options used: > cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt > -DDISABLE_ROCKSDB=true > > No errors in CMAKE > Run time image have a problem > > (MiNiFi) running with PID 17. > {color:#FF}Error loading shared library libpaho-mqtt3c.so.1: No such file > or directory (needed by /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi){color} > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_setCallbacks: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_subscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_unsubscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_disconnect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_isConnected: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_publishMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_freeMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_connect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_free: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_destroy: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_create: symbol not found > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16754226#comment-16754226 ] Rama Rao Srikakulapu edited comment on MINIFICPP-722 at 1/28/19 6:28 PM: - Hi, I took the code from master which is 0.6.0 and enabled MQTT. Here is the cmake command - cmake -DSKIP_TESTS=true -DENABLE_MQTT=true -DCMAKE_CXX_FLAGS=-lrt -DDISABLE_ROCKSDB=true .. Now I am seeing the following logs and still container is not starting - $ docker logs abc4cc39c2bb tail: can't open '/opt/minifi/nifi-minifi-cpp-0.6.0/logs/minifi-app.log': No such file or directory TC-Edge (MiNiFi) running with PID 18. [2019-01-infol 15:36:28.197] [main] [info] Using MINIFI_HOME=/opt/minifi/nifi-minifi-cpp-0.6.0 from environment. [2019-01-infol 15:36:28.197] [org::apache::nifi::minifi::Properties] [info] Using configuration file located at /opt/minifi/nifi-minifi-cpp-0.6.0/conf/minifi-log.properties, from ./conf/minifi-log.properties looking for /opt/minifi/nifi-minifi-cpp-0.6.0/./conf/minifi.properties setting default dir to /opt/minifi/nifi-minifi-cpp-0.6.0/content_repository Received trapped signal, beginning shutdown... was (Author: srr): Hi, I took the code from master which is 0.6.0 and enabled MQTT. Here is the cmake command - cmake -DSKIP_TESTS=true -DENABLE_MQTT=true -DCMAKE_CXX_FLAGS=-lrt -DDISABLE_ROCKSDB=true .. Now I am not seeing the following logs and still container is not starting - $ docker logs abc4cc39c2bb tail: can't open '/opt/minifi/nifi-minifi-cpp-0.6.0/logs/minifi-app.log': No such file or directory TC-Edge (MiNiFi) running with PID 18. [2019-01-infol 15:36:28.197] [main] [info] Using MINIFI_HOME=/opt/minifi/nifi-minifi-cpp-0.6.0 from environment. [2019-01-infol 15:36:28.197] [org::apache::nifi::minifi::Properties] [info] Using configuration file located at /opt/minifi/nifi-minifi-cpp-0.6.0/conf/minifi-log.properties, from ./conf/minifi-log.properties looking for /opt/minifi/nifi-minifi-cpp-0.6.0/./conf/minifi.properties setting default dir to /opt/minifi/nifi-minifi-cpp-0.6.0/content_repository Received trapped signal, beginning shutdown... > MQTT Processor failing - but cmake is fine > -- > > Key: MINIFICPP-722 > URL: https://issues.apache.org/jira/browse/MINIFICPP-722 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Prasad Alokam >Assignee: Mr TheSegfault >Priority: Blocker > > CMAKE options used: > cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt > -DDISABLE_ROCKSDB=true > > No errors in CMAKE > Run time image have a problem > > (MiNiFi) running with PID 17. > {color:#FF}Error loading shared library libpaho-mqtt3c.so.1: No such file > or directory (needed by /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi){color} > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_setCallbacks: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_subscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_unsubscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_disconnect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_isConnected: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_publishMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_freeMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_connect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_free: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_destroy: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_create: symbol not found > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16753367#comment-16753367 ] Mr TheSegfault edited comment on MINIFICPP-722 at 1/27/19 12:28 PM: Hi, thanks for reporting this. Have you tested this outside of alpine? Alpine places some limits on us. Further, I see 0.5.0. Additionally, have you tried this on master? I believe we've switched to static dependencies for paho mqtt was (Author: phrocker): Have you tested this outside of alpine? Alpine places some limits on us. Further, I see 0.5.0. Have you tried this on master? > MQTT Processor failing - but cmake is fine > -- > > Key: MINIFICPP-722 > URL: https://issues.apache.org/jira/browse/MINIFICPP-722 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Prasad Alokam >Assignee: Mr TheSegfault >Priority: Blocker > > CMAKE options used: > cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt > -DDISABLE_ROCKSDB=true > > No errors in CMAKE > Run time image have a problem > > (MiNiFi) running with PID 17. > {color:#FF}Error loading shared library libpaho-mqtt3c.so.1: No such file > or directory (needed by /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi){color} > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_setCallbacks: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_subscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_unsubscribe: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_disconnect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_isConnected: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_publishMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_freeMessage: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_connect: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_free: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_destroy: symbol not found > Error relocating /opt/minifi/nifi-minifi-cpp-0.5.0/bin/minifi: > MQTTClient_create: symbol not found > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16752556#comment-16752556 ] Prasad Alokam edited comment on MINIFICPP-722 at 1/25/19 6:37 PM: -- config.yml --- MiNiFi Config Version: 3 Flow Controller: name: MQTT comment: '' Core Properties: flow controller graceful shutdown period: 10 sec flow service write delay interval: 500 ms administrative yield duration: 30 sec bored yield duration: 10 millis max concurrent threads: 1 variable registry properties: '' FlowFile Repository: partitions: 256 checkpoint interval: 2 mins always sync: false Swap: threshold: 2 in period: 5 sec in threads: 1 out period: 5 sec out threads: 4 Content Repository: content claim max appendable size: 10 MB content claim max flow files: 100 always sync: false Provenance Repository: provenance rollover time: 1 min implementation: org.apache.nifi.provenance.MiNiFiPersistentProvenanceRepository Component Status Repository: buffer size: 1440 snapshot frequency: 1 min Security Properties: keystore: '' keystore type: '' keystore password: '' key password: '' truststore: '' truststore type: '' truststore password: '' ssl protocol: '' Sensitive Props: key: algorithm: PBEWITHMD5AND256BITAES-CBC-OPENSSL provider: BC Processors: - id: a3f9f561-8915-358f-- name: ConsumeMQTT class: org.apache.nifi.processors.mqtt.ConsumeMQTT max concurrent tasks: 1 scheduling strategy: TIMER_DRIVEN scheduling period: 30 sec penalization period: 30 sec yield period: 10 sec run duration nanos: 0 auto-terminated relationships list: [] Properties: Broker URI: tcp://localhost:1883 Client ID: mqttclientconsume Connection Timeout (seconds): '30' Keep Alive Interval (seconds): '60' Last Will Message: Last Will QoS Level: Last Will Retain: Last Will Topic: MQTT Specification Version: '0' Max Queue Size: '1024' Password: Quality of Service(QoS): '0' SSL Context Service: Session state: 'true' Topic Filter: nifi Username: - id: eb4c6a60-82d7-39b0-- name: PublishMQTT class: org.apache.nifi.processors.mqtt.PublishMQTT max concurrent tasks: 1 scheduling strategy: TIMER_DRIVEN scheduling period: 0 sec penalization period: 30 sec yield period: 10 sec run duration nanos: 0 auto-terminated relationships list: - failure - success Properties: Broker URI: tcp://localhost:1883 Client ID: mqttpublishclient Connection Timeout (seconds): '30' Keep Alive Interval (seconds): '60' Last Will Message: test Last Will QoS Level: '0' Last Will Retain: 'true' Last Will Topic: nifi MQTT Specification Version: '0' Password: Quality of Service(QoS): '0' Retain Message: 'true' SSL Context Service: Session state: 'true' Topic: nifi Username: - id: f9edfac1-973e-35e3-- name: ReplaceText class: org.apache.nifi.processors.standard.ReplaceText max concurrent tasks: 1 scheduling strategy: TIMER_DRIVEN scheduling period: 0 sec penalization period: 30 sec yield period: 10 sec run duration nanos: 0 auto-terminated relationships list: [] Properties: Character Set: UTF-8 Evaluation Mode: Entire text Maximum Buffer Size: 1 MB Regular Expression: test Replacement Strategy: Regex Replace Replacement Value: test12 Controller Services: [] Process Groups: [] Input Ports: [] Output Ports: [] Funnels: [] Connections: - id: 0598788a-0146-30bf-- name: ConsumeMQTT/Message/ReplaceText source id: a3f9f561-8915-358f-- source relationship names: - Message destination id: f9edfac1-973e-35e3-- max work queue size: 1 max work queue data size: 1 GB flowfile expiration: 0 sec queue prioritizer class: '' - id: 1f2cc47a-413a-3dea-- name: ReplaceText/failure/PublishMQTT source id: f9edfac1-973e-35e3-- source relationship names: - failure - success destination id: eb4c6a60-82d7-39b0-- max work queue size: 1 max work queue data size: 1 GB flowfile expiration: 0 sec queue prioritizer class: '' Remote Process Groups: [] NiFi Properties Overrides: {} -- was (Author: palokam): MiNiFi Config Version: 3 Flow Controller: name: MQTT comment: '' Core Properties: flow controller graceful shutdown period: 10 sec flow service write delay interval: 500 ms administrative yield duration: 30 sec bored yield duration: 10 millis max concurrent threads: 1 variable registry properties: '' FlowFile Repository: partitions: 256 checkpoint interval: 2 mins always sync: false Swap: threshold: 2 in period: 5 sec in threads: 1 out period: 5 sec out threads: 4 Content
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16752556#comment-16752556 ] Prasad Alokam edited comment on MINIFICPP-722 at 1/25/19 6:37 PM: -- MiNiFi Config Version: 3 Flow Controller: name: MQTT comment: '' Core Properties: flow controller graceful shutdown period: 10 sec flow service write delay interval: 500 ms administrative yield duration: 30 sec bored yield duration: 10 millis max concurrent threads: 1 variable registry properties: '' FlowFile Repository: partitions: 256 checkpoint interval: 2 mins always sync: false Swap: threshold: 2 in period: 5 sec in threads: 1 out period: 5 sec out threads: 4 Content Repository: content claim max appendable size: 10 MB content claim max flow files: 100 always sync: false Provenance Repository: provenance rollover time: 1 min implementation: org.apache.nifi.provenance.MiNiFiPersistentProvenanceRepository Component Status Repository: buffer size: 1440 snapshot frequency: 1 min Security Properties: keystore: '' keystore type: '' keystore password: '' key password: '' truststore: '' truststore type: '' truststore password: '' ssl protocol: '' Sensitive Props: key: algorithm: PBEWITHMD5AND256BITAES-CBC-OPENSSL provider: BC Processors: - id: a3f9f561-8915-358f-- name: ConsumeMQTT class: org.apache.nifi.processors.mqtt.ConsumeMQTT max concurrent tasks: 1 scheduling strategy: TIMER_DRIVEN scheduling period: 30 sec penalization period: 30 sec yield period: 10 sec run duration nanos: 0 auto-terminated relationships list: [] Properties: Broker URI: tcp://localhost:1883 Client ID: mqttclientconsume Connection Timeout (seconds): '30' Keep Alive Interval (seconds): '60' Last Will Message: Last Will QoS Level: Last Will Retain: Last Will Topic: MQTT Specification Version: '0' Max Queue Size: '1024' Password: Quality of Service(QoS): '0' SSL Context Service: Session state: 'true' Topic Filter: nifi Username: - id: eb4c6a60-82d7-39b0-- name: PublishMQTT class: org.apache.nifi.processors.mqtt.PublishMQTT max concurrent tasks: 1 scheduling strategy: TIMER_DRIVEN scheduling period: 0 sec penalization period: 30 sec yield period: 10 sec run duration nanos: 0 auto-terminated relationships list: - failure - success Properties: Broker URI: tcp://localhost:1883 Client ID: mqttpublishclient Connection Timeout (seconds): '30' Keep Alive Interval (seconds): '60' Last Will Message: test Last Will QoS Level: '0' Last Will Retain: 'true' Last Will Topic: nifi MQTT Specification Version: '0' Password: Quality of Service(QoS): '0' Retain Message: 'true' SSL Context Service: Session state: 'true' Topic: nifi Username: - id: f9edfac1-973e-35e3-- name: ReplaceText class: org.apache.nifi.processors.standard.ReplaceText max concurrent tasks: 1 scheduling strategy: TIMER_DRIVEN scheduling period: 0 sec penalization period: 30 sec yield period: 10 sec run duration nanos: 0 auto-terminated relationships list: [] Properties: Character Set: UTF-8 Evaluation Mode: Entire text Maximum Buffer Size: 1 MB Regular Expression: test Replacement Strategy: Regex Replace Replacement Value: test12 Controller Services: [] Process Groups: [] Input Ports: [] Output Ports: [] Funnels: [] Connections: - id: 0598788a-0146-30bf-- name: ConsumeMQTT/Message/ReplaceText source id: a3f9f561-8915-358f-- source relationship names: - Message destination id: f9edfac1-973e-35e3-- max work queue size: 1 max work queue data size: 1 GB flowfile expiration: 0 sec queue prioritizer class: '' - id: 1f2cc47a-413a-3dea-- name: ReplaceText/failure/PublishMQTT source id: f9edfac1-973e-35e3-- source relationship names: - failure - success destination id: eb4c6a60-82d7-39b0-- max work queue size: 1 max work queue data size: 1 GB flowfile expiration: 0 sec queue prioritizer class: '' Remote Process Groups: [] NiFi Properties Overrides: {} was (Author: palokam): Config.yml MiNiFi Config Version: 3 Flow Controller: name: MQTT comment: '' Core Properties: flow controller graceful shutdown period: 10 sec flow service write delay interval: 500 ms administrative yield duration: 30 sec bored yield duration: 10 millis max concurrent threads: 1 variable registry properties: '' FlowFile Repository: partitions: 256 checkpoint interval: 2 mins always sync: false Swap: threshold: 2 in period: 5 sec in threads: 1 out period: 5 sec out threads: 4 Content Repository:
[jira] [Comment Edited] (MINIFICPP-722) MQTT Processor failing - but cmake is fine
[ https://issues.apache.org/jira/browse/MINIFICPP-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16752551#comment-16752551 ] Prasad Alokam edited comment on MINIFICPP-722 at 1/25/19 6:35 PM: -- Adding Dockerfile ---Begin Dokcerfile--- FROM alpine:3.5 ARG UID=1000 ARG GID=1000 ARG TC_MINIFI_VERSION ENV USER minificpp ENV MINIFI_BASE_DIR /opt/minifi ENV MINIFI_HOME ${MINIFI_BASE_DIR}/nifi-minifi-cpp-${TC_MINIFI_VERSION} ENV CMAKE_SOURCE_DIR ${MINIFI_BASE_DIR}/nifi-minifi-cpp RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories RUN apk --update --no-cache upgrade && apk add --update --no-cache \ util-linux \ curl \ unzip \ gpsd \ libressl \ python python-dev \ zlib bash RUN addgroup -g $GID $USER && adduser -u $UID -D -G $USER -g "" $USER RUN mkdir -p $MINIFI_BASE_DIR COPY --from=builder ${MINIFI_HOME} ${MINIFI_HOME} ADD scripts/ ${MINIFI_BASE_DIR}/scripts/ RUN chmod +x ${MINIFI_BASE_DIR}/scripts/start.sh \ && chmod 777 ${MINIFI_BASE_DIR}/scripts/start.sh \ && chown -R root:root ${MINIFI_BASE_DIR}/scripts/start.sh RUN chown -R ${USER}:${USER} /opt/minifi USER $USER CMD ${MINIFI_BASE_DIR}/scripts/start.sh ---END Dokcerfile--- was (Author: palokam): Adding Dockerfile ---Begin Dokcerfile--- FROM alpine:3.5 AS builder MAINTAINER Digital TC Engineering ARG UID=1000 ARG GID=1000 ARG TC_MINIFI_VERSION ENV USER minificpp ENV MINIFI_BASE_DIR /opt/minifi ENV MINIFI_HOME ${MINIFI_BASE_DIR}/nifi-minifi-cpp-${TC_MINIFI_VERSION} ENV CMAKE_SOURCE_DIR ${MINIFI_BASE_DIR}/nifi-minifi-cpp # Setup minificpp user RUN addgroup -g $GID $USER && adduser -u $UID -D -G $USER -g "" $USER RUN apk --update --no-cache upgrade && apk --update add --no-cache --virtual .build-deps \ curl curl-dev bash tar rsync gcc g++ make bison flex flex-dev wget gdb musl-dev \ boost-dev vim util-linux util-linux-dev curl-dev cmake git unzip gpsd gpsd-dev libressl libressl-dev \ zlib zlib-dev bzip2-dev python python-dev RUN mkdir -p ${MINIFI_HOME} && mkdir -p $CMAKE_SOURCE_DIR/docker/minificppsource ADD ./ ${CMAKE_SOURCE_DIR}/ RUN cd ${CMAKE_SOURCE_DIR}/ && pwd && ls -l RUN chown -R $USER:$USER $MINIFI_BASE_DIR USER $USER # Copy the MiNiFi source tree to the Docker working directory before building RUN rsync -avr \ --exclude '/*build*' \ --exclude '/docker' \ --exclude '.git' \ --exclude '/extensions/expression-language/Parser.cpp' \ --exclude '/extensions/expression-language/Parser.hpp' \ --exclude '/extensions/expression-language/Scanner.cpp' \ --exclude '/extensions/expression-language/location.hh' \ --exclude '/extensions/expression-language/position.hh' \ --exclude '/extensions/expression-language/stack.hh' \ --delete \ $CMAKE_SOURCE_DIR/ \ $CMAKE_SOURCE_DIR/docker/minificppsource/ # Perform the build RUN cd ${CMAKE_SOURCE_DIR} \ && mkdir -p build \ && cd build \ #&& cmake -DSKIP_TESTS=true .. -DCMAKE_CXX_FLAGS=-lrt -DDISABLE_ROCKSDB=true \ && cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt -DDISABLE_ROCKSDB=true \ #&& cmake -DSKIP_TESTS=true .. -DENABLE_ALL=true \ && make -j8 package \ && cd ${CMAKE_SOURCE_DIR}/build/ && pwd && ls -l \ && tar -xzvf ${CMAKE_SOURCE_DIR}/build/nifi-minifi-cpp-${TC_MINIFI_VERSION}-bin.tar.gz -C $MINIFI_BASE_DIR \ && pwd && ls -l && cd ${MINIFI_HOME} && pwd && ls -l FROM alpine:3.5 ARG UID=1000 ARG GID=1000 ARG TC_MINIFI_VERSION ENV USER minificpp ENV MINIFI_BASE_DIR /opt/minifi ENV MINIFI_HOME ${MINIFI_BASE_DIR}/nifi-minifi-cpp-${TC_MINIFI_VERSION} ENV CMAKE_SOURCE_DIR ${MINIFI_BASE_DIR}/nifi-minifi-cpp RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories RUN apk --update --no-cache upgrade && apk add --update --no-cache \ util-linux \ curl \ unzip \ gpsd \ libressl \ python python-dev \ zlib bash RUN addgroup -g $GID $USER && adduser -u $UID -D -G $USER -g "" $USER RUN mkdir -p $MINIFI_BASE_DIR COPY --from=builder ${MINIFI_HOME} ${MINIFI_HOME} ADD scripts/ ${MINIFI_BASE_DIR}/scripts/ RUN chmod +x ${MINIFI_BASE_DIR}/scripts/start.sh \ && chmod 777 ${MINIFI_BASE_DIR}/scripts/start.sh \ && chown -R root:root ${MINIFI_BASE_DIR}/scripts/start.sh RUN chown -R ${USER}:${USER} /opt/minifi USER $USER CMD ${MINIFI_BASE_DIR}/scripts/start.sh ---END Dokcerfile--- > MQTT Processor failing - but cmake is fine > -- > > Key: MINIFICPP-722 > URL: https://issues.apache.org/jira/browse/MINIFICPP-722 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Prasad Alokam >Priority: Blocker > > CMAKE options used: > cmake -DSKIP_TESTS=true .. -DENABLE_MQTT=TRUE -DCMAKE_CXX_FLAGS=-lrt > -DDISABLE_ROCKSDB=true > > No errors in CMAKE > Run time image have a problem > >