Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions snakebite/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from snakebite.channel import DataXceiverChannel
from snakebite.config import HDFSConfig
from snakebite.errors import (
ConnectionFailureException,
DirectoryException,
FileAlreadyExistsException,
FileException,
Expand Down Expand Up @@ -1162,10 +1161,11 @@ def _read_file(self, path, node, tail_only, check_crc, tail_length=1024):
failed_nodes.append(location.id.storageID)
successful_read = False
else:
raise ConnectionFailureException(
log.warning(
u"Failure to connect to data node at ({}:{})".format(
host, port
))
continue
if successful_read:
break
if successful_read is False:
Expand Down