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 7D07117C09 for ; Fri, 6 Feb 2015 22:01:35 +0000 (UTC) Received: (qmail 19952 invoked by uid 500); 6 Feb 2015 22:01:35 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 19880 invoked by uid 500); 6 Feb 2015 22:01:35 -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 19863 invoked by uid 99); 6 Feb 2015 22:01:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2015 22:01:35 +0000 Date: Fri, 6 Feb 2015 22:01:35 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HDFS-7745) HDFS should have its own daemon command and not rely on the one in common 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/HDFS-7745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310010#comment-14310010 ] Allen Wittenauer edited comment on HDFS-7745 at 2/6/15 10:00 PM: ----------------------------------------------------------------- My plan is to mark all of the daemon shell scripts in sbin as deprecated: HDFS-7322, YARN-2796, ... and looks like I'm missing one for MR. In any case, this would make the hdfs command itself be the official way to launch daemons. The dependencies on common's shell infrastructure (hadoop-functions, etc) would remain. With the commit of HADOOP-11485, there is very little HDFS-specific bits still remaining in common that are actually used. (The big one being HADOOP_HDFS_HOME resolution, but that one pretty much has to stay there.) The only thing really able to be moved would be the HDFS definitions in hadoop-env.sh to hdfs-env.sh. (which is already supported by the code) was (Author: aw): My plan is to mark all of the daemon shell scripts in sbin as deprecated: HDFS-7322, YARN-2796, ... and looks like I'm missing one for MR. In any case, this would make the hdfs command itself be the official way to launch daemons. The dependencies on common's shell infrastructure would remain. > HDFS should have its own daemon command and not rely on the one in common > -------------------------------------------------------------------------- > > Key: HDFS-7745 > URL: https://issues.apache.org/jira/browse/HDFS-7745 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Sanjay Radia > > HDFS should have its own daemon command and not rely on the one in common. BTW Yarn split out its own daemon command during project split. Note the hdfs-command does have --daemon flag and hence the daemon script is merely a wrapper. -- This message was sent by Atlassian JIRA (v6.3.4#6332)