vladhlinsky commented on issue #91: ATLAS-3655: Create 'spark_application' type 
to avoid 'spark_process' from being updated for multiple operations
URL: https://github.com/apache/atlas/pull/91#issuecomment-595413075
 
 
   Attaching screenshots.
   - Installed and started Atlas.
   - Executed the next statements using spark-shell:
   
   ```
   spark.sql("create table table_1_17(col1 int,col2 string)");
   spark.sql("create table table_2_17 as select * from table_1_17");
   spark.sql("create table table_3_17(col1 int,col2 string)");
   spark.sql("create table table_4_17 as select * from table_3_17");
   ```
   - Verified that all 4 entites are connected in Atlas lineage.
   ![Screenshot from 2020-02-27 
19-31-09](https://user-images.githubusercontent.com/61428392/76019361-42ab2900-5f2a-11ea-960b-192cb0d00638.png)
   
   - `1100-spark_model.json` is updated with proposed changes.
   - Once again executed similar statements:
   
   ```
   spark.sql("create table table_1_37(col1 int,col2 string)");
   spark.sql("create table table_2_37 as select * from table_1_37");
   spark.sql("create table table_3_37(col1 int,col2 string)");
   spark.sql("create table table_4_37 as select * from table_3_37");
   ```
   
   - Verified that two `spark_process` entities are created,
   that have a single `spark_application` entity as `application`.
   Each of these processes has it's own lineage.
   
   ![Screenshot from 2020-03-04 
23-16-44](https://user-images.githubusercontent.com/61428392/76019494-78e8a880-5f2a-11ea-856d-7bb7b8415412.png)
   ![Screenshot from 2020-03-04 
23-17-02](https://user-images.githubusercontent.com/61428392/76019557-93228680-5f2a-11ea-9ce4-6d89a87ce94e.png)
   ![Screenshot from 2020-03-04 
23-17-10](https://user-images.githubusercontent.com/61428392/76019509-8140e380-5f2a-11ea-9610-53b54dbffd8f.png)
   ![Screenshot from 2020-03-04 
23-17-34](https://user-images.githubusercontent.com/61428392/76019579-9cabee80-5f2a-11ea-9684-16a38029d611.png)
   ![Screenshot from 2020-03-04 
23-19-56](https://user-images.githubusercontent.com/61428392/76019598-a46b9300-5f2a-11ea-9995-24732d740c08.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to