hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanping Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7331) Makes hadoop-daemon.sh to return 1 if daemon processes did not get started
Date Thu, 26 May 2011 17:23:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039801#comment-13039801
] 

Tanping Wang commented on HADOOP-7331:
--------------------------------------

This was manually tested.  Three test cases were covered:
# make binding address troublesome -- by changing the config file to bind two name node service
address to the same.  After starting name node, hadoop-daemon returned 1.  And error message
were logged in log files.  
# make config file invalid - by renaming hdfs-site.xml to something else.  After starting
name node, hadoop-daemon returned 1.  And error message were logged in log, i.e. "NameNode:
java.lang.IllegalArgumentException: Invalid URI for NameNode address.."
# make some user errors - by not providing the correct options to hadoop-daemon.sh e.g.
hadoop-daemon.sh --conf... --script hdfs 
made hdfs script does not exist.  hadoop-dameon.sh returned 1 and error was output through
std out.


> Makes hadoop-daemon.sh to return 1 if daemon processes did not get started
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-7331
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7331
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 0.23.0
>            Reporter: Tanping Wang
>            Assignee: Tanping Wang
>            Priority: Trivial
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7331.2.patch, HADOOP-7331.patch
>
>
> Makes hadoop-daemon.sh to return 1 if daemon processes did not get started.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message