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 9F35117675 for ; Wed, 4 Feb 2015 19:47:34 +0000 (UTC) Received: (qmail 74451 invoked by uid 500); 4 Feb 2015 19:47:35 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 74396 invoked by uid 500); 4 Feb 2015 19:47:35 -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 74383 invoked by uid 99); 4 Feb 2015 19:47:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 19:47:35 +0000 Date: Wed, 4 Feb 2015 19:47:35 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11548) checknative should display a nicer error message when openssl support is not compiled in 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-11548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14305831#comment-14305831 ] Colin Patrick McCabe commented on HADOOP-11548: ----------------------------------------------- Thanks, guys. Haven't had a chance to test this but it looks like the right direction. Those build variants can be tricky. > checknative should display a nicer error message when openssl support is not compiled in > ---------------------------------------------------------------------------------------- > > Key: HADOOP-11548 > URL: https://issues.apache.org/jira/browse/HADOOP-11548 > Project: Hadoop Common > Issue Type: Bug > Components: build, native > Affects Versions: 2.6.0 > Reporter: Colin Patrick McCabe > Assignee: Anu Engineer > Fix For: 2.7.0 > > Attachments: HDFS-7520.001.patch > > > checknative should display a nicer error message when openssl support is not compiled in. Currently, it displays this: > {code} > [cmccabe@keter hadoop]$ hadoop checknative > 14/12/12 14:08:43 INFO bzip2.Bzip2Factory: Successfully loaded & initialized native-bzip2 library system-native > 14/12/12 14:08:43 INFO zlib.ZlibFactory: Successfully loaded & initialized native-zlib library > Native library checking: > hadoop: true /usr/lib/hadoop/lib/native/libhadoop.so.1.0.0 > zlib: true /lib64/libz.so.1 > snappy: true /usr/lib64/libsnappy.so.1 > lz4: true revision:99 > bzip2: true /lib64/libbz2.so.1 > openssl: false org.apache.hadoop.crypto.OpensslCipher.initIDs()V > {code} > Instead, we should display something like this, if openssl is not supported by the current build: > {code} > openssl: false Hadoop was built without openssl support. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)