hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3125) Add a service that enables JournalDaemon
Date Fri, 23 Mar 2012 20:07:28 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237003#comment-13237003

Tsz Wo (Nicholas), SZE commented on HDFS-3125:

- Question: why service is need in the methods of JournalListener?

- Should we throw exceptions in journal(..) and startLogSegment(..) during starting up?  More
generally, do we need some states or some kind of life cycle such as INIT, STARTING, RUNNING,

- JournalService is not thread safe.  Some methods such as stop() need to be synchronized.
 JournalService.stopped has to be volatile.

- Verify registration in startLogSegment(..)

- Some typos:
-* 58: listner
-* 79: inforamtion
> Add a service that enables JournalDaemon
> ----------------------------------------
>                 Key: HDFS-3125
>                 URL: https://issues.apache.org/jira/browse/HDFS-3125
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-3125.patch, HDFS-3125.patch
> In this subtask, I plan to add JournalService. It will provide the following functionality:
> # Starts RPC server with JournalProtocolService or uses the RPC server provided and add
JournalProtocol service. 
> # Registers with the namenode.
> # Receives JournalProtocol related requests and hands it to over to a listener.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message