You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Dima Spivak (JIRA)" <ji...@apache.org> on 2017/02/17 16:25:42 UTC

[jira] [Resolved] (HBASE-17659) How to connect to hbase hdfs filesystem

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

Dima Spivak resolved HBASE-17659.
---------------------------------
    Resolution: Not A Problem

Please use the user mailing list for questions about getting HBase up and running. 

> How to connect to hbase hdfs filesystem
> ---------------------------------------
>
>                 Key: HBASE-17659
>                 URL: https://issues.apache.org/jira/browse/HBASE-17659
>             Project: HBase
>          Issue Type: Task
>          Components: API
>    Affects Versions: 0.94.7
>            Reporter: Jenson Luke
>            Priority: Blocker
>
> I am not able to connect to HBASE hdfs file system. When I run my Java program through server, it is picking up the local file system instead of hdfs file system.
> while Running through Server, I am passing only
> conf = HBaseConfiguration.create();
> fs = FileSystem.get(this.conf);
> Path tabledir = new Path(fs.makeQualified(new Path(conf.get(HConstants.HBASE_DIR))), tableName);
> It is giving the value of tabledir as "/tmp/hbase-hbase/hbase/tsdb-uid_jentab_bkp1_scen06"
> My actual hdfs path is "hdfs://ibdash-xxxx.xx.xx.xxxx.net:8020/hbase".



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)