hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3517) HBASE-3470 breaks ability to submit MR jobs from hbase jar
Date Wed, 09 Feb 2011 18:31:57 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992640#comment-12992640

Todd Lipcon commented on HBASE-3517:

bq. Where we putting hbase-default.xml into 'target'?

Maven magic - this "phase" runs after the resources are copied, or something. I don't entirely
understand but appears to work. I'll double check once more before commit that it works from
a clean build.

> HBASE-3470 breaks ability to submit MR jobs from hbase jar
> ----------------------------------------------------------
>                 Key: HBASE-3517
>                 URL: https://issues.apache.org/jira/browse/HBASE-3517
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Blocker
>             Fix For: 0.90.1
>         Attachments: hbase-3517.txt
> Since Hadoop unjars the job jar and puts it on the classpath, you get an error like this:
> Exception in thread "main" java.lang.RuntimeException: hbase-defaults.xml is being loaded
from file:/mnt/hadoop/hadoop-unjar1005964575221584670/hbase-default.xml rather than the HBase
JAR. This is dangerous since you may pick up defaults from a previously installed version
of HBase. Please remove hbase-default.xml from your configuration directory.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message