Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-11698

Ozone: SCM: CLI: Add Debug command

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • HDFS-7240
    • ozone
    • None
    • Reviewed

    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

        1. HDFS-11698-HDFS-7240.001.patch
          16 kB
          Chen Liang
        2. HDFS-11698-HDFS-7240.002.patch
          17 kB
          Chen Liang
        3. HDFS-11698-HDFS-7240.003.patch
          17 kB
          Chen Liang

        Issue Links

          Activity

            People

              vagarychen Chen Liang
              aengineer Anu Engineer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: