Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DEFBDE03 for ; Tue, 16 Oct 2012 15:43:04 +0000 (UTC) Received: (qmail 22285 invoked by uid 500); 16 Oct 2012 15:43:04 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 22240 invoked by uid 500); 16 Oct 2012 15:43:04 -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 22223 invoked by uid 99); 16 Oct 2012 15:43:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2012 15:43:04 +0000 Date: Tue, 16 Oct 2012 15:43:04 +0000 (UTC) From: "Kumar Ravi (JIRA)" To: issues@hbase.apache.org Message-ID: <1087891779.51802.1350402184121.JavaMail.jiratomcat@arcas> In-Reply-To: <2107465158.16662.1349815803125.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-6965) Generic MXBean Utility class to support all JDK vendors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477089#comment-13477089 ] Kumar Ravi commented on HBASE-6965: ----------------------------------- I looked at the other classes in the util sub-dir and I now understand what is meant by Audience and stability. Please ignore my earlier comment. Thanks > Generic MXBean Utility class to support all JDK vendors > ------------------------------------------------------- > > Key: HBASE-6965 > URL: https://issues.apache.org/jira/browse/HBASE-6965 > Project: HBase > Issue Type: Improvement > Components: build > Affects Versions: 0.94.1 > Reporter: Kumar Ravi > Assignee: Kumar Ravi > Labels: patch > Fix For: 0.94.3 > > Attachments: HBASE-6965.patch > > > This issue is related to JIRA https://issues.apache.org/jira/browse/HBASE-6945. This issue is opened to propose the use of a newly created generic org.apache.hadoop.hbase.util.OSMXBean class that can be used by other classes. JIRA HBASE-6945 contains a patch for the class org.apache.hadoop.hbase.ResourceChecker that uses OSMXBean. With the inclusion of this new class, HBase can be built and become functional with JDKs and JREs other than what is provided by Oracle. > This class uses reflection to determine the JVM vendor (Sun, IBM) and the platform (Linux or Windows), and contains other methods that return the OS properties - 1. Number of Open File descriptors; 2. Maximum number of File Descriptors. > This class compiles without any problems with IBM JDK 7, OpenJDK 6 as well as Oracle JDK 6. Junit tests (runDevTests category) completed without any failures or errors when tested on all the three JDKs.The builds and tests were attempted on branch hbase-0.94 Revision 1396305. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira