Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9AA7C200B21 for ; Thu, 12 May 2016 02:28:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 998F7160A19; Thu, 12 May 2016 00:28:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EBC1B160A18 for ; Thu, 12 May 2016 02:28:13 +0200 (CEST) Received: (qmail 13154 invoked by uid 500); 12 May 2016 00:28:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 13077 invoked by uid 99); 12 May 2016 00:28:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 May 2016 00:28:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E76DA2C1F60 for ; Thu, 12 May 2016 00:28:12 +0000 (UTC) Date: Thu, 12 May 2016 00:28:12 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15812) HttpServer fails to come up against hadoop trunk MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 12 May 2016 00:28:14 -0000 [ https://issues.apache.org/jira/browse/HBASE-15812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15281051#comment-15281051 ] Ted Yu commented on HBASE-15812: -------------------------------- In master branch, 'Metrics Dump' is also hooked up to /jmx: hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon:
  • Metrics Dump
  • I think we can drop '/metrics' > HttpServer fails to come up against hadoop trunk > ------------------------------------------------ > > Key: HBASE-15812 > URL: https://issues.apache.org/jira/browse/HBASE-15812 > Project: HBase > Issue Type: Bug > Affects Versions: 1.0.1 > Reporter: Sangjin Lee > Assignee: Ted Yu > Fix For: 2.0.0 > > Attachments: 15812.v1.txt, 15812.v1.txt > > > If you run HBase HttpServer against the hadoop trunk, it fails. > {noformat} > Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/metrics/MetricsServlet > at org.apache.hadoop.hbase.http.HttpServer.addDefaultServlets(HttpServer.java:677) > at org.apache.hadoop.hbase.http.HttpServer.initializeWebServer(HttpServer.java:546) > at org.apache.hadoop.hbase.http.HttpServer.(HttpServer.java:500) > at org.apache.hadoop.hbase.http.HttpServer.(HttpServer.java:104) > at org.apache.hadoop.hbase.http.HttpServer$Builder.build(HttpServer.java:345) > at org.apache.hadoop.hbase.http.InfoServer.(InfoServer.java:77) > at org.apache.hadoop.hbase.regionserver.HRegionServer.putUpWebUI(HRegionServer.java:1697) > at org.apache.hadoop.hbase.regionserver.HRegionServer.(HRegionServer.java:550) > at org.apache.hadoop.hbase.master.HMaster.(HMaster.java:333) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:525) > at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139) > ... 26 more > {noformat} > The hadoop trunk removed {{MetricsServlet}} (HADOOP-12504). -- This message was sent by Atlassian JIRA (v6.3.4#6332)