phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-1980) CsvBulkLoad cannot load hbase-site.xml from classpath
Date Sat, 16 May 2015 23:51:59 GMT

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

Nick Dimiduk updated PHOENIX-1980:
----------------------------------
    Attachment: 1980.patch

This seems to resolve the issue for me. The only difference between invoking {{create}} and
calling directly {{addHBaseResources}} is the call to setting the classloader. I'm a little
terrified of what's happening under the hood here.

> CsvBulkLoad cannot load hbase-site.xml from classpath
> -----------------------------------------------------
>
>                 Key: PHOENIX-1980
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1980
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>             Fix For: 4.5.0
>
>         Attachments: 1980.patch
>
>
> When I launch a job using a distributed cluster where hbase-site.xml is provided in {{HADOOP_CLASSPATH}}
instead of providing --zookeeper, I see errors showing "localhost:2181/hbase" is the target
connection, where I would expect "<hostname>:2181/hbase-unsecure".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message