# US 2021/0173696 A1 · Design-time information based on run-time artifacts in a distributed computing cluster

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173696 A1
- Document ID: US20210173696A1
- Status: Published application
- Kind: A1
- Application number: 17/179,155
- Filed: 2021-02-18
- Published: 2021-06-10
- Earliest claimed: 2017-11-09
- Assignees: Cloudera, Inc.
- Applicants: Cloudera, Inc.
- Inventors: Vikas Singh; Sudhanshu Arora; Philip Zeyliger; Marcelo Masiero Vanzin; Chang She
- Web page: https://patentgrep.com/patent/US20210173696A1

## CPC

- G06F 9/46: Multiprogramming arrangements
- G06F 16/211: {Schema design and management}
- G06F 16/14: Details of searching files based on file metadata
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are disclosed for inferring design-time information based on run-time artifacts generated by services operating in a distributed computing cluster. In an embodiment, a metadata system extracts metadata including run-time artifacts generated by services in a distributed computing cluster while processing a workflow including multiple jobs. The extracted metadata is processed to identify entities and entity relationships which can then be used to generate lineage information. Using the lineage information, the metadata system can infer design-time information associated with the workflow. The inferred design-time information can then be utilized to, for example, recreate the workflow, recreate previous versions of the workflow, optimize the workflow, etc.

## Claims

### Claim 1

A method comprising:
extracting run-time metadata from a computer system, the run-time metadata generated on execution, by the computer system, of a workflow including one or more data processing jobs;
determining a data lineage associated with the workflow based on the run-time metadata; and
generating design-time information associated with the workflow based on the data lineage, the design-time information indicative of a design of any of the computer system, the workflow, or the one or more data processing jobs included in the workflow.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the data lineage associated with the workflow includes:
identifying, based on the run-time metadata, a plurality of entities involved in executing the one or more data processing jobs includes in the workflow; and
determining, based on the run-time metadata, relationships between the plurality of entities.

### Claim 3 (depends on 2)

The method of claim 2, wherein the plurality of entities include any one or more of a file, a directory, a table, a script, a query template, a query execution object, a job template, or a job execution object.

### Claim 4 (depends on 2)

The method of claim 2, wherein the relationships between entities include any one or more of a data flow relationship, a parent-child relationship, a logical-physical relationship, or a control relationship.

### Claim 5 (depends on 1)

The method of claim 1, wherein the run-time metadata is extracted from one or more services for storing and processing data in the computer system.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining a structure of a previous version of the workflow based on the design-time information.

### Claim 7 (depends on 1)

The method of claim 1, wherein the design-time information includes information regarding any one or more of:
data processed by the workflow;
operations performed on the data as part of the workflow; or
services of the computer system utilized to perform the operations on the data.

### Claim 8 (depends on 1)

The method of claim 1, wherein generating the design-time information includes:
inferring, based on the data lineage associated with the workflow, logical connections between the one or more data processing jobs included in the workflow.

### Claim 9 (depends on 8)

The method of claim 8, wherein logical connections between data processing jobs may include any one or more of:
sequencing of data processing jobs;
scheduling of data processing jobs;
dependencies between data processing jobs; or
common parameters between data processing jobs.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
optimizing a structure of the workflow based on the design-time information; and
generating an optimized workflow definition based on the optimized structure of the workflow, the optimized workflow definition being executable by the computer system to process data according to the optimized structure of the workflow.

### Claim 11 (depends on 10)

The method of claim 10, wherein optimizing the structure of the workflow includes any one or more of:
changing the data processed according to the workflow;
changing the sequencing and/or scheduling of data processing jobs included in the workflow; or
changing one or more of the services utilized to store and process the data according to the workflow.

### Claim 12 (depends on 10)

The method of claim 10, wherein the structure of the workflow is optimized to improve data processing efficiency and/or data storage efficiency.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
configuring the computer system to log and prepare the run-time metadata for extraction.

### Claim 14 (depends on 1)

The method of claim 1, wherein the workflow is heterogeneous, the heterogeneous workflow including a plurality of different types of data processing jobs performed by a plurality of different types of services associated with the computer system.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
determining if the workflow involves processing personally identifiable information (PII) based on the design-time information.

### Claim 16 (depends on 1)

The method of claim 1, further comprising:
generating a data lineage visualization based on the data lineage associated with the workflow; and
causing display of the data lineage visualization.

### Claim 17 (depends on 16)

The method of claim 16, wherein the data lineage visualization includes:
a plurality of graphical entity nodes representative of a least some of a plurality of the entities involved in the processing of data according to the workflow, each of the plurality of graphical entity nodes visually linked to one or more of the other plurality of graphical entity nodes based on relationships between the plurality of entities.

### Claim 18 (depends on 17)

The method of claim 17, wherein at least some of the plurality of graphical entity nodes include interactive elements, which when interacted with by a user, display information regarding the represented entities.

### Claim 19

A non-transitory computer readable medium storing instructions, execution of which by a computer system, cause the computer system to:
extract run-time metadata from an execution computer system, the run-time metadata generated on execution, by the execution computer system, of a workflow including one or more data processing jobs;
determine a data lineage associated with the workflow based on the run-time metadata; and
generate design-time information associated with the workflow based on the data lineage, the design-time information indicative of a design of any of the execution computer system, the workflow, or the one or more data processing jobs included in the workflow.

### Claim 20

A computer system comprising:
one or more processors; and
a memory having instructions stored thereon, which when executed by the one or more processors, cause the computer system to:
extract run-time metadata from an execution computer system, the run-time metadata generated on execution, by the execution computer system, of a workflow including one or more data processing jobs;
determine a data lineage associated with the workflow based on the run-time metadata; and
generate design-time information associated with the workflow based on the data lineage, the design-time information indicative of a design of any of the execution computer system, the workflow, or the one or more data processing jobs included in the workflow.
