[jira] [Commented] (KYLIN-1220) JsonMappingException: Can not deserialize instance of java.lang.String out of START_ARRAY

2016-01-12 Thread Zhong,Jason (JIRA)

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

Zhong,Jason commented on KYLIN-1220:


it's resolved now

> JsonMappingException: Can not deserialize instance of java.lang.String out of 
> START_ARRAY
> -
>
> Key: KYLIN-1220
> URL: https://issues.apache.org/jira/browse/KYLIN-1220
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0
> Environment: HDP2.3.2
>Reporter: wangxianbin
>Assignee: Zhong,Jason
> Fix For: 2.0
>
>
> JsonMappingException when I create cube, I think it cause by class var 
> "column" in class "DimensionDesc" which is not String array any more, how 
> ever web didn't follow up this change.
> L4J [2015-12-10 
> 17:23:50,781][ERROR][org.apache.kylin.rest.controller.CubeController] - The 
> cube definition is not valid.
> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize 
> instance of java.lang.String out of START_ARRAY token
>  at [Source: java.io.StringReader@407d4132; line: 10, column: 22] (through 
> reference chain: 
> org.apache.kylin.cube.model.CubeDesc["dimensions"]->org.apache.kylin.cube.model.DimensionDesc["column"])
>   at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
>   at 
> com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:46)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:230)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:207)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
>   at org.apache.kylin.common.util.JsonUtil.readValue(JsonUtil.java:54)
>   at 
> org.apache.kylin.rest.controller.CubeController.deserializeCubeDesc(CubeController.java:699)
>   at 
> org.apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:327)



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


[jira] [Commented] (KYLIN-1220) JsonMappingException: Can not deserialize instance of java.lang.String out of START_ARRAY

2015-12-10 Thread wangxianbin (JIRA)

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

wangxianbin commented on KYLIN-1220:


ok

> JsonMappingException: Can not deserialize instance of java.lang.String out of 
> START_ARRAY
> -
>
> Key: KYLIN-1220
> URL: https://issues.apache.org/jira/browse/KYLIN-1220
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0
> Environment: HDP2.3.2
>Reporter: wangxianbin
>Assignee: Zhong,Jason
>
> JsonMappingException when I create cube, I think it cause by class var 
> "column" in class "DimensionDesc" which is not String array any more, how 
> ever web didn't follow up this change.
> L4J [2015-12-10 
> 17:23:50,781][ERROR][org.apache.kylin.rest.controller.CubeController] - The 
> cube definition is not valid.
> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize 
> instance of java.lang.String out of START_ARRAY token
>  at [Source: java.io.StringReader@407d4132; line: 10, column: 22] (through 
> reference chain: 
> org.apache.kylin.cube.model.CubeDesc["dimensions"]->org.apache.kylin.cube.model.DimensionDesc["column"])
>   at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
>   at 
> com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:46)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:230)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:207)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
>   at org.apache.kylin.common.util.JsonUtil.readValue(JsonUtil.java:54)
>   at 
> org.apache.kylin.rest.controller.CubeController.deserializeCubeDesc(CubeController.java:699)
>   at 
> org.apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:327)



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


[jira] [Commented] (KYLIN-1220) JsonMappingException: Can not deserialize instance of java.lang.String out of START_ARRAY

2015-12-10 Thread Luke Han (JIRA)

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

Luke Han commented on KYLIN-1220:
-

Please report any issue or bug due to front-end of 2.x:)

