From user-return-55076-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Fri Apr 20 14:43:18 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 B2BC0180645 for ; Fri, 20 Apr 2018 14:43:17 +0200 (CEST) Received: (qmail 98088 invoked by uid 500); 20 Apr 2018 12:43:11 -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 98066 invoked by uid 99); 20 Apr 2018 12:43:10 -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:43:10 +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 48249C033A for ; Fri, 20 Apr 2018 12:43:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.981 X-Spam-Level: * X-Spam-Status: No, score=1.981 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=spaggiari-org.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id JQ5UXy3UY1pu for ; Fri, 20 Apr 2018 12:43:09 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2CA285F238 for ; Fri, 20 Apr 2018 12:43:09 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id y20-v6so7899149oix.5 for ; Fri, 20 Apr 2018 05:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spaggiari-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=30qy8LJhGycAK7GOZEDcmGfmtKpzKG8c0GQF25OvGWQ=; b=GaiwRMgtckjH0TKDlZJiDwNKoVP1CgUu5nem6Xw4ld6DSjjHk7uQI5Q+eqfZwbV3V8 BFLuYGRjI3vpZa0+szO9nQygng+mWtm7xpJcD/I5i9JheFFabqwWuYGWFwHkEPZAvNkt auXKhCO6Ar5+wgCMu+JDwYyyF8yDdc2dYYTQMCE7z61IxvlyNGJQY/D+ZvmXbjRGHKCB 8WtArvbK3GJeNDxpYFxPIVAY7Vtw3FvukZh/chWjxhKoBD57V81M2u/e+oy+96KNzztm ftKmztViho/Nq6a5qEUnOvOSDNmSV2QvN3DOY1YWUoUWHW3M8VdW8nMdwFQXCpt/1M6T Emsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=30qy8LJhGycAK7GOZEDcmGfmtKpzKG8c0GQF25OvGWQ=; b=tq7pny5ZOVJKHp/q1DfQNmKnn+CspYxoW/35ENDTgFd42daCOFgKCmILNPMG3Bjz1R ajmcgnUCXiokbuwWd2Kar4ID0IgXXjDoxvNZf5+Dqs3kuk/Xtcn5sPIuj82Ehg0wDGcS NFKL7aSPLi0XHaq92eu2IdRO+O8wSOyN2vFGBPOf87ermQiB8f1QxF5+OKCA1wDtKEcl nRFI1yD4ZJKq5hdxcoWvCzplhyy47N6kKBmjE0fnO0wtyBaIqtGXOsUuXDHN6OOWGWZw +ka7lMfzwCGr9C/XXTFeJeyFbCG2wCevbiMgXzublkE9P4ZIBbZWw6u4FiYgiCYNU58P lCiA== X-Gm-Message-State: ALQs6tBtyk5+JyuLUwdbH0/RtAgGiFnTbS/phKik0xyVVkX1gvVQ9Evr J29okCR+OBRENHBh320mtsq2CNgpJ7CfLG4bxknfkA== X-Google-Smtp-Source: AIpwx4+es4rWtRsffEcxemmvhoyto4J6xBGcOKZ9cSFSNUyh0ydI8k4XwOKfMhagQPG44GfnaU8LhoClW6pp81+PHGE= X-Received: by 2002:aca:afcc:: with SMTP id y195-v6mr6334867oie.83.1524228188198; Fri, 20 Apr 2018 05:43:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:518f:0:0:0:0:0 with HTTP; Fri, 20 Apr 2018 05:42:47 -0700 (PDT) In-Reply-To: <000b01d3d8a4$7c8b0c80$75a12580$@sina.com> References: <000b01d3d8a4$7c8b0c80$75a12580$@sina.com> From: Jean-Marc Spaggiari Date: Fri, 20 Apr 2018 08:42:47 -0400 Message-ID: Subject: Re: How to get the HDFS path for a given HBase table? To: user Content-Type: multipart/alternative; boundary="000000000000b6ff43056a4707a9" --000000000000b6ff43056a4707a9 Content-Type: text/plain; charset="UTF-8" Hi Ming, Take a look at the FSUtils... There is plenty of very useful helpers there... JMS 2018-04-20 8:38 GMT-04:00 Ming : > 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 > > --000000000000b6ff43056a4707a9--