Jenson Luke created HBASE-17659:
-----------------------------------

             Summary: 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)

Reply via email to