OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

RDF Knowledge Graph indexing silently fails for Dashboard, DashboardDataModel, Table, StoredProcedure in 1.13.0

Open AuTyi opened this issue 5 months ago • 1 comments

Affected module

Other

Describe the bug

OpenMetadata Version: 1.13.0 Deployment: OpenShift (Kubernetes), single-replica, Fuseki deployed as sidecar service, PostgreSQL backend Component: RDF Knowledge Graph Indexing Application (JenaFusekiStorage / DistributedRdfIndexExecutor)

After running the RDF Knowledge Graph Indexing application, 25,879 out of 144,169 records are reported as failed. The failures are silent — no ERROR or exception is emitted by any RDF-related class in om-server logs, and Fuseki returns no HTTP errors. The sink failure counter increments without any diagnostic output.

Affected entity types:

Entity Total Failed Fail %
Dashboard 5,561 5,161 92.8%
DashboardDataModel 5,237 4,937 94.3%
Table 51,425 13,800 26.8%
StoredProcedure 12,781 1,981 15.5%

All other entity types (Container, Database, DatabaseSchema, GlossaryTerm, Domain, Pipeline, etc.) report zero failures.

To Reproduce

  1. Deploy OpenMetadata 1.13.0 with Fuseki-backed knowledge graph enabled
  2. Run the RDF Knowledge Graph Indexing application (on-demand or scheduled)
  3. Observe job stats: Dashboard, DashboardDataModel, Table, StoredProcedure show high failure rates
  4. Check om-server logs filtered to RDF classes — no ERROR or exception is logged
  5. Check Fuseki logs — all requests return 200/204, no parse errors that cause request rejection

Expected behavior

Failed records should produce an ERROR-level log entry identifying the entity UUID and the reason for failure (null field, unresolvable relationship, serialization error, etc.).

Alternatively, if these entity types are not supported by the RDF relationship extractor, they should be excluded from the job scope rather than silently counted as failures.

OS

Windows 11

Python version

3

OpenMetadata version

1.13.0

OpenMetadata Ingestion package version

1.13.0

Additional context

Actual behavior

Job completes with success=true at the entity-type level:

INFO o.o.s.a.b.r.d.DistributedRdfIndexExecutor - RDF entity 'dashboard' fully indexed (success=true)

...but the per-entity sink failure count is high. No exception is thrown. No entity UUID is logged. Fuseki receives no malformed request for the failed entities — the failure occurs upstream in the process step before any SPARQL update is generated.

Database query confirms relationships exist for the affected entities:

SELECT count(*) FROM entity_relationship WHERE fromEntity = 'dashboard';
-- Returns: 56342

The failure is not caused by missing data.


Logs

om-server — no RDF errors found:

# Command:
# oc logs <om-server-pod> | grep -E "(RdfSink|RdfIndexSink|DistributedRdf|JenaFuseki)" \
#   | grep -iv "fully indexed|Bulk stored"
# Result: zero output

Fuseki — NodeValue datatype warnings only, all requests return 200/204:

09:17:21 WARN  NodeValue :: Datatype format exception: "1781768530395"^^xsd:dateTime
09:17:22 INFO  Fuseki    :: [9596] 200 OK (1.479 s)

The xsd:dateTime epoch-ms serialization warning is a separate known issue. It does not cause Fuseki to reject requests — all Fuseki responses are 200 or 204.


Additional context

  • Entity types with zero failures confirm the RDF pipeline functions correctly for supported types:
    • Container: 34,321 total / 0 failed
    • GlossaryTerm: 772 total / 0 failed
    • Domain: 130 total / 0 failed
  • driveService produced 4,540 relationships from 1 source entity — relationship extraction works at scale when the entity type is supported
  • The failure pattern correlates with entity types that have complex nested structures: DAX models, column-level lineage, stored procedure bodies
  • The job overall status is reported as Success despite 17.9% record failure rate, which masks the issue in the UI

Pre-submission checklist

  • [x] I searched for duplicate issues.
  • [x] I removed credentials, hostnames, emails, and other sensitive data from logs and config.

AuTyi avatar Jun 19 '26 06:06 AuTyi

hey @AuTyi can you assign me this issue ? I am ready to work on it and raise a PR.

yanaix10 avatar Jun 20 '26 19:06 yanaix10