Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4EDC1200C39 for ; Thu, 2 Mar 2017 00:48:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4D7AC160B78; Wed, 1 Mar 2017 23:48:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92ABA160B70 for ; Thu, 2 Mar 2017 00:48:50 +0100 (CET) Received: (qmail 67736 invoked by uid 500); 1 Mar 2017 23:48:49 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 67724 invoked by uid 99); 1 Mar 2017 23:48:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2017 23:48:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0EAF11895B9 for ; Wed, 1 Mar 2017 23:48:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id lHLmV7Dhbcnw for ; Wed, 1 Mar 2017 23:48:48 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 029715FBB2 for ; Wed, 1 Mar 2017 23:48:47 +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 888C0E04FE for ; Wed, 1 Mar 2017 23:48:45 +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 46CC32415C for ; Wed, 1 Mar 2017 23:48:45 +0000 (UTC) Date: Wed, 1 Mar 2017 23:48:45 +0000 (UTC) From: "Ninad Chaudhari (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-11483) hdfs-bin files not selected in tags MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Mar 2017 23:48:51 -0000 Ninad Chaudhari created HDFS-11483: -------------------------------------- Summary: hdfs-bin files not selected in tags Key: HDFS-11483 URL: https://issues.apache.org/jira/browse/HDFS-11483 Project: Hadoop HDFS Issue Type: Bug Components: hdfs Reporter: Ninad Chaudhari -Will explain by Specifically talking about "hadoop-hdfs/src/main/bin/start-dfs.sh" https://github.com/apache/hadoop/blob/0eb4b513b76bc944c31b15cd6558901ae44bf931/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh - If we switch to Tag 2.7.3 or anything stable or even 3.0 this file has not been changed. It has been commited ... but commits have not been tagged. -Result causes a file that is 5 years old to be included in Final release. -Affects many versions.. To reproduce: Download the latest build from any apache hadoop mirrors and compare the file with the newer version avaliable on git. by the years, many corrections have been made for this file. Again , look at "SECONDARY_NAMENODE" staring configuration. On git its : " # secondary namenodes (if any) SECONDARY_NAMENODES=$("${HADOOP_HDFS_HOME}/bin/hdfs" getconf -secondarynamenodes 2>/dev/null) if [[ "${SECONDARY_NAMENODES}" == "0.0.0.0" ]]; then SECONDARY_NAMENODES=$(hostname) fi if [[ -n "${SECONDARY_NAMENODES}" ]]; then echo "Starting secondary namenodes [${SECONDARY_NAMENODES}]" "${bin}/hadoop-daemons.sh" \ --config "${HADOOP_CONF_DIR}" \ --hostnames "${SECONDARY_NAMENODES}" \ start secondarynamenode fi " But on tag 2.7+ Its still : " SECONDARY_NAMENODES=$($HADOOP_PREFIX/bin/hdfs getconf -secondarynamenodes 2>/dev/null) if [ -n "$SECONDARY_NAMENODES" ]; then echo "Starting secondary namenodes [$SECONDARY_NAMENODES]" "$HADOOP_PREFIX/sbin/hadoop-daemons.sh" \ --config "$HADOOP_CONF_DIR" \ --hostnames "$SECONDARY_NAMENODES" \ --script "$bin/hdfs" start secondarynamenode fi " Commits after May2015 have not been merged !!! -When we run sbin/start-dfs.sh , even if the -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org