Resolves error after user generated meta import Kylin can not deserialize instance of java.lang.string[] out of Value_string tokens

Source: Internet
Author: User

Error Stack:

 .- .- A  -: -: -,101ERROR [http-bio-7070-exec-5] Cube. Cubemanager:947: Error During Load cube instance, skipping:/cube/energon_dm_admission_record_fact_01.jsonjava.lang.IllegalStateException:Failed to init cubedescmanager from[email protected] at org.apache.kylin.cube.CubeDescManager.getInstance (Cubedescmanager.java: +) at Org.apache.kylin.cube.CubeManager.reloadCubeLocalAt (Cubemanager.java:922) at Org.apache.kylin.cube.CubeManager.loadAllCubeInstance (Cubemanager.java: the) at Org.apache.kylin.cube.CubeManager.<init> (Cubemanager.java:141) at Org.apache.kylin.cube.CubeManager.getInstance (Cubemanager.java: the) at Org.apache.kylin.rest.service.BasicService.getCubeManager (Basicservice.java: the) at Org.apache.kylin.rest.service.CubeService.listAllCubes (Cubeservice.java: -) at org.apache.kylin.rest.service.cubeservice$ $FastClassBySpringCGLIB $$17a07c0e.invoke (<generated>) at Org.springframework.cglib.proxy.MethodProxy.invoke (Methodproxy.java:204) at Org.springframework.aop.framework.cglibaopproxy$cglibmethodinvocation.invokejoinpoint ( Cglibaopproxy.java: the) at Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (Reflectivemethodinvocation.java:  Max) at Org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke ( Methodsecurityinterceptor.java: -) at Org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (Reflectivemethodinvocation.java: 172) at Org.springframework.aop.framework.cglibaopproxy$dynamicadvisedinterceptor.intercept (CglibAopProxy.java: 633) at org.apache.kylin.rest.service.cubeservice$ $EnhancerBySpringCGLIB $$543fa169.listallcubes (<generated>) at Org.apache.kylin.rest.controller.CubeController.getCubes (Cubecontroller.java: the) at Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at Sun.reflect.NativeMethodAccessorImpl . Invoke (Nativemethodaccessorimpl.java: +) at Sun.reflect.DelegatingMethodAccessorImpl.invoke (Delegatingmethodaccessorimpl.java: +) at Java.lang.reflect.Method.invoke (Method.java:497) at Org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (Invocablehandlermethod.java: 221) at Org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest ( Invocablehandlermethod.java:136) at Org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle ( Servletinvocablehandlermethod.java:104) at Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod ( Requestmappinghandleradapter.java:743) at Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal ( Requestmappinghandleradapter.java:672) at Org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle ( Abstracthandlermethodadapter.java: the) at Org.springframework.web.servlet.DispatcherServlet.doDispatch (Dispatcherservlet.java:933) at Org.springframework.web.servlet.DispatcherServlet.doService (Dispatcherservlet.java:867)..... caused By:com.fasterxml.jackson.databind.JsonMappingException:Can not deserialize instance of java.lang.string[]  outof value_string tokens at [Source: [E-mail protected]; line:1, column:205] (through reference chain:org.apache.kylin.cube.model.cubedesc["null_string"]) at com.fasterxml.jackson.databind.JsonMappingException. from(Jsonmappingexception.java:148) at Com.fasterxml.jackson.databind.DeserializationContext.mappingException (Deserializationcontext.java: 857) at Com.fasterxml.jackson.databind.DeserializationContext.mappingException (Deserializationcontext.java: 853) at Com.fasterxml.jackson.databind.deser.std.StringArrayDeserializer.handleNonArray ( Stringarraydeserializer.java:145) at Com.fasterxml.jackson.databind.deser.std.StringArrayDeserializer.deserialize ( Stringarraydeserializer.java: -) at Com.fasterxml.jackson.databind.deser.std.StringArrayDeserializer.deserialize ( Stringarraydeserializer.java: -) at Com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize (Settablebeanproperty.java:520) at Com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet (Fieldproperty.java:101) at Com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize (Beandeserializer.java:258) at Com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize (Beandeserializer.java: the) at Com.fasterxml.jackson.databind.objectmapper._readmapandclose (Objectmapper.java:3736) at Com.fasterxml.jackson.databind.ObjectMapper.readValue (Objectmapper.java:2796) at Org.apache.kylin.common.util.JsonUtil.readValue (Jsonutil.java: +) at Org.apache.kylin.common.persistence.JsonSerializer.deserialize (Jsonserializer.java: +) at Org.apache.kylin.common.persistence.ResourceStore.getResource (Resourcestore.java:146) at Org.apache.kylin.cube.CubeDescManager.loadCubeDesc (Cubedescmanager.java:173) at Org.apache.kylin.cube.CubeDescManager.reloadAllCubeDesc (Cubedescmanager.java:252) at Org.apache.kylin.cube.CubeDescManager.<init> (Cubedescmanager.java: About) at Org.apache.kylin.cube.CubeDescManager.getInstance (Cubedescmanager.java: in)        ...  theMore
Resolution: The Null_string field Kylin requires string[], but the self-generated meta is empty, resulting in JSON deserialization failure

Resolves error after user generated meta import Kylin can not deserialize instance of java.lang.string[] out of Value_string tokens

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.