From user-return-55075-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Fri Apr 20 14:38:48 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C384E180645 for ; Fri, 20 Apr 2018 14:38:47 +0200 (CEST) Received: (qmail 72600 invoked by uid 500); 20 Apr 2018 12:38:46 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 72582 invoked by uid 99); 20 Apr 2018 12:38:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2018 12:38:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3172CC033A for ; Fri, 20 Apr 2018 12:38:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.979 X-Spam-Level: * X-Spam-Status: No, score=1.979 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 3SXuAu4ueQUo for ; Fri, 20 Apr 2018 12:38:43 +0000 (UTC) Received: from mail3-162.sinamail.sina.com.cn (mail3-162.sinamail.sina.com.cn [202.108.3.162]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id AD8825F398 for ; Fri, 20 Apr 2018 12:38:41 +0000 (UTC) Received: from 158.38.37.58.broad.xw.sh.dynamic.163data.com.cn (HELO ESGSHPC007)([58.37.38.158]) by sina.com with ESMTP id 5AD9DF4700000358; Fri, 20 Apr 2018 20:38:32 +0800 (CST) X-Sender: ovis_poly@sina.com X-Auth-ID: ovis_poly@sina.com X-SMAIL-MID: 302366394037 From: "Ming" To: Subject: How to get the HDFS path for a given HBase table? Date: Fri, 20 Apr 2018 20:38:25 +0800 Message-ID: <000b01d3d8a4$7c8b0c80$75a12580$@sina.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01D3D8E7.8AB662D0" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdPYo6S91bD2FyIdTkmDuIDov/sWaw== Content-Language: zh-cn ------=_NextPart_000_000C_01D3D8E7.8AB662D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I am trying to use Java API to get the HDFS path for a given table, but I cannot find that method. For some version, I notice it is under hbase.rootdir, then 'data/namespace/tablename'; for some version of hbase, it is 'data/default/tablename'. So I wish there is a programming way to get that Path string. Any help will be very appreciated! Thanks, Ming ------=_NextPart_000_000C_01D3D8E7.8AB662D0--