Ed Berezitsky created NIFI-5832:
-----------------------------------

             Summary: PutHiveQL - Flowfile isn't transferred to failure rel on 
actual failure
                 Key: NIFI-5832
                 URL: https://issues.apache.org/jira/browse/NIFI-5832
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Ed Berezitsky
            Assignee: Ed Berezitsky


PutHiveQL is stuck if error occurred when flow file contains multiple 
statements.

Example:

 
{code:java}
 
set tez.queue.name=qwe;
create table t_table1 (s string) stored as orc;{code}
 

This will fail if such queue doesn't exist. But FF will be stuck in incoming 
connection forever without even emitting bulletin (bulletin will appear only 
when the processor is in debug mode).

Another example:
{code:java}
insert into table t_table1 select 'test' from test limit 1;
insert into table non_existing_table select * from another_table;{code}
Note, first statement is correct one, second should fail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to