You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Nilotpal Nandi (Jira)" <ji...@apache.org> on 2020/04/21 17:06:00 UTC

[jira] [Updated] (HDDS-3473) ozone chunkinfo CLI should display block file path info

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

Nilotpal Nandi updated HDDS-3473:
---------------------------------
    Description: 
sample chunkinfo output :

{
 "container Id :12blockId :104035271344128004": {
 "chunks": [
 "/hadoop-ozone/datanode/data/hdds/3470c13f-f220-4d1c-9630-91d6aa4d526b/current/containerDir0/12/chunks/104035271344128004_chunk_1"
 ],
 "chunkDataNodeDetails": [

{ "ipAddress": "<ip_1>", "hostName": "<replica_1>" }

,

{ "ipAddress": "<ip_2>", "hostName": "<replica_2>" }

,

{ "ipAddress": "<ip_3>", "hostName": "<replica_3>" }

],
 "pipelineID": "ee66cbad-3cc4-4d93-ae6c-b66a08c6cb2b"
 }
 }

 

Here, it displays chunk info path which actually does not exist.

The CLI should also display the block info path.

i.e, 
{noformat}
ls -l /hadoop-ozone/datanode/data/hdds/3470c13f-f220-4d1c-9630-91d6aa4d526b/current/containerDir0/12/chunks/
total 8
-rw-r--r-- 1 hdfs hdfs 5092 Apr 21 06:57 104035271344128004.block{noformat}
 

Other trivial issue is :

There should be space or newline between container Id value and blockId
{noformat}
"container Id :12blockId :104035271344128004":{noformat}

  was:
sample chunkinfo output :

{
 "container Id :12blockId :104035271344128004": {
 "chunks": [
 "/hadoop-ozone/datanode/data/hdds/3470c13f-f220-4d1c-9630-91d6aa4d526b/current/containerDir0/12/chunks/104035271344128004_chunk_1"
 ],
 "chunkDataNodeDetails": [
 {
 "ipAddress": "<ip_1>",
 "hostName": "<replica_1>"
 },
 {
 "ipAddress": "<ip_2>",
 "hostName": "<replica_2>"
 },
 {
 "ipAddress": "<ip_3>",
 "hostName": "<replica_3>"
 }
 ],
 "pipelineID": "ee66cbad-3cc4-4d93-ae6c-b66a08c6cb2b"
 }
}

 

Here, it displays chunk info path which actually does not exist.

The CLI should also display the block info path.

i.e, 
{noformat}
ls -l /hadoop-ozone/datanode/data/hdds/3470c13f-f220-4d1c-9630-91d6aa4d526b/current/containerDir0/12/chunks/
total 8
-rw-r--r-- 1 hdfs hdfs 5092 Apr 21 06:57 104035271344128004.block{noformat}


> ozone chunkinfo CLI should display block file path info
> -------------------------------------------------------
>
>                 Key: HDDS-3473
>                 URL: https://issues.apache.org/jira/browse/HDDS-3473
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Client
>            Reporter: Nilotpal Nandi
>            Assignee: Sadanand Shenoy
>            Priority: Major
>
> sample chunkinfo output :
> {
>  "container Id :12blockId :104035271344128004": {
>  "chunks": [
>  "/hadoop-ozone/datanode/data/hdds/3470c13f-f220-4d1c-9630-91d6aa4d526b/current/containerDir0/12/chunks/104035271344128004_chunk_1"
>  ],
>  "chunkDataNodeDetails": [
> { "ipAddress": "<ip_1>", "hostName": "<replica_1>" }
> ,
> { "ipAddress": "<ip_2>", "hostName": "<replica_2>" }
> ,
> { "ipAddress": "<ip_3>", "hostName": "<replica_3>" }
> ],
>  "pipelineID": "ee66cbad-3cc4-4d93-ae6c-b66a08c6cb2b"
>  }
>  }
>  
> Here, it displays chunk info path which actually does not exist.
> The CLI should also display the block info path.
> i.e, 
> {noformat}
> ls -l /hadoop-ozone/datanode/data/hdds/3470c13f-f220-4d1c-9630-91d6aa4d526b/current/containerDir0/12/chunks/
> total 8
> -rw-r--r-- 1 hdfs hdfs 5092 Apr 21 06:57 104035271344128004.block{noformat}
>  
> Other trivial issue is :
> There should be space or newline between container Id value and blockId
> {noformat}
> "container Id :12blockId :104035271344128004":{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org