atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1203) 'Invalid type definition' error during startup
Date Sun, 02 Oct 2016 03:45:20 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Madhan Neethiraj updated ATLAS-1203:
------------------------------------
    Attachment: ATLAS-1203.patch

Patch is available at the review board: https://reviews.apache.org/r/52469/

> 'Invalid type definition' error during startup
> ----------------------------------------------
>
>                 Key: ATLAS-1203
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1203
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>         Attachments: ATLAS-1203.patch
>
>
> After the fix for ATLAS-1184, following exception/error is seen in Atlas server logs
during startup:
> {code}
> 2016-10-01 05:55:27,437 INFO  - [main:] ~ Initializing type system for the first time.
(DefaultMetadataService:165)
> 2016-10-01 05:55:27,751 ERROR - [main:] ~ Unable to deserialize json={
>   "enumTypes":[
>   ],
>   "structTypes":[
>   ],
>   "traitTypes":[
>   ],
>   "classTypes":[
>   ]
> } (DefaultMetadataService:286)
> java.lang.IllegalArgumentException: Invalid type definition
>         at org.apache.atlas.services.DefaultMetadataService.validateTypeDefinition(DefaultMetadataService.java:282)
>         at org.apache.atlas.services.DefaultMetadataService.createOrUpdateTypes(DefaultMetadataService.java:244)
>         at org.apache.atlas.services.DefaultMetadataService.createType(DefaultMetadataService.java:239)
>         at org.apache.atlas.services.ReservedTypesRegistrar.registerType(ReservedTypesRegistrar.java:124)
>         at org.apache.atlas.services.ReservedTypesRegistrar.registerTypes(ReservedTypesRegistrar.java:69)
>         at org.apache.atlas.services.DefaultMetadataService.restoreTypeSystem(DefaultMetadataService.java:170)
>         at org.apache.atlas.services.DefaultMetadataService.<init>(DefaultMetadataService.java:153)
>         at org.apache.atlas.services.DefaultMetadataService.<init>(DefaultMetadataService.java:118)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> ...
> ...
> org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:93)
>         at org.apache.atlas.Atlas.main(Atlas.java:118)
> 2016-10-01 05:55:27,762 INFO  - [main:] ~ Restoring type system from the store (DefaultMetadataService:162)
> 2016-10-01 05:55:27,770 INFO  - [main:] ~ Restoring type CLASS.fs_path.null (GraphBackedTypeStore:243)
> {code}



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

Mime
View raw message