hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Kaplan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-354) All daemons should have public methods to start and stop them
Date Wed, 12 Jul 2006 18:03:30 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-354?page=comments#action_12420696 ] 

Barry Kaplan commented on HADOOP-354:
-------------------------------------

I will add the javadoc. Also in addition to the shutdown on the DataNode, I made a shutdownAll()
method that will shutdown all the started datanodes that were created using DatNode.run(conf).
I ran into a bit of a head banging issue that manifested itself as a socket timeout because
I was starting my DataNodes on my own with offerService, but not starting the DataXceiveServer.
I am not sure if there is even a way to start the DataXceiveServer other then dataNode.run(conf).

I will attach the new patch shortly.

I think a stoppable interface would be a bit of overkill right now, but certainly easy enough
to add later.

> All daemons should have public methods to start and stop them
> -------------------------------------------------------------
>
>          Key: HADOOP-354
>          URL: http://issues.apache.org/jira/browse/HADOOP-354
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Versions: 0.4.0
>     Reporter: Barry Kaplan
>  Attachments: shutdown_patch
>
> To get tomcat working shutdown working properly I needed to make the NameNode stop()
method public as well as the DataNode shutdown() method public. (will attach patch file).
> Furthermore I noticed that the RPC object has a static client reference that you have
no way of stopping, so I added one. (will attach patch)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message