You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Da Zhou (JIRA)" <ji...@apache.org> on 2019/01/11 20:00:00 UTC
[jira] [Commented] (HADOOP-16044) ABFS: Better exception handling
of DNS errors followup
[ https://issues.apache.org/jira/browse/HADOOP-16044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740734#comment-16740734 ]
Da Zhou commented on HADOOP-16044:
----------------------------------
Following up for -HADOOP-15662, c-ompared to HADOOP-15662-002.patch:
L173:
- Updated the format to: *Unknown host name: %s. Retrying to resolve the host name...*
- Replace *"ex.getMessage()*" with "*httpOperation.getUrl().getHost()*)", although they both provide the host name, but the *getHost()* seems to be more readable.
- Removed the else if logic as it breaks the current exception trace.
Test:
testUnknownHost() would take about 14 minutes due to the retry, I verified the warning format in the console:
{noformat}
Unknown host name: fake7c299e30-d477-4839-b0bc-84271c7ab281.dfs.core.windows.net. Retrying to resolve the host name...
{noformat}
I haven't come up with a good way to retrieve the log msg for test, any suggestions?
Testes against US west account passed:
All tests passed my US west account:
XNS account oauth
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 324, Failures: 0, Errors: 0, Skipped: 22
Tests run: 168, Failures: 0, Errors: 0, Skipped: 21
XNS account sharedKey:
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 324, Failures: 0, Errors: 0, Skipped: 20
Tests run: 168, Failures: 0, Errors: 0, Skipped: 15
non-xns account sharedKe:
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 324, Failures: 0, Errors: 0, Skipped: 206
Tests run: 168, Failures: 0, Errors: 0, Skipped: 15
> ABFS: Better exception handling of DNS errors followup
> ------------------------------------------------------
>
> Key: HADOOP-16044
> URL: https://issues.apache.org/jira/browse/HADOOP-16044
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Da Zhou
> Assignee: Da Zhou
> Priority: Major
> Attachments: HADOOP-16044-001.patch, HADOOP-16044-002.patch
>
>
> This is a follow up for HADOOP-15662 as the 001 patch of HADOOP-15662 is already committed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org