hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1475) .gitignore files being placed in test warehouse directories causing build failure
Date Wed, 21 Jul 2010 23:29:49 GMT

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

Ning Zhang commented on HIVE-1475:

A minor correction on the description. The related HIVE JIRA is HIVE-1464 rather than HIVE-1463.
The last comment is copied as follows:

i think i found why it's happening.
these lines in build-common.xml:

<copy todir="${test.data.dir}">
<fileset dir="${test.src.data.dir}">
<exclude name="**/.svn"/>

are copying .gitignore to test/data/warehouse/src

it remains there after this. the reason this is happening now is that 'cleanup()' happens
via metadata commands - and there are no tables in metadata at the beginning of the test.
so nothing gets deleted. then a whole bunch of 'load data' commands are executed - which also
don't delete old stuff.

after this - earlier each test would call cleanup() again - which would delete the entire
directory. but now this is not done anymore. so the .gitignore stays there.

lots of ways of fixing this - but this whole data/warehouse dir and then copying it recursively
is totally unnecessary i think. i will file a separate jira.

> .gitignore files being placed in test warehouse directories causing build failure
> ---------------------------------------------------------------------------------
>                 Key: HIVE-1475
>                 URL: https://issues.apache.org/jira/browse/HIVE-1475
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Joydeep Sen Sarma
>            Priority: Critical
> from last comments on HIVE-1463:
> test warehouse is being polluted with .gitignore files. these need to be removed.

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

View raw message