hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6824) [WINDOWS] TestClassLoading.testClassLoadingFromHDFS() fails
Date Fri, 28 Sep 2012 18:43:09 GMT

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

Enis Soztutar updated HBASE-6824:
---------------------------------

    Attachment: hbase-6824_v2-trunk.patch
                hbase-6824_v2-0.94.patch

Updated the patch with Andrew's suggestion. 
 - Added hbase.local.dir conf options
 - HBTU sets this so that the local dir is inside test-data dir 
 - coprocessor jars are put under ${hbase.local.dir}/coprocessor/jars/
                
> [WINDOWS] TestClassLoading.testClassLoadingFromHDFS() fails
> -----------------------------------------------------------
>
>                 Key: HBASE-6824
>                 URL: https://issues.apache.org/jira/browse/HBASE-6824
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.3, 0.96.0
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: hbase-6824_v1-0.94.patch, hbase-6824_v1-trunk.patch, hbase-6824_v2-0.94.patch,
hbase-6824_v2-trunk.patch
>
>
> Two HBase TestClassLoading unit tests failed due to a failiure in loading the test file
from HDFS:
> {code}
> testClassLoadingFromHDFS(org.apache.hadoop.hbase.coprocessor.TestClassLoading): Class
TestCP1 was missing on a region
> testClassLoadingFromLibDirInJar(org.apache.hadoop.hbase.coprocessor.TestClassLoading):
Class TestCP1 was missing on a region
> {code}
> The problem is that CoprocessorHost.load() copies the jar file locally, and schedules
the local file to be deleted on exit, but calling FileSystem.deleteOnExit(). However, the
filesystem is not the file system of the local file, it is the distributed file system, so
on windows, the Path fails.

--
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