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

Hemanth Yamijala commented on ATLAS-555:
----------------------------------------

I was hoping that this would be a server side fix. But it appears there's no 
easy way to fix it on the server :-(. I tried a few things that I could think 
of and none worked. So I am actually torn.. I reviewed the patch on the review 
board and have only one minor comment. Committing this will get the UI back to 
working state, which is good. 

But it also means we don't have an answer for the optional attribute problem. 
There are at least some folks I know who are using the REST API directly 
(because they're not sure if they can use the Java API bindings in their 
environment). This would break all of their code. I really wish we can 
investigate and fix the optional attribute issue properly.

What do others feel?

> 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)

Reply via email to