> JsonMappingException: Can not deserialize instance of java.lang.String out of 
> START_ARRAY
> -
>
> Key: KYLIN-1220
> URL: https://issues.apache.org/jira/browse/KYLIN-1220
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0
> Environment: HDP2.3.2
>Reporter: wangxianbin
>Assignee: Zhong,Jason
>
> JsonMappingException when I create cube, I think it cause by class var 
> "column" in class "DimensionDesc" which is not String array any more, how 
> ever web didn't follow up this change.
> L4J [2015-12-10 
> 17:23:50,781][ERROR][org.apache.kylin.rest.controller.CubeController] - The 
> cube definition is not valid.
> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize 
> instance of java.lang.String out of START_ARRAY token
>  at [Source: java.io.StringReader@407d4132; line: 10, column: 22] (through 
> reference chain: 
> org.apache.kylin.cube.model.CubeDesc["dimensions"]->org.apache.kylin.cube.model.DimensionDesc["column"])
>   at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
>   at 
> com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:46)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:230)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:207)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
>   at org.apache.kylin.common.util.JsonUtil.readValue(JsonUtil.java:54)
>   at 
> org.apache.kylin.rest.controller.CubeController.deserializeCubeDesc(CubeController.java:699)
>   at 
> org.apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:327)



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


[jira] [Commented] (KYLIN-1220) JsonMappingException: Can not deserialize instance of java.lang.String out of START_ARRAY

2015-12-10 Thread hongbin ma (JIRA)

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

hongbin ma commented on KYLIN-1220:
---

i agree, just using 2.0-rc can save you lots of troubles (and not affect
you catching up the project)
2.0-rc is the release candidate for official kylin 2.0, we have many
engineers testing it (both frontend and backend), and most importantly, it
is very similar to 2.x-staging

On Fri, Dec 11, 2015 at 10:54 AM, wangxianbin (JIRA) 




-- 
Regards,

*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone


> JsonMappingException: Can not deserialize instance of java.lang.String out of 
> START_ARRAY
> -
>
> Key: KYLIN-1220
> URL: https://issues.apache.org/jira/browse/KYLIN-1220
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0
> Environment: HDP2.3.2
>Reporter: wangxianbin
>Assignee: Zhong,Jason
>
> JsonMappingException when I create cube, I think it cause by class var 
> "column" in class "DimensionDesc" which is not String array any more, how 
> ever web didn't follow up this change.
> L4J [2015-12-10 
> 17:23:50,781][ERROR][org.apache.kylin.rest.controller.CubeController] - The 
> cube definition is not valid.
> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize 
> instance of java.lang.String out of START_ARRAY token
>  at [Source: java.io.StringReader@407d4132; line: 10, column: 22] (through 
> reference chain: 
> org.apache.kylin.cube.model.CubeDesc["dimensions"]->org.apache.kylin.cube.model.DimensionDesc["column"])
>   at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
>   at 
> com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:46)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:230)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:207)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
>   at org.apache.kylin.common.util.JsonUtil.readValue(JsonUtil.java:54)
>   at 
> org.apache.kylin.rest.controller.CubeController.deserializeCubeDesc(CubeController.java:699)
>   at 
> org.apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:327)



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


[jira] [Commented] (KYLIN-1220) JsonMappingException: Can not deserialize instance of java.lang.String out of START_ARRAY

2015-12-10 Thread wangxianbin (JIRA)

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

wangxianbin commented on KYLIN-1220:


ok, i see, this is just for notice that there is a issue, and issuer in 
2.x-staging can help me to catch up the project, so it no harm

> JsonMappingException: Can not deserialize instance of java.lang.String out of 
> START_ARRAY
> -
>
> Key: KYLIN-1220
> URL: https://issues.apache.org/jira/browse/KYLIN-1220
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0
> Environment: HDP2.3.2
>Reporter: wangxianbin
>Assignee: Zhong,Jason
>
> JsonMappingException when I create cube, I think it cause by class var 
> "column" in class "DimensionDesc" which is not String array any more, how 
> ever web didn't follow up this change.
> L4J [2015-12-10 
> 17:23:50,781][ERROR][org.apache.kylin.rest.controller.CubeController] - The 
> cube definition is not valid.
> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize 
> instance of java.lang.String out of START_ARRAY token
>  at [Source: java.io.StringReader@407d4132; line: 10, column: 22] (through 
> reference chain: 
> org.apache.kylin.cube.model.CubeDesc["dimensions"]->org.apache.kylin.cube.model.DimensionDesc["column"])
>   at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
>   at 
> com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:46)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:230)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:207)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
>   at org.apache.kylin.common.util.JsonUtil.readValue(JsonUtil.java:54)
>   at 
> org.apache.kylin.rest.controller.CubeController.deserializeCubeDesc(CubeController.java:699)
>   at 
> org.apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:327)



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


