Return-Path: X-Original-To: apmail-atlas-dev-archive@minotaur.apache.org Delivered-To: apmail-atlas-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76C64180FF for ; Tue, 21 Jul 2015 07:32:21 +0000 (UTC) Received: (qmail 15770 invoked by uid 500); 21 Jul 2015 07:32:08 -0000 Delivered-To: apmail-atlas-dev-archive@atlas.apache.org Received: (qmail 15730 invoked by uid 500); 21 Jul 2015 07:32:08 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 15719 invoked by uid 99); 21 Jul 2015 07:32:08 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 07:32:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3E9E518A6A2 for ; Tue, 21 Jul 2015 07:32:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ZevhxvAvVwr3 for ; Tue, 21 Jul 2015 07:32:06 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id CCF9E343F8 for ; Tue, 21 Jul 2015 07:32:05 +0000 (UTC) Received: (qmail 13836 invoked by uid 99); 21 Jul 2015 07:32:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 07:32:05 +0000 Date: Tue, 21 Jul 2015 07:32:05 +0000 (UTC) From: "Shwetha G S (JIRA)" To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ATLAS-45) Entity submit fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ATLAS-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shwetha G S updated ATLAS-45: ----------------------------- Fix Version/s: (was: 0.6-incubating) trunk > Entity submit fails > ------------------- > > Key: ATLAS-45 > URL: https://issues.apache.org/jira/browse/ATLAS-45 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.6-incubating > Reporter: Shwetha G S > Assignee: Suma Shivaprasad > Fix For: trunk > > Attachments: ATLAS-45.patch > > > {noformat} > 2015-07-02 16:28:25,044 ERROR - [503025921@qtp-1044962984-8 - e842c8ce-58ce-4b3f-a083-81dbbb9902b2:] ~ Unable to persist entity instance due to a desrialization error (EntityResource:109) > org.apache.atlas.typesystem.types.ValueConversionException: Cannot convert value 'org.apache.atlas.typesystem.Referenceable@7a50b790' to datatype hive_storagedesc > at org.apache.atlas.typesystem.types.ClassType.convert(ClassType.java:143) > at org.apache.atlas.services.DefaultMetadataService.deserializeClassInstance(DefaultMetadataService.java:251) > at org.apache.atlas.services.DefaultMetadataService.createEntity(DefaultMetadataService.java:229) > at org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:96) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) > at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) > at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) > at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) > at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) > at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) > at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) > at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) > at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) > at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) > at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) > at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) > at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287) > at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277) > at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) > at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) > at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) > at org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:67) > at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) > at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119) > at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133) > at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130) > at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203) > at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) > at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > Caused by: org.apache.atlas.typesystem.types.ValueConversionException: Cannot convert value 'org.apache.atlas.typesystem.Struct@7b8f4267' to datatype hive_serde > at org.apache.atlas.typesystem.types.TypedStructHandler.convert(TypedStructHandler.java:67) > at org.apache.atlas.typesystem.types.StructType.convert(StructType.java:168) > at org.apache.atlas.typesystem.types.StructType.convert(StructType.java:31) > at org.apache.atlas.typesystem.persistence.StructInstance.set(StructInstance.java:118) > at org.apache.atlas.typesystem.types.ClassType.convert(ClassType.java:141) > ... 49 more > Caused by: org.apache.atlas.typesystem.types.ValueConversionException$NullConversionException: Null value not allowed for multiplicty Multiplicity{lower=1, upper=1, isUnique=false} > at org.apache.atlas.typesystem.types.AbstractDataType.convertNull(AbstractDataType.java:27) > at org.apache.atlas.typesystem.types.DataTypes$StringType.convert(DataTypes.java:461) > at org.apache.atlas.typesystem.types.DataTypes$StringType.convert(DataTypes.java:444) > at org.apache.atlas.typesystem.types.DataTypes$MapType.convert(DataTypes.java:598) > at org.apache.atlas.typesystem.types.DataTypes$MapType.convert(DataTypes.java:554) > at org.apache.atlas.typesystem.persistence.StructInstance.set(StructInstance.java:118) > at org.apache.atlas.typesystem.types.TypedStructHandler.convert(TypedStructHandler.java:65) > ... 53 more > {noformat} > for entity value > {noformat} > "serdeInfo":{ > "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct", > "typeName":"hive_serde", > "values":{ > "serializationLib":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe", > "parameters":{ > "serialization.format":"\t", > "field.delim":"\t" > }, > "name":null > } > }, > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)