Sahil Takiar commented on HIVE-19212:

Looks like this is the cause - 

It runs {{git clean}} with the {{-x}} option, which according to 
https://www.atlassian.com/git/tutorials/undoing-changes/git-clean deletes files 
that are in {{.gitignore}} too.

The reason it works locally is because the {{git clean}} isn't triggered unless 
you specify the {{--jenkins}} option (which we do enable in {{yetus-exec.sh}}). 
Looking through the code for {{test-patch.sh}}, enabling the {{--jenkins}} 
option also enables the {{--resetrepo}} option. Which is what triggers the 
{{git clean}} to run.

> Fix findbugs yetus pre-commit checks
> ------------------------------------
>                 Key: HIVE-19212
>                 URL: https://issues.apache.org/jira/browse/HIVE-19212
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Testing Infrastructure
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>            Priority: Major
>         Attachments: HIVE-19212.1.patch
> Follow up from HIVE-18883, the committed patch isn't working and Findbugs is 
> still not working.

This message was sent by Atlassian JIRA

Reply via email to