Details
Description
This is not discussed as part of the standard command line set, since these are internal debug only commands.
We have levelDB that stores key, value pairs and value is always binary blobs. These binary blobs can only be decoded using protobuf classes that are part of ozone.
We would like to add an extension to SCM CLI which allows us to convert levelDB to SQLlite, since SQLlite would have structured data and standard SQL will work against it.
The reason to use SQLlite instead of some dump file like json is the scale, it is possible that some levelDB files will have millions of keys, so having an SQL DB with proper index will make debugging much easier.
Attachments
Attachments
Issue Links
- depends upon
-
HDFS-11728 Ozone: add the DB names to OzoneConsts
- Resolved
- is depended upon by
-
HDFS-11756 Ozone : add DEBUG CLI support of blockDB file
- Resolved