[
https://issues.apache.org/jira/browse/HADOOP-16044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740734#comment-16740734
]
Da Zhou edited comment on HADOOP-16044 at 1/11/19 8:01 PM:
-----------------------------------------------------------
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 return host name string, but the *getHost()* seems to be
more readable code.
- 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
was (Author: danielzhou):
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: [email protected]
For additional commands, e-mail: [email protected]