Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B11D19DEB for ; Mon, 28 Mar 2016 06:18:26 +0000 (UTC) Received: (qmail 95681 invoked by uid 500); 28 Mar 2016 06:18:25 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 95629 invoked by uid 500); 28 Mar 2016 06:18:25 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 95610 invoked by uid 99); 28 Mar 2016 06:18:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2016 06:18:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 775102C1F5D for ; Mon, 28 Mar 2016 06:18:25 +0000 (UTC) Date: Mon, 28 Mar 2016 06:18:25 +0000 (UTC) From: "Kai Zheng (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12955) Fix bugs in the initialization of the ISA-L library JNI bindings 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/HADOOP-12955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kai Zheng updated HADOOP-12955: ------------------------------- Attachment: HADOOP-12955-v3.patch Updated the patch according to above discussions. Tested and passed with or without ISA-L installed or the related options. > Fix bugs in the initialization of the ISA-L library JNI bindings > ---------------------------------------------------------------- > > Key: HADOOP-12955 > URL: https://issues.apache.org/jira/browse/HADOOP-12955 > Project: Hadoop Common > Issue Type: Bug > Components: native > Reporter: Kai Zheng > Assignee: Kai Zheng > Attachments: HADOOP-12955-v1.patch, HADOOP-12955-v2.patch, HADOOP-12955-v3.patch > > > Ref. the comment [here|https://issues.apache.org/jira/browse/HADOOP-11540?focusedCommentId=15207619&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15207619]. > When run hadoop checknative, it also failed. Got something like below from log: > {noformat} > Stack: [0x00007f2b9d405000,0x00007f2b9d506000], sp=0x00007f2b9d504748, free space=1021k > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) > V [libjvm.so+0xa90c90] UTF8::unicode_length(char const*)+0x0 > V [libjvm.so+0x6ddfc3] jni_NewStringUTF+0xc3 > j org.apache.hadoop.io.erasurecode.ErasureCodeNative.getLibraryName()Ljava/lang/String;+0 > j org.apache.hadoop.util.NativeLibraryChecker.main([Ljava/lang/String;)V+212 > v ~StubRoutines::call_stub > V [libjvm.so+0x68c616] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1056 > V [libjvm.so+0x6cdc32] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x362 > V [libjvm.so+0x6ea63a] jni_CallStaticVoidMethod+0x17a > C [libjli.so+0x7bcc] JavaMain+0x80c > C [libpthread.so.0+0x8182] start_thread+0xc2 > Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) > j org.apache.hadoop.io.erasurecode.ErasureCodeNative.getLibraryName()Ljava/lang/String;+0 > j org.apache.hadoop.util.NativeLibraryChecker.main([Ljava/lang/String;)V+212 > v ~StubRoutines::call_stub > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)