Hari Sankar Sivarama Subramaniyan updated HIVE-10514:
    Attachment: HIVE-10514.2.patch

[~sushanth] Thanks for the review. In patch #2
1. Made minor modification to the previous patch to generate txt file
2. Identified several places where we might run into similar issues in future. 
I have made changes in all such places which might be an "overkill" for now 
given the fact that we currently do not run into any issues for tests other 
than MiniMrCliDriver; however, in the long run, I believe this is a safer 
approach than getting blocked on unit tests.

Please review and let me know which one of the patches is good to go.


> Fix MiniCliDriver tests failure
> -------------------------------
>                 Key: HIVE-10514
>                 URL: https://issues.apache.org/jira/browse/HIVE-10514
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Szehon Ho
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-10514.1.patch, HIVE-10514.2.patch
> The MinimrCliDriver tests always fail to run.
> This can be reproduced by the following, run the command:
> {noformat}
> mvn -B test -Phadoop-2 -Dtest=TestMinimrCliDriver 
> -Dminimr.query.files=infer_bucket_sort_map_operators.q,join1.q,bucketmapjoin7.q,udf_using.q
> {noformat}
> And the following exception comes:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile 
> (default-testCompile) on project hive-it-qfile: Compilation failure
> [ERROR] 
> /Users/szehon/repos/apache-hive-git/hive/itests/qtest/target/generated-test-sources/java/org/apache/hadoop/hive/cli/TestCliDriver.java:[100,22]
>  code too large
> {noformat}

This message was sent by Atlassian JIRA

Reply via email to