hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <>
Subject [jira] Updated: (HIVE-203) fix eclipse templates to get junit tests working
Date Wed, 31 Dec 2008 18:11:44 GMT


Raghotham Murthy updated HIVE-203:

    Attachment: hive-203.1.patch

Need to do the following after applying the patch:

1. ant package in trunk (couldnt get rid of this step)
2. ant model-jar in metastore directory
3. ant gen-test in ql directory
4. ant eclipse-files in trunk (in addition to classpath, project, settings this cmd also generates
two launch configurations in trunk)

Then, in eclipse, file->import->General->Existing Projects Into Workspace->Select
root directory (point to trunk)

This should import the project and the launch configurations. You can look for launch configurations
by checking:
Run->Run Configurations->JUnit. There should be two configurations TestCliDriver, and
TestHive (metastore tests).

Then, you should be able to run all the unit tests by Run->Run.

I had to remove a whole bunch of extraneous @Overrides because  eclipse complained about them
for me. These overrides were extraneous since they were specified for methods in classes which
were just implementing interfaces and not really extending classes which had those same methods.

> fix eclipse templates to get junit tests working
> ------------------------------------------------
>                 Key: HIVE-203
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.2.0
>            Reporter: Raghotham Murthy
>            Assignee: Raghotham Murthy
>             Fix For: 0.2.0
>         Attachments: hive-203.1.patch
> right now eclipse templates are not complete.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message