[jira] [Commented] (ATLAS-754) InstanceSerialization does not serialize Reference in the values array of Reference.
[ https://issues.apache.org/jira/browse/ATLAS-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15277087#comment-15277087 ] Suma Shivaprasad commented on ATLAS-754: +1 > InstanceSerialization does not serialize Reference in the values array of > Reference. > > > Key: ATLAS-754 > URL: https://issues.apache.org/jira/browse/ATLAS-754 > Project: Atlas > Issue Type: Bug >Affects Versions: 0.7-incubating >Reporter: Harish Jaiprakash >Assignee: Harish Jaiprakash > Fix For: 0.7-incubating > > Attachments: 754.patch > > > If the values array contains a reference then the deserialization from Json > makes it null. > Ex: > {noformat} > { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference", > "id": { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Id", > "version": 0, > "typeName": "LoadProcess" > }, > "typeName": "LoadProcess", > "values": { > "inputTables": [{ > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference", > "typeName": "LoadProcess", > "values": {} > "traitNames": [] > "traits": {} > } > ], > "outputTable": { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Id", > "id": "d5c3d6d0-aa10-44c1-b05d-ed9400d2a5ac", > "version": 0, > "typeName": "Table" > }, > "name": "loadSalesDaily" > }, > "traitNames": [ > "ETL" > ], > "traits": { > "ETL": { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct", > "typeName": "ETL", > "values": { > } > } > } > } > } > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ATLAS-754) InstanceSerialization does not serialize Reference in the values array of Reference.
[ https://issues.apache.org/jira/browse/ATLAS-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15273842#comment-15273842 ] ATLAS QA commented on ATLAS-754: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12802627/754.patch against master revision 1e3029b. {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. +1 checkstyle. The patch generated 0 code style errors. {color:red}-1 findbugs{color}. The patch appears to introduce 364 new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in : ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.AdminJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.MetadataDiscoveryJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.TypesJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.EntityJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.RexsterGraphJerseyResourceIT ./webapp/target/failsafe-reports/TEST-org.apache.atlas.web.resources.HiveLineageJerseyResourceIT ./webapp/target/failsafe-reports/junitreports/TEST-org.apache.atlas.web.resources.HiveLineageJerseyResourceIT Test results: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningswebapp.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningsnotification.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningscommon.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningstypesystem.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningsrepository.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningshive-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningsstorm-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningssqoop-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningshdfs-model.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningsclient.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//artifact/patchprocess/newPatchFindbugsWarningstitan.html Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/211//console This message is automatically generated. > InstanceSerialization does not serialize Reference in the values array of > Reference. > > > Key: ATLAS-754 > URL: https://issues.apache.org/jira/browse/ATLAS-754 > Project: Atlas > Issue Type: Bug >Affects Versions: 0.7-incubating >Reporter: Harish Jaiprakash >Assignee: Harish Jaiprakash > Fix For: 0.7-incubating > > Attachments: 754.patch > > > If the values array contains a reference then the deserialization from Json > makes it null. > Ex: > {noformat} > { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference", > "id": { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Id", > "version": 0, > "typeName": "LoadProcess" > }, > "typeName": "LoadProcess", > "values": { > "inputTables": [{ > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference", > "typeName": "LoadProcess", > "values": {} > "traitNames": [] > "traits": {} > } > ], > "outputTable": { > "jsonClass": >