[
https://issues.apache.org/jira/browse/HDFS-11437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Clampffer updated HDFS-11437:
-----------------------------------
Parent Issue: HDFS-14032 (was: HDFS-8707)
> libhdfs++: Handler for FileSystem async connect can be invoked before
> successful communication with active NN
> -------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-11437
> URL: https://issues.apache.org/jira/browse/HDFS-11437
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: James Clampffer
> Priority: Major
>
> The handler provided to FileSystem::Connect can be invoked as soon as the FS
> makes a connection to the standby NN rather than waiting until it connects to
> the active NN. This allows RPC requests to be enqueued before a real
> connection is made and if the active NN isn't reachable for some reason the
> only way to cancel is to delete the FS from another thread which kills all
> pending requests.
> The underlying issue is that currently the only thing that must happen for
> the connect handler to be invoked is a successful handshake with a NN.
> Connecting to the standby NN and receiving a StandbyException satisfies this
> requirement but it should wait until it is able to get a handshake from the
> active NN.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]