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 2018/11/07 19:53:00 UTC
[jira] [Comment Edited] (HADOOP-15812) ABFS: Improve
AbfsRestOperationException format to ensure full msg can be displayed on
console
[ https://issues.apache.org/jira/browse/HADOOP-15812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678701#comment-16678701 ]
Da Zhou edited comment on HADOOP-15812 at 11/7/18 7:52 PM:
-----------------------------------------------------------
Submitting patch 002.
For failed HEAD request, the msg shown on console will be something like:
*HEAD request failed, StatusCode=403 [https://XXXXX|https://xxxxx/] StatusDescription=XXXXXX.*
For other failed request, the msg shown on console will be something like:
*PUT request failed, ErrorCode=XXXXX StatusCode=409 [https://XXXXXX|https://xxxxxx/]*
was (Author: danielzhou):
Submitting patch 002.
For failed HEAD request, the msg shown on console will be something like:
HEAD request failed, StatusCode=403 [https://XXXXX|https://xxxxx/] StatusDescription=XXXXXX.
For other failed request, the msg shown on console will be:
PUT request failed, ErrorCode=XXXXX StatusCode=409 https://XXXXXX
> ABFS: Improve AbfsRestOperationException format to ensure full msg can be displayed on console
> ----------------------------------------------------------------------------------------------
>
> Key: HADOOP-15812
> URL: https://issues.apache.org/jira/browse/HADOOP-15812
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.2.0
> Reporter: Da Zhou
> Assignee: Da Zhou
> Priority: Major
> Attachments: HADOOP-15812-001.patch, HADOOP-15812-002.patch
>
>
> AbfsRestOperationException msg contains multiple "\n" for displaying nicely,
> however, hadoop cmd class split the error msg by "\n" and display the first string in console, which lead to the incomplete error msg shown in console.
> Hence we need to improve this format.
--
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