GitHub user tequalsme opened a pull request:

    https://github.com/apache/nifi/pull/1791

    NIFI-3881 Fix PutHiveStreaming EL evaluation

    2 properties in PutHiveStreaming (`TXNS_PER_BATCH` and `RECORDS_PER_TXN`) 
are marked as supporting expression language, but not evaluating it. Every unit 
test is unnecessarily marked with 
`TestRunner.setValidateExpressionUsage(false)` which effectively hides the bug.
    
    The PR adds calls to `evaluateAttributeExpressions()` where each property 
is accessed, and removes the unnecessary disabling in the unit tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tequalsme/nifi nifi-3881

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/1791.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1791
    
----
commit addb2a5cb81c9b8c53fdd7d32a1c00ff2c5d313c
Author: Tim Reardon <[email protected]>
Date:   2017-05-12T17:25:24Z

    NIFI-3881 Fix PutHiveStreaming EL evaluation

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to