Hi, all
        I'm try to update from kylin 1.2 to 1.5.x, so first i made a test.
        I build a small kylin service and build kylin sample cube, then
according to document, i back up metadata then run shell in kylin1.5.3:

        kylin.sh org.apache.kylin.job.tools.DeployCoprocessorCLI
$KYLIN_HOME/lib/kylin-coprocessor*.jar all

        then i occur the following error:

        2016-09-20 21:16:43,759 ERROR [http-bio-7070-exec-5]
cube.CubeDescManager:207 : Error loading cube desc
/cube_desc/kylin_sales_cube_desc.json
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize
instance of java.lang.String out of START_ARRAY token
 at [Source: java.io.DataInputStream@41225557; line: 23, column: 49]
(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:599)
        at
com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:41)
        at
com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
        at
com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:375)
        at
com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
        at
com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:308)
        at
com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
        at
com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:226)
        at
com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:203)
        at
com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23)
        at
com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:375)
        at
com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107)
        at
com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:308)
        at
com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121)
        at
com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2796)
        at
com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:1988)
        at org.apache.kylin.common.util.JsonUtil.readValue(JsonUtil.java:62)
        at
org.apache.kylin.common.persistence.JsonSerializer.deserialize(JsonSerializer.java:40)
        at
org.apache.kylin.common.persistence.ResourceStore.getResource(ResourceStore.java:146)
        at
org.apache.kylin.cube.CubeDescManager.loadCubeDesc(CubeDescManager.java:128)
        at
org.apache.kylin.cube.CubeDescManager.reloadAllCubeDesc(CubeDescManager.java:205)
        at
org.apache.kylin.cube.CubeDescManager.<init>(CubeDescManager.java:94)
        at
org.apache.kylin.cube.CubeDescManager.getInstance(CubeDescManager.java:68)
        at
org.apache.kylin.cube.CubeManager.reloadCubeLocalAt(CubeManager.java:836)
        at
org.apache.kylin.cube.CubeManager.loadAllCubeInstance(CubeManager.java:818)
        at org.apache.kylin.cube.CubeManager.<init>(CubeManager.java:135)
        at
org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:101)
        at
org.apache.kylin.rest.service.BasicService.getCubeManager(BasicService.java:68)
        at
org.apache.kylin.rest.service.CubeService.listAllCubes(CubeService.java:215)
        at
org.apache.kylin.rest.service.CubeService.listAllCubes(CubeService.java:103)
        at
org.apache.kylin.rest.service.CubeService.getCubes(CubeService.java:135)
        at
org.apache.kylin.rest.service.CubeService$$FastClassByCGLIB$$17a07c0e.invoke(<generated>)

--
View this message in context: 
http://apache-kylin.74782.x6.nabble.com/Update-from-Kylin-1-2-to-1-5-3-ERROR-tp5858.html
Sent from the Apache Kylin mailing list archive at Nabble.com.

Reply via email to