From common-issues-return-149913-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Sat Mar 17 02:06:05 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 88716180608 for ; Sat, 17 Mar 2018 02:06:04 +0100 (CET) Received: (qmail 49237 invoked by uid 500); 17 Mar 2018 01:06:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 49225 invoked by uid 99); 17 Mar 2018 01:06:03 -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; Sat, 17 Mar 2018 01:06:03 +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 CE4A9C018B for ; Sat, 17 Mar 2018 01:06:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -107.51 X-Spam-Level: X-Spam-Status: No, score=-107.51 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, KAM_MXURI=1.5, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 03XSKEdUTPX3 for ; Sat, 17 Mar 2018 01:06:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 44D315F2EC for ; Sat, 17 Mar 2018 01:06:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7E480E0308 for ; Sat, 17 Mar 2018 01:06:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 217342127D for ; Sat, 17 Mar 2018 01:06:00 +0000 (UTC) Date: Sat, 17 Mar 2018 01:06:00 +0000 (UTC) From: "Akira Ajisaka (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12760) sun.misc.Cleaner has moved to a new location in OpenJDK 9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12760?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 403178#comment-16403178 ]=20 Akira Ajisaka commented on HADOOP-12760: ---------------------------------------- Unfortunately, we cannot take the existing approach since sun.misc.Cleaner = no longer exists in Java9. Compiling the above code fails by NoClassDefFoun= dError. > sun.misc.Cleaner has moved to a new location in OpenJDK 9 > --------------------------------------------------------- > > Key: HADOOP-12760 > URL: https://issues.apache.org/jira/browse/HADOOP-12760 > Project: Hadoop Common > Issue Type: Bug > Reporter: Chris Hegarty > Assignee: Akira Ajisaka > Priority: Major > Attachments: HADOOP-12760.00.patch, HADOOP-12760.01.patch, HADOOP= -12760.02.patch, HADOOP-12760.03.patch, HADOOP-12760.04.patch, HADOOP-12760= .05.patch, HADOOP-12760.06.patch > > > This is a heads-up: there are upcoming changes in JDK 9 that will require= , at least, a small update to org.apache.hadoop.crypto.CryptoStreamUtils & = org.apache.hadoop.io.nativeio.NativeIO. > OpenJDK issue no. 8148117: "Move sun.misc.Cleaner to jdk.internal.ref" [1= ], will move the Cleaner class from sun.misc to jdk.internal.ref. There is = ongoing discussion about the possibility of providing a public supported AP= I, maybe in the JDK 9 timeframe, for releasing NIO direct buffer native mem= ory, see the core-libs-dev mail thread [2]. At the very least CryptoStreamU= tils & NativeIO [3] should be updated to have knowledge of the new location= of the JDK Cleaner. > [1] https://bugs.openjdk.java.net/browse/JDK-8148117 > [2] http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-January/038= 243.html > [3] https://github.com/apache/hadoop/search?utf8=3D=E2=9C=93&q=3Dsun.misc= .Cleaner -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org