[ 
https://issues.apache.org/jira/browse/OOZIE-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789418#comment-16789418
 ] 

Andras Salamon commented on OOZIE-2927:
---------------------------------------

[~gezapeti] I think the test was running for you because the trimming should beĀ 
{noformat}
String query = getHive2Script(inputDir.toString(), outputDir.toString()).trim();
{noformat}
instead of
{noformat}
String query = getHive2Script(inputDir.toString(), outputDir.toString().trim());
{noformat}
Beeline already fixed this in later versions, see HIVE-10541 (or maybe 
HIVE-7475) but the test fails me with the version we use.

> Append new line character for Hive2 query using query tag
> ---------------------------------------------------------
>
>                 Key: OOZIE-2927
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2927
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>            Reporter: Abhishek Bafna
>            Assignee: Abhishek Bafna
>            Priority: Major
>         Attachments: OOZIE-2927-00.patch, OOZIE-2927-01.patch
>
>
> Without the new line character in the query, beeline does not do anything. 
> Though hive2 action completes successfully but query is not executed.



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

Reply via email to