hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-11478) hbase-site.xml not read from Classpath
Date Tue, 08 Jul 2014 15:50:05 GMT

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

Andrew Purtell resolved HBASE-11478.
------------------------------------

       Resolution: Not a Problem
    Fix Version/s:     (was: 0.94.6)

Please take this to user@hbase.apache.org if you need further assistance.

> hbase-site.xml not read from Classpath
> --------------------------------------
>
>                 Key: HBASE-11478
>                 URL: https://issues.apache.org/jira/browse/HBASE-11478
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.94.6
>         Environment: Cloudera Hadoop 4.4.0
> hbase-0.94.6-cdh4.4.0-security.jar
>            Reporter: mark vervuurt
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> In a Java Pig UDF including an Hbase Client, which fetches the desired record from Hbase,
'hbase-site.xml' is not read from the Classpath.
> // Set Zookeeper Quorum used by HBASE
>             // Read hbase-site.xml from CLASSPATH
>             Configuration config = HBaseConfiguration.addHbaseResources(UDFContext.getUDFContext().getJobConf());
> We have verified that the directory 'etc/hbase/conf' where 'hbase-site.xml' is in, is
on the HADOOP_CLASSPATH . I have tried everything, including the 'etc/hbase/conf' or '/etc/hbase/conf/hbase-site.xml'
to PIG_CLASSPATH, CLASSPATH environment variables. We also tried adding the hbase-site.xml
to our HADOOP_CONF_DIR and HBASE_CONF_DIR is set.
> I have also tried REGISTER '/etc/hbase/conf/hbase-site.xml' in Pig. Finally the following
did not work either:
> conf.addResource("/etc/hbase/conf/hbase-site.xml");
> I hope this helps.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message