Shwetha G S created ATLAS-545: --------------------------------- Summary: Attribute names with $ doesn't work Key: ATLAS-545 URL: https://issues.apache.org/jira/browse/ATLAS-545 Project: Atlas Issue Type: Bug Reporter: Shwetha G S
Create index fails with attribute names that contain $: {noformat} 2016-02-10 11:16:21,634 ERROR - [qtp1565844247-232 - ad7c63a0-be93-4344-bb33-5dd1f2d1f756:] ~ Error creating index for type org.apache.atlas.typesystem.types.ClassType@4c019ea6 (GraphBackedSearchIndexer:154) java.lang.IllegalArgumentException: Name can not contains reserved character $: className_update_7cyd8o3dnn.multiplicityOptional$ at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) at com.thinkaurelius.titan.graphdb.types.StandardRelationTypeMaker.checkName(StandardRelationTypeMaker.java:70) at com.thinkaurelius.titan.graphdb.types.StandardRelationTypeMaker.checkGeneralArguments(StandardRelationTypeMaker.java:79) at com.thinkaurelius.titan.graphdb.types.StandardRelationTypeMaker.makeDefinition(StandardRelationTypeMaker.java:113) at com.thinkaurelius.titan.graphdb.types.StandardPropertyKeyMaker.make(StandardPropertyKeyMaker.java:76) at org.apache.atlas.repository.graph.GraphBackedSearchIndexer.createCompositeAndMixedIndex(GraphBackedSearchIndexer.java:297) at org.apache.atlas.repository.graph.GraphBackedSearchIndexer.createIndexForAttribute(GraphBackedSearchIndexer.java:212) at org.apache.atlas.repository.graph.GraphBackedSearchIndexer.createIndexForFields(GraphBackedSearchIndexer.java:202) at org.apache.atlas.repository.graph.GraphBackedSearchIndexer.addIndexForType(GraphBackedSearchIndexer.java:191) at org.apache.atlas.repository.graph.GraphBackedSearchIndexer.onAdd(GraphBackedSearchIndexer.java:151) at org.apache.atlas.repository.graph.GraphBackedSearchIndexer.onChange(GraphBackedSearchIndexer.java:166) at org.apache.atlas.services.DefaultMetadataService.onTypesUpdated(DefaultMetadataService.java:645) at org.apache.atlas.services.DefaultMetadataService.updateType(DefaultMetadataService.java:207) at org.apache.atlas.web.resources.TypesResource.update(TypesResource.java:130) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)