Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 154201007C for ; Fri, 20 Dec 2013 03:48:50 +0000 (UTC) Received: (qmail 70073 invoked by uid 500); 20 Dec 2013 03:48:38 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 69897 invoked by uid 500); 20 Dec 2013 03:48:33 -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 69878 invoked by uid 99); 20 Dec 2013 03:48:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 03:48:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harsh@cloudera.com designates 209.85.223.174 as permitted sender) Received: from [209.85.223.174] (HELO mail-ie0-f174.google.com) (209.85.223.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 03:48:28 +0000 Received: by mail-ie0-f174.google.com with SMTP id at1so2440003iec.5 for ; Thu, 19 Dec 2013 19:48:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=AaXfu01gtDBKMjVeQ+Fxc2UW+C0kp+1MP1TVjmtGwS8=; b=Io2o5vB6vK7uPhuKoXxI6hjL9tx2DbtUkiZzlHF28LppPy57IKy57q9xQF6nDqdldG IaRRniPxNuZ6wQwft1iqJGyjzOK9xW9/nfEU09PO2Z12Ep5FliWCIfDqS3eGSXxHxQ+N yJ4PMyWvbOeKbSAmnX9EGYVcKFYrhZY4Cmoj/8Zrptrw1fDMXyfvUQQiAgC15fzXt/sK eKCFKfrLSTlITrSuQBFkmlhrFrIsNz+u2FBuCVRFVaHnm4mM+fAMB8U0AeEq278jkpnn lCswEiuinW10czZz70HeTgrL4CA9cprRcAy2GQq/1cPbo7P1uMNQtwcIgplvEK7sjaOr qQ3A== X-Gm-Message-State: ALoCoQlWmBefFsPYhE/E+Ceoli0Qek/kGZOhDwW32PX+D3LT6qsS86gpg1FdvA7HK0EnBCUxPnV+ X-Received: by 10.42.39.142 with SMTP id h14mr3829898ice.40.1387511288182; Thu, 19 Dec 2013 19:48:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.234.225 with HTTP; Thu, 19 Dec 2013 19:47:48 -0800 (PST) In-Reply-To: References: From: Harsh J Date: Fri, 20 Dec 2013 09:17:48 +0530 Message-ID: Subject: Re: utility to print (dump) HBase config (feedback appreciated) To: "user@hbase.apache.org" Cc: hbase-user Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org This is good! I do not check this ability in Accumulo but in Hadoop and HBase one can also simply run "hadoop org.apache.hadoop.conf.Configuration", or "hbase org.apache.hadoop.hbase.HBaseConfiguration", etc., as these classes carry main methods that write the loaded config as XML to stdout. If you'd like to, you could enhance that ability to print in different formatting? I observed yours using the K=V format. On Fri, Dec 20, 2013 at 6:06 AM, Sujee Maniyam wrote: > Just wrote quick snippet to dump HBase config. > > snippet : > https://github.com/sujee/print-hadoop-config/blob/master/src/main/java/config/HBaseConfig.java > > project : https://github.com/sujee/print-hadoop-config > > any feedback / suggestions appreciated.... > > thanks > Sujee Maniyam (http://sujee.net) -- Harsh J