Mark Payne
d3d43262db
NIFI-6150: Moved logic of decrementing content claims from ProcessSession.commit to the FlowFile Repository. Also updated load-balancing protocol and queue drop logic to no longer decrement content claims since the flowfile repo will handle the logic. This allows us ts to ensure that the claimant counts are decremented only if the repo is successfully updated and still before checking if the claim is still in use or not.
...
This closes #3391 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-03-27 10:22:01 -04:00
Koji Kawamura
cae01d555c
NIFI-6117: Fix BIGINT handling in DataTypeUtils
...
Follow numeric type conversion convention used for other integral types.
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #3371
2019-03-26 10:39:35 -04:00
Matthew Burgess
c2dc0910b7
NIFI-6117: Fix BIGINT handling in DataTypeUtils
2019-03-26 10:39:29 -04:00
Pierre Villard
ead6a3b842
NIFI-6144 - Enable EL on listening port in HandleHttpRequest
...
This closes #3386 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-25 11:52:28 +09:00
Peter Turcsanyi
c8eff590ef
NIFI-6142: Fixing some typos in user/dev guides
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #3384 .
2019-03-24 12:29:46 +01:00
Joe Witt
1bdab73201
NIFI-6121 Updated the easy dependencies to update
...
This closes #3374
Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2019-03-22 09:01:21 -04:00
Matthew Burgess
ce09b93ef1
NIFI-6139: Add fragment attributes to PartitionRecord
...
This closes #3382 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-22 10:41:10 +09:00
Ferenc Szabó
48a6c81fa2
NIFI-4735: ParseEVTX only outputs one event per chunk
...
This change is based on https://github.com/apache/nifi/pull/2489
I have reproduced the issue with some additional test cases and test files then applied the original fix.
commit message from the original change:
Updated the EVTX FileHeader class to correctly check if there are more chunks in the file. Previously this would not process the last chunk.
Updated the EVTX ChunkHeader class to correctly check if there are additional records in the chunk. Previously this would only process the first record of each chunk. It was using the fileLastRecordNumber where it should have been using the logLastRecordNumber value.
Updated the EVTX unit tests to have the correct expected number of events and use the logLastRecordNumber.
refactoring duplicated code and magic numbers
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #2489
This closes #3379
2019-03-20 14:12:03 -04:00
Matt Gilman
d35d15cdda
NIFI-6027
...
- Allowing user or group existence enforcement to be parameterized.
- Fixing error handling when loading user groups which may have resulted in stack trace leaking.
This closes #3377 .
Signed-off-by: Kevin Doran <kdoran@apache.org>
2019-03-20 13:38:46 -04:00
Koji Kawamura
cd3567873b
NIFI-5918 Fix issue with MergeRecord when DefragmentStrategy is on
...
Added an unit test representing the fixed issue.
And updated existing testDefragment test to illustrate
the remaining FlowFiles those did not meet the threshold.
2019-03-20 12:36:08 +09:00
Andres Garagiola
b97fbd2c89
NIFI-5918 Fix issue with MergeRecord when DefragmentStrategy is on
...
This closes #3334 .
Signed-off-by: Andres Garagiola <andresgaragiola@gmail.com>
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-20 12:15:40 +09:00
Bryan Bende
9d21a106ad
NIFI-6120 Move nifi.registry.version property to root pom so it can be shared between nifi-framework and nifi-toolkit
...
This closes #3369 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-20 10:56:10 +09:00
Peter Turcsanyi
77b84edf5b
NIFI-6122: PutS3Object supports national characters in filenames.
...
This closes #3373 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-20 10:51:39 +09:00
Matthew Burgess
06f41ac6f8
NIFI-6127: Fixed NPE in match() and find() EL functions when attribute doesn't exist
...
This closes #3378 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-20 10:30:55 +09:00
Rob Fellows
0cb15cfb1a
NIFI-6118 - Fix: UI - Not all calls to nfCanvasUtil.reloadConnectionSourceAndDestination are made with the proper component IDs
...
This closes #3368
2019-03-18 14:48:41 -04:00
Rob Fellows
6401e32a33
NIFI-6126 - Change nf-canvas to respond to keyup events rather than keydown
...
This closes #3376
2019-03-18 14:08:56 -04:00
Peter G. Horvath
43235724e2
NIFI-5318 Implement NiFi test harness: initial commit
...
NIFI-5318 Implement NiFi test harness: replaced original sample feed payload with synthetic content
NIFI-5318 Implement NiFi test harness: fixed test harness run crash issue; better reporting of paths
NIFI-5318 Implement NiFi test harness: added further states where NiFi version can be queried
NIFI-5318 Implement NiFi test harness: fixed incorrect class reference
NIFI-5318 Implement NiFi test harness: added type parameter bounding to setClassOfSingleProcessor to prevent configuring obviously incorrect classes
NIFI-5318 Updated project version.
This closes #3165
Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2019-03-16 10:08:44 -04:00
Sandish Kumar
45ebeba846
NIFI-5267 Kafka support to replay by timestamp
...
This closes #3372 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-03-15 09:18:39 -04:00
Sandish Kumar
82e2c97782
NIFI-5956 Option BlockCache HBaseScanProcessor
...
This closes #3295 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-03-14 12:22:41 -04:00
Koji Kawamura
4db5446c87
NIFI-6082: Refactor the way to handle fields nullable
...
- Make enriched fields nullable at LookupRecord.
- Removed unnecessary AvroConversionOptions and reader schema creation,
because ResultSetRecordSet can generate NiFi Record Schema from RS
directly. No Avro schema is needed to do that.
2019-03-14 09:33:39 +09:00
Matthew Burgess
ca76fe178c
NIFI-6082: Added DatabaseRecordLookupService, refactored common DB utils
...
NIFI-6082: Added SimpleDatabaseLookupService
NIFI-6082: Merged Koji's improvements, incorporated review comments
This closes #3341 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-14 09:33:30 +09:00
Sandish Kumar
0e10e417df
NIFI-4358 This closes #3363 . cassandra connection enable compression at resquest and response
...
Signed-off-by: Joe Witt <joewitt@apache.org>
2019-03-13 15:56:13 -04:00
Koji Kawamura
2846d3c3c6
NIFI-6105: Fix handling of arrays of records/maps in record utilities
...
Refactored to use the same check logic for Record and Map types
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #3367
2019-03-13 11:49:00 -04:00
Matthew Burgess
f91311da9d
NIFI-6105: Fix handling of arrays of records/maps in record utilities
...
This closes #3353 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-13 11:47:55 -04:00
pushpavanthar
35d1cace08
Documentation : ConsumerKafka_2_0 - updated configuration details re… ( #3360 )
...
* Documentation : ConsumerKafka_2_0 - updated configuration details related to SASL_PLAINTEXT - SCRAM
* Updated rest of the related documents with SCRAM configurations and few NOTEs
* incorporated review comments
* incorporated review comments
2019-03-13 11:12:00 -04:00
pushpavanthar
98ca28d50d
NIFI-6083 - Improving documentation for Kafka Service Name property
...
This closes #3365 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-03-12 12:29:22 -04:00
Ryan Bower
160ade9f9d
NIFI-5018
...
- Added snap alignment for nf-label, label resize events, and nf-connection
- Shift key now disables snap alignment during the drag event.
- nf-connection load-balance-icon updated
This closes #3335
2019-03-11 13:52:09 -04:00
Mark Payne
c84f40ee36
NIFI-6111: Fixed bugs in the Status History values. If metrics are not available yet from all nodes for the last point on the graph, leave the cluster aggregate value off for the last point to prevent it from dropping significantly at the end of the chart. Fixed bug where counter values were not properly summed together in cluster view. Addressed issue with Average Task Duration
...
This closes #3361 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-03-08 17:27:49 -05:00
Mark Payne
58a25cfa5a
NIFI-6110: Updated StandardProcessSession such that if we fail to update the FlowFile Repository, we do not decrement claimant counts for any FlowFiles that were removed. Doing so can cause an issue where a FlowFile is removed, then the FlowFileRepo update fails, resulting in the flowfile being rolled back, but after its claimant count is decremented. It will then be processed again, which can result in the same thing, and we'll end up decrementing the claimant count repeatedly. Also updated LengthDelimitedJournal so that if the overflow directory already exists, it does not fail when trying to create the directory and instead just moves on. Updated unit tests to test both of these new fixes and updated DummyRecordSerde to be thread-safe because the TestLengthDelimitedJournal now needs it to be thread safe due to the new unit test that was added.
...
This closes #3358 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-03-08 10:32:38 -05:00
Peter Turcsanyi
79e05c9f58
NIFI-6078: Create PostSlack processor
...
Processor for sending messages on Slack and optionally upload and attach
the FlowFile content (e.g. an image) to the message.
NIFI-6078: Remove username/icon properties.
NIFI-6078: Make Text property optional.
NIFI-6078: Documentation changes.
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #3339
2019-03-07 13:00:31 -05:00
Ferenc Szabó
d53cefa2a7
NIFI-3685 Azure EventHub processor tests fail
...
Moved test classes into the proper folder.
Fixed outdated mocking and added assertions that actually tests the content.
This closes #3346 .
Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2019-03-07 14:26:40 +09:00
Kevin Doran
1d06044e3b
NIFI-6108: Fix port names when imported from registry
...
This closes #3356 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-03-06 17:07:18 -05:00
Freddy Tuxworth
08a307cc64
Added tests for commons utilities StringUtils and FormatUtils
...
These tests were written using Diffblue Cover.
Fixed bug in FormatUtils.formatNanos
Fix import asterisk warning
Add Apache license header.
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #3354
2019-03-06 13:59:35 -05:00
Matthew Burgess
c32ea618c5
NIFI-6040: Fixed ExecuteSQL processors when Output Batch Size is set
...
This closes #3355 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-03-06 13:44:33 -05:00
Andy LoPresto
4f2b0156fb
NIFI-6103 Fixed README documentation to indicate JDK 1.8 is required.
2019-03-04 22:25:50 -05:00
thenatog
36bbc77723
NIFI-6097 - Upgraded the fasterxml jackson version to 2.9.8. Ensure that the version is consistent across modules using a maven property defined in the root pom.
...
This closes #3347
Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2019-03-04 19:30:35 -05:00
Bryan Bende
5249a85030
NIFI-5859 Modifications to extension manifest generation to better support unmarshalling XML into pojos
...
- Fixing doc generation for providedServiceAPIs
This closes #3338 .
Signed-off-by: Kevin Doran <kdoran@apache.org>
2019-02-28 15:32:37 -05:00
Matthew Burgess
32bd7ed8b4
NIFI-6062: Add support for BLOB, CLOB, NCLOB in record handling
...
This closes #3329
Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2019-02-28 08:59:37 -05:00
Matthew Burgess
e5fa18d63c
NIFI-6088: Widen type inference for BIGINT and DOUBLE
...
This closes #3342
Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2019-02-28 05:51:33 -05:00
Arpad Boda
2a6c3c1686
NIFI-5977 - Add "Minimum/Maximum File Age" Parameter to ListSFTP
...
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes #3324 .
2019-02-28 09:15:59 +01:00
Mike Thomsen
6d4504d662
NIFI-6067 Enabled support for the JVM remote debugger in the Docker container.
...
This closes #3326 .
Signed-off-by: Aldrin Piri <aldrin@apache.org>
2019-02-27 20:15:23 -05:00
Otto Fowler
922da68a23
NIFI-6076 syslog5424 should support missing MSG
...
- newer lib version and better test
This closes #3331 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-02-26 09:39:09 -05:00
Joe Percivall
cd7edb1c04
NIFI-5172 Adding the ability to specify a record writer for PutElasticsearchHttpRecord in order to individually handle failed records
...
Addressing PR feedback
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This closes #3299
2019-02-25 17:15:39 -05:00
Bryan Bende
be6cd4f0f2
NIFI-6069 Fixing checkstyle error
2019-02-25 16:52:41 -05:00
Mike Thomsen
b0a93b473b
NIFI-5980 Added HBase_1_1_2_ListLookupService.
...
NIFI-5980 Added HBase_2_ListLookupService.
This closes #3278 .
Signed-off-by: Bryan Bende <bbende@apache.org>
2019-02-25 16:42:11 -05:00
Bryan Bende
4b45e85327
NIFI-6055 Improving error handling during auto-loading of NARs and ensuring only one Jetty NAR is loaded
...
NIFI-6056 Fixing cassandra bundle so nifi-mock is a test scoped and removing incorrect usage of ProviderCreation exception from nifi-framework-api
This closes #3322 .
Signed-off-by: Mark Payne <markap14@hotmail.com>
2019-02-22 12:19:12 -05:00
Bryan Bende
26c00f1080
NIFI-6069 Fixing fingerprinting of connection relationships to be properly sorted
...
This closes #3325 .
Signed-off-by: Mark Payne <markap14@hotmail.com>
2019-02-22 12:13:13 -05:00
Mark Payne
414bfc94fc
NIFI-6068: Fixed unit test
2019-02-22 11:55:25 -05:00
Mark Payne
e26bacf697
NIFI-6068, NIFI-6065: Updated StandardFunnel to avoid looping indefinitely and instead transfer no more than 10,000 FlowFiles before returning from onTrigger. Updated Local Ports to behavior in the same way. Updated Root Group Ports so that instead of blocking for up to 100 milliseconds for an incoming request, it blocks for up to 1 millisecond and if nothing is available yields for the 'bored yield duration'
...
Signed-off-by: Brandon Devries <devriesb@apache.org>
This closes #3328 .
2019-02-22 10:12:20 -05:00
Pierre Villard
2336044b90
NIFI-6059 - Fixed NPE in GCS processors when project ID is not specified
...
This closes #3327 .
Signed-off-by: Mark Payne <markap14@hotmail.com>
2019-02-22 09:45:13 -05:00