[ 
https://issues.apache.org/jira/browse/HIVE-15051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Vary updated HIVE-15051:
------------------------------
    Attachment: Interim.patch

Thanks for looking to this [~thejas]!

Uploaded the current status of the patch (Interim.patch). To run it, we need 
HIVE-15725 (needed), and HIVE-15726 (optional). Both patches are available, and 
waiting for review/commit.

After applying and committing the patch to the local branch you can run the 
following script from a clean (HEAD+2) hive source root:
{code}
./[petervary:~/dev/upstream/hive] $ ./dev-support/test-patch.sh 
~/Downloads/HIVE-16345.2.patch
{code}

This will generate something like the attached beeline.out, and ql.out output 
to the terminal.

Current status:
- Needs the previously mentioned HIVE-15725, HIVE-15726 jiras before this can 
be committed.
- When the patch contains new Vectorization txt files, then the sources are not 
generated by Yetus. I might just have to change which mvn parameters should be 
used. Have to find out how these files are generated in the first place :)
- YETUS-488 is a nice to have.

Planned:
- We should integrate it to Jira, and the we can have a report like this:
https://issues.apache.org/jira/browse/YARN-6363?focusedCommentId=15937570&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15937570

To be honest, I have found that this patch has limited support from the 
community, and the TestBeeLineDriver patches sparked much more interest. Those 
are currently consume most of my time, but if someone with a committership 
could review and commit, then I would be happy to pick up this again! :)

Thanks,
Peter

> Test framework integration with findbugs, rat checks etc.
> ---------------------------------------------------------
>
>                 Key: HIVE-15051
>                 URL: https://issues.apache.org/jira/browse/HIVE-15051
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Testing Infrastructure
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>         Attachments: beeline.out, Interim.patch, ql.out
>
>
> Find a way to integrate code analysis tools like findbugs, rat checks to 
> PreCommit tests, thus removing the burden from reviewers to check the code 
> style and other checks which could be done by code. 
> Might worth to take a look on Yetus, but keep in mind the Hive has a specific 
> parallel test framework.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to