atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeru Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-555) Tag creation from UI fails due to missing description attribute
Date Thu, 10 Mar 2016 13:49:41 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189301#comment-15189301
] 

Neeru Gupta commented on ATLAS-555:
-----------------------------------

I completely agree with you [~yhemanth]. It is important to have backward compatibility for
publicly exposed APIs. but unfortunately, I could not find a good solution either. If you
notice that description is actually optional in server side. We do have tests to create types
without description. For that it needs to go through serialization APIs. UI optional attributes
issue need to be addressed separately. 





> Tag creation from UI fails due to missing description attribute
> ---------------------------------------------------------------
>
>                 Key: ATLAS-555
>                 URL: https://issues.apache.org/jira/browse/ATLAS-555
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Hemanth Yamijala
>            Assignee: Neeru Gupta
>            Priority: Blocker
>         Attachments: application.log
>
>
> I compiled Atlas from the master branch (git id: 5b748aa47b970298a3c6b0c03495b3299079cd3e)
and deployed. Ran hive-import (which worked fine). Then tried to create a trait from the UI.
This failed. 
> Relevant part of the stack trace: 
> {code} 
> Caused by: org.json4s.package$MappingException: No usable value for typeDescription Did
not find value which can be converted into java.lang.String at org.json4s.reflect.package$.fail(package.scala:96)
at org.json4s.Extraction$ClassInstanceBuilder.org$json4s$Extraction$ClassInstanceBuilder$$buildCtorArg(Extraction.scala:462)
at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$14.apply(Extraction.scala:482) at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$14.apply(Extraction.scala:482)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at org.json4s.Extraction$ClassInstanceBuilder.org$json4s$Extraction$ClassInstanceBuilder$$instantiate(Extraction.scala:470)
at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$result$6.apply(Extraction.scala:515)
at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$result$6.apply(Extraction.scala:512)
at org.json4s.Extraction$.org$json4s$Extraction$$customOrElse(Extraction.scala:524) at org.json4s.Extraction$ClassInstanceBuilder.result(Extraction.scala:512)
at org.json4s.Extraction$.extract(Extraction.scala:351) at org.json4s.Extraction$CollectionBuilder$$anonfun$6.apply(Extraction.scala:360)
at org.json4s.Extraction$CollectionBuilder$$anonfun$6.apply(Extraction.scala:360) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at org.json4s.Extraction$CollectionBuilder.mkCollection(Extraction.scala:360) at org.json4s.Extraction$CollectionBuilder.result(Extraction.scala:384)
at org.json4s.Extraction$.extract(Extraction.scala:339) at org.json4s.Extraction$ClassInstanceBuilder.org$json4s$Extraction$ClassInstanceBuilder$$buildCtorArg(Extraction.scala:450)
... 72 more Caused by: org.json4s.package$MappingException: Did not find value which can be
converted into java.lang.String at org.json4s.Extraction$.convert(Extraction.scala:603) at
org.json4s.Extraction$.extract(Extraction.scala:350) at org.json4s.Extraction$ClassInstanceBuilder.org$json4s$Extraction$ClassInstanceBuilder$$buildCtorArg(Extraction.scala:450)
... 97 more 
> {code} 
> (Will attach entire stack trace separately)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message