Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.20.205.0, 0.23.0
-
None
-
None
-
Reviewed
Description
hadoop-common-project\hadoop-common\src\main\packages\hadoop-setup-conf.sh has following issues
1. check_permission does not work as expected if there are two folders with $NAME as part of their name inside $PARENT
e.g. /home/hadoop/conf, /home/hadoop/someconf,
The result of `ls -ln $PARENT | grep -w $NAME| awk '
'` is non zero..it is 0 0 and hence the following if check becomes true.
if [ "$OWNER" != "0" ]; then RESULT=1 break fi
2. Spelling mistake
HADDOP_DN_ADDR="0.0.0.0:50010"
it should be
HADOOP_DN_ADDR="0.0.0.0:50010"
3. HADOOP_SNN_HOST is not set due to which the hdfs-site.xml contains following configuration
<property> <name>dfs.namenode.http-address</name> <value>:50070</value> <description> The address and the base port where the dfs namenode web ui will listen on. If the port is 0 then the server will start on a free port. </description> </property>
Attachments
Attachments
Issue Links
- is blocked by
-
HADOOP-7684 jobhistory server and secondarynamenode should have init.d script
- Closed