public static void main(String args[]) {
    if (args.length < 1) {
      System.err.println("Usage: HBaseConfTool <CONFIGURATION_KEY>");
      System.exit(1);
      return;
    }

    Configuration conf = HBaseConfiguration.create();
    System.out.println(conf.get(args[0]));
  }
Tool that prints out a configuration. Pass the configuration key on the command-line.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseConfTool.java