hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siyao Meng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-14683) WebHDFS: Add erasureCodingPolicy field to GETCONTENTSUMMARY response
Date Wed, 31 Jul 2019 02:09:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-14683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siyao Meng updated HDFS-14683:
------------------------------
    Description: 
Quote [~jojochuang]'s [comment|https://issues.apache.org/jira/browse/HDFS-14034?focusedCommentId=16880062&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16880062]:
{quote}
ContentSummary has a field erasureCodingPolicy which was added in HDFS-11647, but webhdfs
GETCONTENTSUMMARY doesn't include that.
{quote}

Current response:

{code:json}
GET /webhdfs/v1/tmp/?op=GETCONTENTSUMMARY HTTP/1.1

{
  "ContentSummary": {
    "directoryCount": 15,
    "fileCount": 1,
    "length": 180838,
    "quota": -1,
    "spaceConsumed": 542514,
    "spaceQuota": -1,
    "typeQuota": {}
  }
}
{code}

  was:
Quote [~jojochuang]'s [comment|https://issues.apache.org/jira/browse/HDFS-14034?focusedCommentId=16880062&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16880062]:
{quote}
ContentSummary has a field erasureCodingPolicy which was added in HDFS-11647, but webhdfs
GETCONTENTSUMMARY doesn't include that.
{quote}

{code:json}
GET /webhdfs/v1/tmp/?op=GETCONTENTSUMMARY HTTP/1.1

{
  "ContentSummary": {
    "directoryCount": 15,
    "fileCount": 1,
    "length": 180838,
    "quota": -1,
    "spaceConsumed": 542514,
    "spaceQuota": -1,
    "typeQuota": {}
  }
}
{code}


> WebHDFS: Add erasureCodingPolicy field to GETCONTENTSUMMARY response
> --------------------------------------------------------------------
>
>                 Key: HDFS-14683
>                 URL: https://issues.apache.org/jira/browse/HDFS-14683
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> Quote [~jojochuang]'s [comment|https://issues.apache.org/jira/browse/HDFS-14034?focusedCommentId=16880062&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16880062]:
> {quote}
> ContentSummary has a field erasureCodingPolicy which was added in HDFS-11647, but webhdfs
GETCONTENTSUMMARY doesn't include that.
> {quote}
> Current response:
> {code:json}
> GET /webhdfs/v1/tmp/?op=GETCONTENTSUMMARY HTTP/1.1
> {
>   "ContentSummary": {
>     "directoryCount": 15,
>     "fileCount": 1,
>     "length": 180838,
>     "quota": -1,
>     "spaceConsumed": 542514,
>     "spaceQuota": -1,
>     "typeQuota": {}
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
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