You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2009/03/30 18:02:52 UTC

[jira] Commented: (HIVE-379) TestHWISessionManager.testHiveDriver fails

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

Edward Capriolo commented on HIVE-379:
--------------------------------------

I have to look at the stack trace to get more detail. I am guessing the issue could have to do with the result file being created, for later comparison. I say this because this is the only large change to happen to the test case in the last patch.

{noformat}
  File tmpdir = new File("/tmp/" + System.getProperty("user.name") + "/");
                if (tmpdir.exists() && !tmpdir.isDirectory()) {
                        throw new RuntimeException(tmpdir + " exists but is not a directory");
                }

                if (!tmpdir.exists()) {
                        if (!tmpdir.mkdirs()) {
                                throw new RuntimeException("Could not make scratch directory " + tmpdir);
                        }
                }
{noformat}

> TestHWISessionManager.testHiveDriver fails
> ------------------------------------------
>
>                 Key: HIVE-379
>                 URL: https://issues.apache.org/jira/browse/HIVE-379
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>
> The TestHWISessionManager.testHiveDriver fails with the following error:
> junit.framework.AssertionFailedError: expected:<9> but was:<0>
> at org.apache.hadoop.hive.hwi.TestHWISessionManager.testHiveDriver(TestHWISessionManager.java:124)
> See build for more details: http://hudson.zones.apache.org/hudson/job/Hive-trunk-h0.17/47/testReport/org.apache.hadoop.hive.hwi/TestHWISessionManager/testHiveDriver/

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