You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "David Phillips (JIRA)" <ji...@apache.org> on 2009/01/05 23:45:44 UTC
[jira] Commented: (HIVE-209) Enable assertions for unit tests
[ https://issues.apache.org/jira/browse/HIVE-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660969#action_12660969 ]
David Phillips commented on HIVE-209:
-------------------------------------
This change to HiveConf.java
{noformat}
- HADOOPNUMREDUCERS("mapred.reduce.tasks", "1"),
+ HADOOPNUMREDUCERS("mapred.reduce.tasks", 1),
{noformat}
exposes an assertion in DynamicSerDeFieldList.java:
{noformat}
assert(field.type == TType.STOP);
{noformat}
Use this (happens with many other tests too): ant -Dtestcase=TestCliDriver -Dqfile=join1.q test
> Enable assertions for unit tests
> --------------------------------
>
> Key: HIVE-209
> URL: https://issues.apache.org/jira/browse/HIVE-209
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Testing Infrastructure
> Reporter: David Phillips
> Attachments: hive-junit-assert.patch
>
>
> We should enable assertions while running unit tests. Many assertions currently fail while running tests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.