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

ASF subversion and git services commented on IMPALA-10176:
----------------------------------------------------------

Commit e038db4479e3ae1232da15d3dbbfdd9aeb058006 in impala's branch 
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e038db4 ]

IMPALA-10177: Generate test-classpath.txt

Currently the hive-jdbc jar is added under the scope 'test'.
Therefore it won't be included in the build-classpath.txt because it
only includes jars from the 'runtime' scope. Therefore
run-hive-jdbc.sh throws ClassNotFoundException exception.

This commit adds a new execution 'write-test-classpath' to pom.xml.
It creates a test-classpath.txt. This can be used by scripts that need
classes from the 'test' scope.

Modified set-classpath.sh as well. If its first argument is 'test',
then it also adds the contents of test-classpath.txt to the CLASSPATH.
Now run-jdbc-client.sh sources 'set-classpath.sh test'.

Testing:
* executed core tests, turned out test_describe_formatted is broken,
  see IMPALA-10176 for details. Disabling that test for now.

Change-Id: I47e4340fde9a5678d94459f676d8894dc5da14dc
Reviewed-on: http://gerrit.cloudera.org:8080/16450
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> test_describe_formatted is broken
> ---------------------------------
>
>                 Key: IMPALA-10176
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10176
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Priority: Major
>
> test_describe_formatted hasn't been doing anything in a while since the 
> hive-jdbc jar is not in the classpath, hence bin/run-jdbc-client.sh always 
> produces empty STDOUT. So exec_and_compare_hive_and_impala_hs2 always compare 
> two empty result sets and always succeed.
> I found the issue during [https://gerrit.cloudera.org/#/c/16450/] This sets 
> the classpath for run-jdbc-client.sh correctly. But this change request 
> failed during the pre-commit tests because it activated 
> test_describe_formatted and turned out it is failing.
> Seems like the problem is that Hive outputs some extra table statistics under 
> "Table parameters", e.g.:
> '','numFiles ','24 ' 
> '','numPartitions ','24 ' 
> '','numRows ','0 ' 
> '','rawDataSize ','0 ' 
> '','totalSize ','489934 '



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to