hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ninad Chaudhari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11483) hdfs-bin files not selected in tags
Date Wed, 01 Mar 2017 23:48:45 GMT
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 

- 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}" == "" ]]; then

if [[ -n "${SECONDARY_NAMENODES}" ]]; then
  echo "Starting secondary namenodes [${SECONDARY_NAMENODES}]"
  "${bin}/hadoop-daemons.sh" \
  --config "${HADOOP_CONF_DIR}" \
  --hostnames "${SECONDARY_NAMENODES}" \
  start secondarynamenode


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


Commits after May2015 have not been merged !!!

-When we run sbin/start-dfs.sh , even if the 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message