hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3709) Stop storing default ConfVars in temp file
Date Mon, 19 Nov 2012 19:41:58 GMT

     [ https://issues.apache.org/jira/browse/HIVE-3709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carl Steinbach updated HIVE-3709:
---------------------------------

    Status: Open  (was: Patch Available)

@Kevin: I still see errors in TestHiveServerSessions when I run the test individually:

% ant clean package test -Dtestcase=TestHiveServerSessions

test:
     [echo] Project: service
    [junit] WARNING: multiple versions of ant detected in path for junit 
    [junit]          jar:file:/Users/carl/.local/java/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
    [junit]      and jar:file:/Users/carl/Work/repos/hive-test/build/ivy/lib/hadoop0.20.shim/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
    [junit] Running org.apache.hadoop.hive.service.TestHiveServerSessions
    [junit] Hive history file=/Users/carl/Work/repos/hive-test/build/service/tmp/hive_job_log_carl_201211191056_789001489.txt
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 8.439 sec
    [junit] Hive history file=/Users/carl/Work/repos/hive-test/build/service/tmp/hive_job_log_carl_201211191056_788616740.txt
    [junit] [Fatal Error] :1:1: Content is not allowed in prolog.
    [junit] [Fatal Error] :92:58: The element type "name" must be terminated by the matching
end-tag "</name>".
    [junit] Test org.apache.hadoop.hive.service.TestHiveServerSessions FAILED
      [for] /Users/carl/Work/repos/hive-test/service/build.xml: The following error occurred
while executing this line:
      [for] /Users/carl/Work/repos/hive-test/build.xml:325: The following error occurred while
executing this line:
      [for] /Users/carl/Work/repos/hive-test/build-common.xml:455: Tests failed!

BUILD FAILED
/Users/carl/Work/repos/hive-test/build.xml:320: Keepgoing execution: 1 of 12 iterations failed.

                
> Stop storing default ConfVars in temp file
> ------------------------------------------
>
>                 Key: HIVE-3709
>                 URL: https://issues.apache.org/jira/browse/HIVE-3709
>             Project: Hive
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-3709.1.patch.txt, HIVE-3709.2.patch.txt
>
>
> To work around issues with Hadoop's Configuration object, specifically it's addResource(InputStream),
default configurations are written to a temp file (I think HIVE-2362 introduced this).
> This, however, introduces the problem that once that file is deleted from /tmp the client
crashes.  This is particularly problematic for long running services like the metastore server.
> Writing a custom InputStream to deal with the problems in the Configuration object should
provide a work around, which does not introduce a time bomb into Hive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message