You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2012/10/12 03:11:04 UTC

[jira] [Created] (HIVE-3571) add a way to run a small unit quickly

Namit Jain created HIVE-3571:
--------------------------------

             Summary: add a way to run a small unit quickly
                 Key: HIVE-3571
                 URL: https://issues.apache.org/jira/browse/HIVE-3571
             Project: Hive
          Issue Type: Test
          Components: Testing Infrastructure
            Reporter: Namit Jain


A simple unit test:

ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q

takes a long time.

There should be a quick way to achieve that for debugging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly

Posted by "Bing Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496960#comment-13496960 ] 

Bing Li commented on HIVE-3571:
-------------------------------

Based on current build scripts, it will prepare all the test classes and jars, even if only one test case needed to run.

I think we can add a new option named -Dmodule= , the command could be like
ant test -Dmodule=ql -Dtestcase=TestCliDriver -Dqfile=union.q

With this option, it only needs to generate/compile necessary files.

Does it make sense?
                
> add a way to run a small unit quickly
> -------------------------------------
>
>                 Key: HIVE-3571
>                 URL: https://issues.apache.org/jira/browse/HIVE-3571
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure
>            Reporter: Namit Jain
>         Attachments: HIVE-3571.1.patch.txt
>
>
> A simple unit test:
> ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q
> takes a long time.
> There should be a quick way to achieve that for debugging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-3571) add a way to run a small unit quickly

Posted by "Navis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navis updated HIVE-3571:
------------------------

    Attachment: HIVE-3571.1.patch.txt

ant test-ql -Dtestcase=TestCliDriver -Dqfile=union.q

I know little about ant script. Someone can generify this for common usage (it's only for tests in ql module)
                
> add a way to run a small unit quickly
> -------------------------------------
>
>                 Key: HIVE-3571
>                 URL: https://issues.apache.org/jira/browse/HIVE-3571
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure
>            Reporter: Namit Jain
>         Attachments: HIVE-3571.1.patch.txt
>
>
> A simple unit test:
> ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q
> takes a long time.
> There should be a quick way to achieve that for debugging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-3571) add a way to run a small unit quickly

Posted by "Bing Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bing Li updated HIVE-3571:
--------------------------

    Assignee: Bing Li
    
> add a way to run a small unit quickly
> -------------------------------------
>
>                 Key: HIVE-3571
>                 URL: https://issues.apache.org/jira/browse/HIVE-3571
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure
>            Reporter: Namit Jain
>            Assignee: Bing Li
>         Attachments: HIVE-3571.1.patch.txt
>
>
> A simple unit test:
> ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q
> takes a long time.
> There should be a quick way to achieve that for debugging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira