hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11437) libhdfs++: Handler for FileSystem async connect can be invoked before successful communication with active NN
Date Tue, 21 Feb 2017 22:00:45 GMT
James Clampffer created HDFS-11437:
--------------------------------------

             Summary: 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
            Reporter: James Clampffer
            Assignee: James Clampffer


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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message