You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "nishant ambastha (Jira)" <ji...@apache.org> on 2021/10/13 08:01:00 UTC

[jira] [Created] (ATLAS-4453) Error ATLAS-400-00-09D with Atlas 3.0.0-SNAPSHOT version

nishant ambastha created ATLAS-4453:
---------------------------------------

             Summary: Error ATLAS-400-00-09D with Atlas 3.0.0-SNAPSHOT version
                 Key: ATLAS-4453
                 URL: https://issues.apache.org/jira/browse/ATLAS-4453
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 3.0.0
            Reporter: nishant ambastha
             Fix For: 3.0.0


Hello Team,

I have cloned Apache-Altas master branch from [https://github.com/apache/atlas.git] and started atlas server. This is a fresh installation.

However, when I try to run 


curl -X GET -u admin:admin [http://localhost:21000/api/atlas/v2/types/typedef/name/DataSet]

 

I'm getting below error:

{
"errorCode": "ATLAS-400-00-09D",
"errorMessage": "Invalid attribute name: mysql_db.name. Attribute already exists in parent type: DataSet"
}

 

The same thing when I try with version 2.1.0,

curl -X GET -u admin:admin [http://localhost:21000/api/atlas/v2/types/typedef/name/DataSet]

 

I'm getting correct response,

 

{
"category": "ENTITY",
"guid": "cab8cc7e-f91f-4289-8a12-65268040610e",
"createdBy": "nambastha",
"updatedBy": "nambastha",
"createTime": 1634030058881,
"updateTime": 1634030457176,
"version": 3,
"name": "DataSet",
"description": "DataSet",
"typeVersion": "1.2",
"serviceType": "atlas_core",
"attributeDefs": [],
"superTypes": [
"Asset"
],
"subTypes": [
"adls_gen2_container",
"rdbms_foreign_key",
"StorageDesc",
"spark_ml_directory",
"ozone_volume",
"hive_table",
"spark_column",
"aws_s3_pseudo_dir",
"sqoop_dbdatastore",
"mysql_column",
"hbase_column",
"rdbms_instance",
"spark_table",
"jms_topic",
"falcon_feed",
"hbase_table",
"Column",
"rdbms_table",
"rdbms_column",
"hbase_column_family",
"hive_column",
"mysql_db",
"rdbms_db",
"Table",
"ml_model_deployment",
"spark_ml_pipeline",
"kafka_topic",
"ozone_bucket",
"adls_gen2_blob",
"View",
"spark_ml_model",
"aws_s3_v2_base",
"adls_gen2_directory",
"rdbms_index",
"mysql_table",
"ml_project",
"ozone_key",
"avro_type",
"aws_s3_bucket",
"aws_s3_object",
"ml_model_build",
"DB",
"fs_path",
"spark_db"
],
"relationshipAttributeDefs": [
{
"name": "inputToProcesses",
"typeName": "array<Process>",
"isOptional": true,
"cardinality": "SET",
"valuesMinCount": -1,
"valuesMaxCount": -1,
"isUnique": false,
"isIndexable": false,
"includeInNotification": false,
"searchWeight": -1,
"relationshipTypeName": "dataset_process_inputs",
"isLegacyAttribute": false
},
{
"name": "pipeline",
"typeName": "spark_ml_pipeline",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": -1,
"valuesMaxCount": -1,
"isUnique": false,
"isIndexable": false,
"includeInNotification": false,
"searchWeight": -1,
"relationshipTypeName": "spark_ml_pipeline_dataset",
"isLegacyAttribute": false
},
{
"name": "schema",
"typeName": "array<avro_schema>",
"isOptional": true,
"cardinality": "SET",
"valuesMinCount": -1,
"valuesMaxCount": -1,
"isUnique": false,
"isIndexable": false,
"includeInNotification": false,
"searchWeight": -1,
"relationshipTypeName": "avro_schema_associatedEntities",
"isLegacyAttribute": false
},
{
"name": "model",
"typeName": "spark_ml_model",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": -1,
"valuesMaxCount": -1,
"isUnique": false,
"isIndexable": false,
"includeInNotification": false,
"searchWeight": -1,
"relationshipTypeName": "spark_ml_model_dataset",
"isLegacyAttribute": false
},
{
"name": "meanings",
"typeName": "array<AtlasGlossaryTerm>",
"isOptional": true,
"cardinality": "SET",
"valuesMinCount": -1,
"valuesMaxCount": -1,
"isUnique": false,
"isIndexable": false,
"includeInNotification": false,
"searchWeight": -1,
"relationshipTypeName": "AtlasGlossarySemanticAssignment",
"isLegacyAttribute": false
},
{
"name": "outputFromProcesses",
"typeName": "array<Process>",
"isOptional": true,
"cardinality": "SET",
"valuesMinCount": -1,
"valuesMaxCount": -1,
"isUnique": false,
"isIndexable": false,
"includeInNotification": false,
"searchWeight": -1,
"relationshipTypeName": "process_dataset_outputs",
"isLegacyAttribute": false
}
],
"businessAttributeDefs": {}
}

 

Thanks in advance.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)