You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2016/09/07 20:06:20 UTC

[jira] [Commented] (HIVE-14532) Enable qtests from IDE

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

Zoltan Haindrich commented on HIVE-14532:
-----------------------------------------

I've found a few idea related issues...about a week ago...and ever since I've not worked on it....althrough eclipse support looks fine to me...I wanted to add idea support to in this patch.

I think that idea "cheats" a bit during project creation...
* if I import a commandline generated projectfiles: it seems a bit unworkable...
* importing as a pom.xml project: it looks fine at first....but cleaning the project and rebuilding surfaces similar issues I've found when I've first built these things with eclipse

Not sure what to do now...but because this patch adds the neccessary properties to run qtests from ide + enables eclipse support: I think it would be ok to add this and open another one to address idea projectfile creation/import.

I think full idea support is not far away...but someone more familiar with idea might have better chances with it ;)

> Enable qtests from IDE
> ----------------------
>
>                 Key: HIVE-14532
>                 URL: https://issues.apache.org/jira/browse/HIVE-14532
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Tests
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Minor
>         Attachments: HIVE-14532.1.patch, HIVE-14532.2.patch
>
>
> with HIVE-14444 applied; i've played around with executing qtest-s from eclipse...after the patch seemed ok; i've checked it with:
> {code}
> git clean -dfx
> mvn package install eclipse:eclipse -Pitests -DskipTests
> mvn -q test -Pitests -Dtest=TestCliDriver -Dqfile=combine2.q
> {code}
> the last step I think is not required...but I bootstrapped and checked my project integrity this way.
> After this I was able to execute {{TestCliDriver}} from eclipse using {{-Dqfile=combine.q}}, other qfiles may or may not work...but will have at least some chances to be usable.
> For my biggest surprise {{alter_concatenate_indexed_table.q}} also passed...which contains relative file references - and I suspected that it will have issues with that..
> note: I've the datanucleus plugin installed...and i use it when I need to.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)