[jira] [Resolved] (MINIFICPP-1194) MiNiFi-DOCS - Fix Table Formatting for 2 Execute.* Processors

2020-04-19 Thread James Medel (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Medel resolved MINIFICPP-1194.

Resolution: Fixed

The table formatting issue was that the 2 tables were not rendering. I updated 
the markdown for the tables and now the tables render correctly. Arpad Boda 
approved the PR and merged.

> MiNiFi-DOCS - Fix Table Formatting for 2 Execute.* Processors
> -
>
> Key: MINIFICPP-1194
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1194
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Documentation
>Affects Versions: master
> Environment: Ubuntu 18.04 LTS in AWS EC2
>Reporter: James Medel
>Priority: Major
> Fix For: master
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Table formatting issues were making it difficult to read properties for 
> ExecutePythonProcessor and ExecuteScript. So, this change in markdown 
> resolves the formatting issues.
> Doc affected: 
> [https://github.com/apache/nifi-minifi-cpp/blob/master/PROCESSORS.md#executescript]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (MINIFICPP-1194) MiNiFi-DOCS - Fix Table Formatting for 2 Execute.* Processors

2020-04-19 Thread James Medel (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Medel updated MINIFICPP-1194:
---
Affects Version/s: (was: 0.7.0)
   master

> MiNiFi-DOCS - Fix Table Formatting for 2 Execute.* Processors
> -
>
> Key: MINIFICPP-1194
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1194
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Documentation
>Affects Versions: master
> Environment: Ubuntu 18.04 LTS in AWS EC2
>Reporter: James Medel
>Priority: Major
> Fix For: 0.7.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Table formatting issues were making it difficult to read properties for 
> ExecutePythonProcessor and ExecuteScript. So, this change in markdown 
> resolves the formatting issues.
> Doc affected: 
> [https://github.com/apache/nifi-minifi-cpp/blob/master/PROCESSORS.md#executescript]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (MINIFICPP-1194) MiNiFi-DOCS - Fix Table Formatting for 2 Execute.* Processors

2020-04-19 Thread James Medel (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Medel updated MINIFICPP-1194:
---
Fix Version/s: (was: 0.7.0)
   master

> MiNiFi-DOCS - Fix Table Formatting for 2 Execute.* Processors
> -
>
> Key: MINIFICPP-1194
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1194
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Documentation
>Affects Versions: master
> Environment: Ubuntu 18.04 LTS in AWS EC2
>Reporter: James Medel
>Priority: Major
> Fix For: master
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Table formatting issues were making it difficult to read properties for 
> ExecutePythonProcessor and ExecuteScript. So, this change in markdown 
> resolves the formatting issues.
> Doc affected: 
> [https://github.com/apache/nifi-minifi-cpp/blob/master/PROCESSORS.md#executescript]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MINIFICPP-1195) MiNiFiCPP-DOCS: Updates README Outdated Bootstrapping Info

2020-04-19 Thread James Medel (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Medel resolved MINIFICPP-1195.

Resolution: Fixed

I updated the Getting Started: Bootstrapping section with the latest menu 
guided bootstrap process text from the console. ArpadBoda approved the pull 
request and merged.

> MiNiFiCPP-DOCS: Updates README Outdated Bootstrapping Info
> --
>
> Key: MINIFICPP-1195
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1195
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Documentation
>Affects Versions: master
> Environment: Ubuntu 18.04 LTS on AWS EC2
>Reporter: James Medel
>Priority: Major
> Fix For: master
>
>
> The paragraph in the Getting Started: Bootstrapping section originally told 
> the user to enter N to continue the build process, but with the updated menu 
> guided bootstrap process displayed in the console, P is what one must enter 
> to continue the build process. I updated that info.
> The previous menu guided bootstrap process was outdated and did not show the 
> new features Bustache Support to SQL Support and the Build Options. So, I 
> updated it to show that information.
>  
> Here is my pull request with the updates: 
> [https://github.com/apache/nifi-minifi-cpp/pull/760] 
> Here is the doc that I am proposing updates for: 
> [https://github.com/apache/nifi-minifi-cpp/blob/master/README.md]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (MINIFICPP-1195) MiNiFiCPP-DOCS: Updates README Outdated Bootstrapping Info

2020-04-19 Thread James Medel (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Medel updated MINIFICPP-1195:
---
Fix Version/s: (was: 0.7.0)
   master

> MiNiFiCPP-DOCS: Updates README Outdated Bootstrapping Info
> --
>
> Key: MINIFICPP-1195
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1195
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Documentation
>Affects Versions: master
> Environment: Ubuntu 18.04 LTS on AWS EC2
>Reporter: James Medel
>Priority: Major
> Fix For: master
>
>
> The paragraph in the Getting Started: Bootstrapping section originally told 
> the user to enter N to continue the build process, but with the updated menu 
> guided bootstrap process displayed in the console, P is what one must enter 
> to continue the build process. I updated that info.
> The previous menu guided bootstrap process was outdated and did not show the 
> new features Bustache Support to SQL Support and the Build Options. So, I 
> updated it to show that information.
>  
> Here is my pull request with the updates: 
> [https://github.com/apache/nifi-minifi-cpp/pull/760] 
> Here is the doc that I am proposing updates for: 
> [https://github.com/apache/nifi-minifi-cpp/blob/master/README.md]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (MINIFICPP-1195) MiNiFiCPP-DOCS: Updates README Outdated Bootstrapping Info

2020-04-19 Thread James Medel (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Medel updated MINIFICPP-1195:
---
Affects Version/s: (was: 0.7.0)
   master

> MiNiFiCPP-DOCS: Updates README Outdated Bootstrapping Info
> --
>
> Key: MINIFICPP-1195
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1195
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Documentation
>Affects Versions: master
> Environment: Ubuntu 18.04 LTS on AWS EC2
>Reporter: James Medel
>Priority: Major
> Fix For: 0.7.0
>
>
> The paragraph in the Getting Started: Bootstrapping section originally told 
> the user to enter N to continue the build process, but with the updated menu 
> guided bootstrap process displayed in the console, P is what one must enter 
> to continue the build process. I updated that info.
> The previous menu guided bootstrap process was outdated and did not show the 
> new features Bustache Support to SQL Support and the Build Options. So, I 
> updated it to show that information.
>  
> Here is my pull request with the updates: 
> [https://github.com/apache/nifi-minifi-cpp/pull/760] 
> Here is the doc that I am proposing updates for: 
> [https://github.com/apache/nifi-minifi-cpp/blob/master/README.md]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [nifi-minifi-cpp] james94 opened a new pull request #762: MINIFICPP-1198: Fixes AWSCredentialsService Table Render Issue

2020-04-19 Thread GitBox


james94 opened a new pull request #762:
URL: https://github.com/apache/nifi-minifi-cpp/pull/762


   Under AWSCredentialsService section, the Properties markdown table was not 
rendering. I realized the markdown table was missing a hyphen '-' and pipe '|' 
for the last header. I added this missing markdown and now the table renders 
correctly.
   
   Created Jira ticket associated with this PR: 
https://issues.apache.org/jira/browse/MINIFICPP-1198
   
   Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
   
   In order to streamline the review of the contribution we ask you
   to ensure the following steps have been taken:
   
   ### For all changes:
   - [ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
   
   - [ ] Does your PR title start with MINIFICPP- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
   
   - [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?
   
   - [ ] Is your initial contribution a single, squashed commit?
   
   ### For code changes:
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the LICENSE file?
   - [ ] If applicable, have you updated the NOTICE file?
   
   ### For documentation related changes:
   - [ ] Have you ensured that format looks appropriate for the output in which 
it is rendered?
   
   ### Note:
   Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[jira] [Created] (MINIFICPP-1198) Fix AWSCredentialsService Table Render Issue in CONTROLLERS.md

2020-04-19 Thread James Medel (Jira)
James Medel created MINIFICPP-1198:
--

 Summary: Fix AWSCredentialsService Table Render Issue in 
CONTROLLERS.md
 Key: MINIFICPP-1198
 URL: https://issues.apache.org/jira/browse/MINIFICPP-1198
 Project: Apache NiFi MiNiFi C++
  Issue Type: Documentation
Affects Versions: master
Reporter: James Medel
 Fix For: master


Under AWSCredentialsService section, the Properties markdown table was not 
rendering. I realized the markdown table was missing a hyphen '-' and pipe '|' 
for the last header. I added this missing markdown and now the table renders 
correctly.

Page affected: 
https://github.com/apache/nifi-minifi-cpp/blob/master/CONTROLLERS.md



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (MINIFICPP-1197) Update ExampleProcessor.py to Show More Features of MiNiFiCPP Python

2020-04-19 Thread James Medel (Jira)
James Medel created MINIFICPP-1197:
--

 Summary: Update ExampleProcessor.py to Show More Features of 
MiNiFiCPP Python
 Key: MINIFICPP-1197
 URL: https://issues.apache.org/jira/browse/MINIFICPP-1197
 Project: Apache NiFi MiNiFi C++
  Issue Type: Improvement
Affects Versions: master
Reporter: James Medel
 Fix For: master


I feel we could use the python *ExampleProcessor* as a processor template to 
introduce people to the various features that are available when you build 
custom Python Processors in MiNiFi CPP. MiNiFi CPP's Python processor feature 
is a great way to get started with developing processors and it can be used for 
rapid prototyping. Currently, the ExampleProcessor.py shows how to add a Flow 
File attribute. We could update the processor to include how to read content 
from incoming flow files using session.write(flow_file, input_stream_cb) and 
how to write the content using session.write(flow_file, output_stream_cb) and 
more features defined in MiNiFi CPP PythonBindings.h.

 

My suggestion is we update:  

- 
[nifi-minifi-cpp/extensions/script/ExampleProcessor.py|[https://github.com/apache/nifi-minifi-cpp/blob/master/extensions/script/ExampleProcessor.py]]

 

References:

- 
[nifi-minifi-cpp/extensions/script/python/PythonBindings.h|[https://github.com/apache/nifi-minifi-cpp/blob/master/extensions/script/python/PythonBindings.h]]

- 
[nifi-minifi-cpp/extensions/script/python/ExecutePythonProcessor.h|[https://github.com/apache/nifi-minifi-cpp/blob/master/extensions/script/python/ExecutePythonProcessor.h]]

- 
[nifi-minifi-cpp/extensions/script/python/PyProcessSession.h|[https://github.com/apache/nifi-minifi-cpp/blob/master/extensions/script/python/PyProcessSession.h]]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MINIFICPP-1074) TailFileTests not working on WIN32 due do CLRF

2020-04-19 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz resolved MINIFICPP-1074.
-
Fix Version/s: 0.8.0
   Resolution: Duplicate

Fixed in context of MINIFICPP-1096

> TailFileTests not working on WIN32 due do CLRF
> --
>
> Key: MINIFICPP-1074
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1074
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Andre Araujo
>Assignee: Andre Araujo
>Priority: Major
> Fix For: 0.8.0
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Several points in the test cases implementation are not handling
>  the WIN32 CRLF end-of-line correctly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MINIFICPP-1103) Stabilize MergeFileTests

2020-04-19 Thread Marton Szasz (Jira)


[ 
https://issues.apache.org/jira/browse/MINIFICPP-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17087095#comment-17087095
 ] 

Marton Szasz commented on MINIFICPP-1103:
-

The PR is closed. Is the issue resolved?

> Stabilize MergeFileTests
> 
>
> Key: MINIFICPP-1103
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1103
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Arpad Boda
>Assignee: Arpad Boda
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> MergeFileTests sometimes fail when running on heavily loaded environment:
> {code}
> /home/aboda/work/PRs/nifi-minifi-cpp/libminifi/test/archive-tests/MergeFileTests.cpp:561:
>  FAILED:
>   REQUIRE( flow1->getSize() == 96 )
> with expansion:
>   64 == 96
> {code}
> This is most probably related to the fact that the test is based on flowfile 
> order. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MINIFICPP-942) Make sure we can reliably pass compile and link options to every part of the code

2020-04-19 Thread Marton Szasz (Jira)


[ 
https://issues.apache.org/jira/browse/MINIFICPP-942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17087094#comment-17087094
 ] 

Marton Szasz commented on MINIFICPP-942:


Could you add a description? It's not entirely clear to me what you meant by 
the title.

> Make sure we can reliably pass compile and link options to every part of the 
> code
> -
>
> Key: MINIFICPP-942
> URL: https://issues.apache.org/jira/browse/MINIFICPP-942
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Dániel Bakai
>Assignee: Dániel Bakai
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MINIFICPP-1115) Release 0.7.0

2020-04-19 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz resolved MINIFICPP-1115.
-
Resolution: Done

> Release 0.7.0
> -
>
> Key: MINIFICPP-1115
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1115
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Arpad Boda
>Assignee: Arpad Boda
>Priority: Major
>  Labels: release
> Fix For: 0.7.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MINIFICPP-1196) MiNiFiCPP-BUG: Failed to initialize and start ExampleProcessor.py

2020-04-19 Thread James Medel (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Medel resolved MINIFICPP-1196.

Resolution: Fixed

I figured out why the ExampleProcessor.py was not starting. It turned out my 
script file path specified in the config.yml file was wrong. Once I corrected 
it, the python processor worked.

> MiNiFiCPP-BUG: Failed to initialize and start ExampleProcessor.py
> -
>
> Key: MINIFICPP-1196
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1196
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Documentation
>Affects Versions: 0.7.0
>Reporter: James Medel
>Priority: Major
> Fix For: 0.7.0
>
> Attachments: config.yml
>
>
> I am working on creating custom MiNiFiCPP Python Processors, my processors 
> were failing to start, so I tried the ExampleProcessor.py from the repo and 
> dropped it into my flow. When I run my flow, I receive the error message: 
> {color:#0747a6}[2020-04-17 18:29:10.807] 
> [org::apache::nifi::minifi::core::ProcessGroup] [error] Failed to start 
> processor 54d61268-80d9-11ea-a76f-022edbf4da95 (ExampleProcessor): Could not 
> correctly in initialize ExampleProcessor{color}
> I also receive warning message:
> {color:#0747a6}[2020-04-17 18:29:10.779] 
> [org::apache::nifi::minifi::core::ConfigurableComponent] [warning] Could not 
> find property Script File{color}
> I placed the ExampleProcessor.py into the minifi-python/ directory, then 
> specified the Script File path for ExecutePythonProcessor in my config.yml 
> file. 
> I followed the instructions at *Apache NiFi - MiNiFi - Python Processors 
> Readme*: 
> [https://github.com/apache/nifi-minifi-cpp/tree/master/extensions/script]
> I used *ExampleProcessor.py*: 
> [https://github.com/apache/nifi-minifi-cpp/blob/master/extensions/script/ExampleProcessor.py]
>  
> Any help with getting this Python Processor to work would be greatly 
> appreciated.
> [^config.yml]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MINIFICPP-1155) Rocksdb repos print invalid stats

2020-04-19 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz resolved MINIFICPP-1155.
-
Resolution: Fixed

> Rocksdb repos print invalid stats
> -
>
> Key: MINIFICPP-1155
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1155
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Arpad Boda
>Assignee: Arpad Boda
>Priority: Major
> Fix For: 0.8.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code} [org::apache::nifi::minifi::provenance::ProvenanceRepository] [info] 
> Repository stats: key count: 123145430314561, table readers size: 
> 123145430314593, all memory tables size: 123145430314625 {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MINIFICPP-1185) Remove moodycamel::concurrentqueue from threadpool

2020-04-19 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz resolved MINIFICPP-1185.
-

> Remove moodycamel::concurrentqueue from threadpool
> --
>
> Key: MINIFICPP-1185
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1185
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Affects Versions: 0.7.0
>Reporter: Arpad Boda
>Assignee: Arpad Boda
>Priority: Major
> Fix For: 0.8.0
>
>  Time Spent: 10h 40m
>  Remaining Estimate: 0h
>
> MoodyCamel::ConcurrentQueue uses thread locals and prefers them when 
> enqueueing and dequeueing from the same thread. In this edgecase the queue 
> doesn't behave like a queue, but like a stack, causing starvation in 
> threadpool under special circumstances. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (MINIFICPP-1092) Make CoAP compile and work on Windows

2020-04-19 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz updated MINIFICPP-1092:

Fix Version/s: 0.8.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Make CoAP compile and work on Windows
> -
>
> Key: MINIFICPP-1092
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1092
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Dániel Bakai
>Assignee: Dániel Bakai
>Priority: Major
> Fix For: 0.8.0
>
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MINIFICPP-1192) Fix backtrace support on macOS and add in-function offsets

2020-04-19 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz resolved MINIFICPP-1192.
-
Fix Version/s: 0.8.0
   Resolution: Fixed

> Fix backtrace support on macOS and add in-function offsets
> --
>
> Key: MINIFICPP-1192
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1192
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Dániel Bakai
>Assignee: Dániel Bakai
>Priority: Major
> Fix For: 0.8.0
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MINIFICPP-1158) Event driven processors can starve each other

2020-04-19 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz resolved MINIFICPP-1158.
-
Resolution: Fixed

> Event driven processors can starve each other
> -
>
> Key: MINIFICPP-1158
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1158
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Affects Versions: 0.7.0
>Reporter: Arpad Boda
>Assignee: Arpad Boda
>Priority: Blocker
> Fix For: 0.8.0
>
>  Time Spent: 12h 50m
>  Remaining Estimate: 0h
>
> The task (that wraps onTrigger call) for event driven processors executes a 
> loop and waits 1 sec for work to do.
> In case the frequency of the incoming work is higher than that, the task 
> never exists, just triggers the processor in an endless loop. 
> In case the workload is high and there are multiple event driven processors 
> (actually more than the number of threads configured for the flow), some 
> simply gets starved. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [nifi] ottobackwards commented on a change in pull request #4217: NIFI-7373 - Add putAll method to DistributedMapCacheClient interface

2020-04-19 Thread GitBox
ottobackwards commented on a change in pull request #4217: NIFI-7373 - Add 
putAll method to DistributedMapCacheClient interface
URL: https://github.com/apache/nifi/pull/4217#discussion_r410905370
 
 

 ##
 File path: 
nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-client-service-api/src/main/java/org/apache/nifi/distributed/cache/client/DistributedMapCacheClient.java
 ##
 @@ -105,6 +105,23 @@
  */
  void put(K key, V value, Serializer keySerializer, Serializer 
valueSerializer) throws IOException;
 
+/**
 
 Review comment:
   " for a set of keys and values of the same types, with the same 
serialization."  maybe?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [nifi] MikeThomsen opened a new pull request #4217: NIFI-7373

2020-04-19 Thread GitBox
MikeThomsen opened a new pull request #4217: NIFI-7373
URL: https://github.com/apache/nifi/pull/4217
 
 
   Added new methods to DistributedMapCacheClient for bulk get and put. Updated 
HBase 1.1.2 clients.
   Added HBase 2 support.
   Added Redis support.
   
   Thank you for submitting a contribution to Apache NiFi.
   
   Please provide a short description of the PR here:
   
    Description of PR
   
   _Enables X functionality; fixes bug NIFI-._
   
   In order to streamline the review of the contribution we ask you
   to ensure the following steps have been taken:
   
   ### For all changes:
   - [ ] Is there a JIRA ticket associated with this PR? Is it referenced 
in the commit message?
   
   - [ ] Does your PR title start with **NIFI-** where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
   
   - [ ] Has your PR been rebased against the latest commit within the target 
branch (typically `master`)?
   
   - [ ] Is your initial contribution a single, squashed commit? _Additional 
commits in response to PR reviewer feedback should be made on this branch and 
pushed to allow change tracking. Do not `squash` or use `--force` when pushing 
to allow for clean monitoring of changes._
   
   ### For code changes:
   - [ ] Have you ensured that the full suite of tests is executed via `mvn 
-Pcontrib-check clean install` at the root `nifi` folder?
   - [ ] Have you written or updated unit tests to verify your changes?
   - [ ] Have you verified that the full build is successful on both JDK 8 and 
JDK 11?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
   - [ ] If applicable, have you updated the `LICENSE` file, including the main 
`LICENSE` file under `nifi-assembly`?
   - [ ] If applicable, have you updated the `NOTICE` file, including the main 
`NOTICE` file found under `nifi-assembly`?
   - [ ] If adding new Properties, have you added `.displayName` in addition to 
.name (programmatic access) for each of the new properties?
   
   ### For documentation related changes:
   - [ ] Have you ensured that format looks appropriate for the output in which 
it is rendered?
   
   ### Note:
   Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Created] (NIFI-7373) Add a bulk put method to DistributedMapCache

2020-04-19 Thread Mike Thomsen (Jira)
Mike Thomsen created NIFI-7373:
--

 Summary: Add a bulk put method to DistributedMapCache
 Key: NIFI-7373
 URL: https://issues.apache.org/jira/browse/NIFI-7373
 Project: Apache NiFi
  Issue Type: Improvement
Reporter: Mike Thomsen
Assignee: Mike Thomsen


The method should allow you to put a Map of key value pairs into a distributed 
map cache. It should provide a default implementation that calls put() as it 
iterates over the map.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)