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/10/05 20:57:14 UTC

[GitHub] nifi pull request #2138: NIFI-4371 - add support for query timeout in Hive p...

Github user mattyb149 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2138#discussion_r143055024
  
    --- Diff: nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/main/java/org/apache/nifi/processors/hive/SelectHiveQL.java ---
    @@ -290,6 +292,9 @@ public void process(final OutputStream out) throws IOException {
                                 }
                             }
     
    +                        // set query timeout
    +                        st.setQueryTimeout(queryTimeout);
    --- End diff --
    
    Nothing to be done here necessarily, but just wanted to mention that the success of this method is dependent on the customValidate() preventing the processor from running if the Hive JDBC driver does not support setQueryTimeout.


---