[jira] [Commented] (KYLIN-1220) JsonMappingException: Can not deserialize instance of java.lang.String out of START_ARRAY

2015-12-10 Thread hongbin ma (JIRA)

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

hongbin ma commented on KYLIN-1220:
---

when we apply new changes to 2.x-staging, we only make sure to pass 
CI(http://66.135.219.113/job/2.x-staging-full-regression/), which does not take 
into consider the frontend experience

> JsonMappingException: Can not deserialize instance of java.lang.String out of 
> START_ARRAY
> -
>
> Key: KYLIN-1220
> URL: https://issues.apache.org/jira/browse/KYLIN-1220
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0
> Environment: HDP2.3.2
>Reporter: wangxianbin
>Assignee: Zhong,Jason
>
> JsonMappingException when I create cube, I think it cause by class var 
> "column" in class "DimensionDesc" which is not String array any more, how 
> ever web didn't follow up this change.
> L4J [2015-12-10 
> 17:23:50,781][ERROR][org.apache.kylin.rest.controller.CubeController] - The 
> cube definition is not valid.
> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize 
> instance of java.lang.String out of START_ARRAY token
>  at [Source: java.io.StringReader@407d4132; line: 10, column: 22] (through 
> reference chain: 
> org.apache.kylin.cube.model.CubeDesc["dimensions"]->org.apache.kylin.cube.model.DimensionDesc["column"])
>   at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
>   at 
> com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:46)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:230)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:207)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
>   at org.apache.kylin.common.util.JsonUtil.readValue(JsonUtil.java:54)
>   at 
> org.apache.kylin.rest.controller.CubeController.deserializeCubeDesc(CubeController.java:699)
>   at 
> org.apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:327)



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


[jira] [Commented] (KYLIN-1220) JsonMappingException: Can not deserialize instance of java.lang.String out of START_ARRAY

2015-12-10 Thread hongbin ma (JIRA)

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

hongbin ma commented on KYLIN-1220:
---

yes, you're right, 2.x-staging's frontend is way behind backend, can you try 
2.x-rc? 2.x-staging is not yet suitable for normal use now

> JsonMappingException: Can not deserialize instance of java.lang.String out of 
> START_ARRAY
> -
>
> Key: KYLIN-1220
> URL: https://issues.apache.org/jira/browse/KYLIN-1220
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0
> Environment: HDP2.3.2
>Reporter: wangxianbin
>Assignee: Zhong,Jason
>
> JsonMappingException when I create cube, I think it cause by class var 
> "column" in class "DimensionDesc" which is not String array any more, how 
> ever web didn't follow up this change.
> L4J [2015-12-10 
> 17:23:50,781][ERROR][org.apache.kylin.rest.controller.CubeController] - The 
> cube definition is not valid.
> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize 
> instance of java.lang.String out of START_ARRAY token
>  at [Source: java.io.StringReader@407d4132; line: 10, column: 22] (through 
> reference chain: 
> org.apache.kylin.cube.model.CubeDesc["dimensions"]->org.apache.kylin.cube.model.DimensionDesc["column"])
>   at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
>   at 
> com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:575)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:46)
>   at 
> com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:230)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:207)
>   at 
> com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
>   at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464)
>   at 
> com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
>   at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888)
>   at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034)
>   at org.apache.kylin.common.util.JsonUtil.readValue(JsonUtil.java:54)
>   at 
> org.apache.kylin.rest.controller.CubeController.deserializeCubeDesc(CubeController.java:699)
>   at 
> org.apache.kylin.rest.controller.CubeController.saveCubeDesc(CubeController.java:327)



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