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

Shwetha G S updated ATLAS-1203:
-------------------------------
    Summary: 'Invalid type definition' due to no new types to be created at 
startup  (was: 'Invalid type definition' error during startup)

> 'Invalid type definition' due to no new types to be created at 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)

Reply via email to