Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9587

ozone debug ldb scan returns empty response and exception stacktrace when callled for db scm.db and pipeline column family

    XMLWordPrintableJSON

Details

    Description

      ozone debug ldb --db=/hadoop/ssd2/ozone/scm/db/scm.db  scan --column_family=pipelines
      2023-10-16 14:10:13,487 [DBScanner-0] ERROR debug.DBScanner: Exception parse Object
      com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class java.lang.ThreadLocal and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.apache.hadoop.hdds.scm.pipeline.Pipeline["nodesInOrder"])
              at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:77)
              at com.fasterxml.jackson.databind.SerializerProvider.reportBadDefinition(SerializerProvider.java:1300)
              at com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition(DatabindContext.java:400)
              at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.failForEmpty(UnknownSerializer.java:46)
              at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.serialize(UnknownSerializer.java:29)
              at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
              at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
              at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
              at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
              at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
              at com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1518)
              at com.fasterxml.jackson.databind.ObjectWriter._writeValueAndClose(ObjectWriter.java:1219)
              at com.fasterxml.jackson.databind.ObjectWriter.writeValueAsString(ObjectWriter.java:1086)
              at org.apache.hadoop.ozone.debug.DBScanner$Task.call(DBScanner.java:506)
              at org.apache.hadoop.ozone.debug.DBScanner$Task.call(DBScanner.java:446)
              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.base/java.lang.Thread.run(Thread.java:829)
      {  }
      Exit code is non-zero. Check the error message above
      echo $?
      255

      Attachments

        Issue Links

          Activity

            People

              mladjangadzic Mladjan Gadzic
              mladjangadzic Mladjan Gadzic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: