FAQ
Is there any specific reason for this logic in hadoop file under bin
where it checks for EUID? Whenever I start-dfs.sh it goes in "-jvm
server" if block and my jvm doesn't support that option.


elif [ "$COMMAND" = "datanode" ] ; then
CLASS='org.apache.hadoop.hdfs.server.datanode.DataNode'
if [[ $EUID -eq 0 ]]; then
HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS"
else
HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS"
fi

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedMay 23, '11 at 9:31p
activeMay 23, '11 at 9:31p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Mohit Anchlia: 1 post

People

Translate

site design / logo © 2022 Grokbase