You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by mattyb149 <gi...@git.apache.org> on 2017/12/14 23:16:50 UTC

[GitHub] nifi pull request #2342: NIFI-4696: Add Flowfile attribute EL support and pe...

GitHub user mattyb149 opened a pull request:

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

    NIFI-4696: Add Flowfile attribute EL support and per-table concurrency to PutHiveStreaming

    Thank you for submitting a contribution to Apache NiFi.
    
    In order to streamline the review of the contribution we ask you
    to ensure the following steps have been taken:
    
    ### For all changes:
    - [x] Is there a JIRA ticket associated with this PR? Is it referenced 
         in the commit message?
    
    - [x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
    
    - [x] Has your PR been rebased against the latest commit within the target branch (typically master)?
    
    - [x] Is your initial contribution a single, squashed commit?
    
    ### For code changes:
    - [x] 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?
    - [ ] 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?
    - [x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?
    
    ### For documentation related changes:
    - [x] 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.


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

    $ git pull https://github.com/mattyb149/nifi NIFI-4696

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

    https://github.com/apache/nifi/pull/2342.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 #2342
    
----
commit 9f53a0d729b39e7f332ebd76abf09e5d4ffea83f
Author: Matthew Burgess <ma...@apache.org>
Date:   2017-12-14T22:19:25Z

    NIFI-4696: Add Flowfile attribute EL support and per-table concurrency to PutHiveStreaming

----


---

[GitHub] nifi pull request #2342: NIFI-4696: Add Flowfile attribute EL support and pe...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---

[GitHub] nifi issue #2342: NIFI-4696: Add Flowfile attribute EL support and per-table...

Posted by pvillard31 <gi...@git.apache.org>.
Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/2342
  
    +1, merging to master, thanks @mattyb149 


---

[GitHub] nifi pull request #2342: NIFI-4696: Add Flowfile attribute EL support and pe...

Posted by pvillard31 <gi...@git.apache.org>.
Github user pvillard31 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2342#discussion_r157701335
  
    --- Diff: nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/main/java/org/apache/nifi/processors/hive/PutHiveStreaming.java ---
    @@ -156,7 +158,9 @@
                 .displayName("Hive Configuration Resources")
                 .description("A file or comma separated list of files which contains the Hive configuration (hive-site.xml, e.g.). Without this, Hadoop "
                         + "will search the classpath for a 'hive-site.xml' file or will revert to a default configuration. Note that to enable authentication "
    -                    + "with Kerberos e.g., the appropriate properties must be set in the configuration files. Please see the Hive documentation for more details.")
    +                    + "with Kerberos e.g., the appropriate properties must be set in the configuration files. Also note that if Max Concurrent Tasks is set "
    +                    + "to a number greater than one, the 'hcatalog.hive.client.cache.disabled' property will be forced to 'true' to avoid concurrency issues. "
    --- End diff --
    
    I know you reference the Hive documentation but shouldn't we explicitly say that it's not possible to concurrently write in the same database.table?


---

[GitHub] nifi pull request #2342: NIFI-4696: Add Flowfile attribute EL support and pe...

Posted by mattyb149 <gi...@git.apache.org>.
Github user mattyb149 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2342#discussion_r157808792
  
    --- Diff: nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/main/java/org/apache/nifi/processors/hive/PutHiveStreaming.java ---
    @@ -156,7 +158,9 @@
                 .displayName("Hive Configuration Resources")
                 .description("A file or comma separated list of files which contains the Hive configuration (hive-site.xml, e.g.). Without this, Hadoop "
                         + "will search the classpath for a 'hive-site.xml' file or will revert to a default configuration. Note that to enable authentication "
    -                    + "with Kerberos e.g., the appropriate properties must be set in the configuration files. Please see the Hive documentation for more details.")
    +                    + "with Kerberos e.g., the appropriate properties must be set in the configuration files. Also note that if Max Concurrent Tasks is set "
    +                    + "to a number greater than one, the 'hcatalog.hive.client.cache.disabled' property will be forced to 'true' to avoid concurrency issues. "
    --- End diff --
    
    Yes good point, will add that


---