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

Sushanth Sowmyan commented on HIVE-10514:
-----------------------------------------

Good work, Hari. From looking at the diff between 
./itests/qtest/target/generated-test-sources/java/org/apache/hadoop/hive/cli/ 
before and after your patch, I see what it's doing, and it makes sense. We'll 
wait on the test run to see if it succeeds properly, and whether or not this 
gets us around the 64kb method problem.

Also, on my local box, the command specified in the bug description works after 
your patch:

{noformat}
thunderfall:itests sush$ mvn -B test -Phadoop-2 -Dtest=TestMinimrCliDriver 
-Dminimr.query.files=infer_bucket_sort_map_operators.q,join1.q,bucketmapjoin7.q,udf_using.q
[INFO] Scanning for projects...
...
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
hive-it-qfile ---
[INFO] Compiling 14 source files to 
/Users/sush/dev/hive.git/itests/qtest/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-it-qfile ---
[INFO] Surefire report directory: 
/Users/sush/dev/hive.git/itests/qtest/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.hive.cli.TestMinimrCliDriver
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 706.564 sec - 
in org.apache.hadoop.hive.cli.TestMinimrCliDriver

Results :

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
...
[INFO] Reactor Summary:
[INFO] 
[INFO] Hive Integration - Parent ......................... SUCCESS [  1.036 s]
[INFO] Hive Integration - Custom Serde ................... SUCCESS [  1.845 s]
[INFO] Hive Integration - HCatalog Unit Tests ............ SUCCESS [  1.919 s]
[INFO] Hive Integration - Testing Utilities .............. SUCCESS [  1.636 s]
[INFO] Hive Integration - Unit Tests ..................... SUCCESS [  3.606 s]
[INFO] Hive Integration - Test Serde ..................... SUCCESS [  0.316 s]
[INFO] Hive Integration - QFile Tests .................... SUCCESS [11:49 min]
[INFO] JMH benchmark: Hive ............................... SUCCESS [  0.789 s]
[INFO] Hive Integration - Unit Tests - Hadoop 2 .......... SUCCESS [  0.791 s]
[INFO] Hive Integration - Unit Tests with miniKdc ........ SUCCESS [  1.120 s]
[INFO] Hive Integration - QFile Spark Tests .............. SUCCESS [  3.514 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:07 min
[INFO] Finished at: 2015-04-28T01:17:25-08:00
[INFO] Final Memory: 90M/466M
[INFO] ------------------------------------------------------------------------
{noformat}

+1 on intent and change, waiting on test results.

> 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
>
>
> 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
(v6.3.4#6332)

Reply via email to