[ 
https://issues.apache.org/jira/browse/HDDS-15663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097819#comment-18097819
 ] 

Anurag Parvatikar commented on HDDS-15663:
------------------------------------------

The ozone debug ldb command currently shows a detailed error message when cf 
doesn't exist with the latest code in master. Examples shown below:
{code:java}
bash-5.1$ ozone debug ldb --db=/data/metadata/scm.db scan 
--cf=statefulServiceConfige
Error: Table with name 'statefulServiceConfige' not foundExit code is non-zero. 
Check the error message above{code}
{code:java}
bash-5.1$ ozone debug ldb --db=/data/metadata/scm.db scan --cf=pipeliness
Error: Table with name 'pipeliness' not foundExit code is non-zero. Check the 
error message above{code}
{code:java}
bash-5.1$ ozone debug ldb --db=/data/metadata/om.db scan --cf=keyTablee
Error: Table with name 'keyTablee' not foundExit code is non-zero. Check the 
error message above{code}
{code:java}
bash-5.1$ ozone debug ldb 
--db=/data/hdds/hdds/CID-d475c1ec-7e63-4eda-bb06-87bf773d974b/DS-ea422613-8ac2-43ad-8c7e-2b7f5ed70b81/container.db/
 scan --cf=block_datax
Error: Table with name 'block_datax' not foundExit code is non-zero. Check the 
error message above {code}

> ozone debug ldb return detail error message when cf doesn't exist
> -----------------------------------------------------------------
>
>                 Key: HDDS-15663
>                 URL: https://issues.apache.org/jira/browse/HDDS-15663
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Sammi Chen
>            Assignee: Anurag Parvatikar
>            Priority: Major
>              Labels: Newbie
>
> {code:java}
> bash-5.1$ ozone debug ldb --db=/data/metadata/scm.db scan 
> --cf=statefulServiceConfige
> Exit code is non-zero. Check the error message above
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to