Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 0EB6B9A33 for ; Thu, 8 Mar 2012 17:34:24 +0000 (UTC) Received: (qmail 90455 invoked by uid 500); 8 Mar 2012 17:34:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 90403 invoked by uid 500); 8 Mar 2012 17:34:23 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 90377 invoked by uid 99); 8 Mar 2012 17:34:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 17:34:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 17:34:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4FEF410105 for ; Thu, 8 Mar 2012 17:34:00 +0000 (UTC) Date: Thu, 8 Mar 2012 17:34:00 +0000 (UTC) From: "Eli Collins (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1095927587.39385.1331228040328.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1670528644.1068.1314756070004.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2303) jsvc needs to be recompilable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225327#comment-13225327 ] Eli Collins commented on HDFS-2303: ----------------------------------- Mingjie, - Have you verified you can set JSVC_HOME in hadoop-env.sh? Looks like you're setting JSVC_HOME before hadoop-env.sh is sourced (by hadoop-config.sh) so this wouldn't work. Please test both with a jsvc installed in /usr and via setting JSVC_HOME explicitly in hadoop-env.sh if you haven't already - We shouldn't assume JSVC_HOME has a bin directory as the jsvc download is just a directory with jsvc. I'd make the error message something like this: "JSVC_HOME is not set so jsvc can not be found. Jsvc is required to run secure datanodes. Please download jsvc for your platform from http://archive.apache.org/dist/commons/daemon/binaries and set JSVC_HOME to the directory containing the jsvc binary" - Let's add a commented out line in hadoop-env.sh like the following: {code} # The jsvc implementation to use #export JSVC_HOME=${JSVC_HOME} {code} Otherwise looks great. Thanks, Eli > jsvc needs to be recompilable > ----------------------------- > > Key: HDFS-2303 > URL: https://issues.apache.org/jira/browse/HDFS-2303 > Project: Hadoop HDFS > Issue Type: Bug > Components: build, scripts > Affects Versions: 0.23.0, 0.24.0 > Reporter: Roman Shaposhnik > Assignee: Roman Shaposhnik > Fix For: 0.24.0, 0.23.2 > > Attachments: HDFS-2303-2.patch.txt, HDFS-2303-3-trunk.patch, HDFS-2303-4-trunk.patch, HDFS-2303.patch.txt > > > It would be nice to recompile jsvc as part of the native profile. This has a number of benefits including an ability to re-generate all binary artifacts, etc. Most of all, however, it will provide a way to generate jsvc on Linux distributions that don't have matching libc -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira