Re: Review Request 57983: [ATLAS-1687] : hbase_column_family and hbase_column are not loaded into Atlas

2017-03-27 Thread Madhan Neethiraj

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57983/#review170259
---


Ship it!




Ship It!

- Madhan Neethiraj


On March 28, 2017, 5:46 a.m., Sarath Subramanian wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57983/
> ---
> 
> (Updated March 28, 2017, 5:46 a.m.)
> 
> 
> Review request for atlas.
> 
> 
> Bugs: ATLAS-1687
> https://issues.apache.org/jira/browse/ATLAS-1687
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Atlas is installed on a cluster and the cluster is upgraded.
> hbase_column_family and hbase_column are not found in the 
> /api/atlas/v2/types/typedefs/headers response in the upgraded cluster.
> 
> 
> Diffs
> -
> 
>   addons/models/0060-hbase_model.json 1317272 
>   intg/src/main/java/org/apache/atlas/store/AtlasTypeDefStore.java 9564b0c 
>   intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java d40eb51 
>   
> repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java
>  51e4b45 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java
>  2f43e9b 
> 
> 
> Diff: https://reviews.apache.org/r/57983/diff/1/
> 
> 
> Testing
> ---
> 
> Validated on 0.7 Atlas - Types were created 
> Upgraded to 0.8 Atlas - Types were updated/created with hbase_column_family 
> and hbase_column types created fine.
> 
> No error.
> 
> 
> Thanks,
> 
> Sarath Subramanian
> 
>



[jira] [Commented] (ATLAS-1687) Upgrade: hbase_column_family and hbase_column are not loaded into Atlas, even though hbase model json has it.

2017-03-27 Thread Sarath Subramanian (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944570#comment-15944570
 ] 

Sarath Subramanian commented on ATLAS-1687:
---

Review link: https://reviews.apache.org/r/57983/

> Upgrade: hbase_column_family and hbase_column are not loaded into Atlas, even 
> though hbase model json has it.
> -
>
> Key: ATLAS-1687
> URL: https://issues.apache.org/jira/browse/ATLAS-1687
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Assignee: Sarath Subramanian
>Priority: Critical
> Fix For: trunk, 0.9-incubating
>
> Attachments: BUG-78102.2.patch
>
>
> Atlas is installed on a cluster and the cluster is upgraded.
> hbase_column_family and hbase_column are not found in the 
> /api/atlas/v2/types/typedefs/headers response in the upgraded cluster.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Review Request 57983: [ATLAS-1687] : hbase_column_family and hbase_column are not loaded into Atlas

2017-03-27 Thread Sarath Subramanian

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57983/
---

Review request for atlas.


Bugs: ATLAS-1687
https://issues.apache.org/jira/browse/ATLAS-1687


Repository: atlas


Description
---

Atlas is installed on a cluster and the cluster is upgraded.
hbase_column_family and hbase_column are not found in the 
/api/atlas/v2/types/typedefs/headers response in the upgraded cluster.


Diffs
-

  addons/models/0060-hbase_model.json 1317272 
  intg/src/main/java/org/apache/atlas/store/AtlasTypeDefStore.java 9564b0c 
  intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java d40eb51 
  
repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java
 51e4b45 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java
 2f43e9b 


Diff: https://reviews.apache.org/r/57983/diff/1/


Testing
---

Validated on 0.7 Atlas - Types were created 
Upgraded to 0.8 Atlas - Types were updated/created with hbase_column_family and 
hbase_column types created fine.

No error.


Thanks,

Sarath Subramanian



[jira] [Updated] (ATLAS-1687) Upgrade: hbase_column_family and hbase_column are not loaded into Atlas, even though hbase model json has it.

2017-03-27 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-1687:
--
Attachment: BUG-78102.2.patch

> Upgrade: hbase_column_family and hbase_column are not loaded into Atlas, even 
> though hbase model json has it.
> -
>
> Key: ATLAS-1687
> URL: https://issues.apache.org/jira/browse/ATLAS-1687
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Assignee: Sarath Subramanian
>Priority: Critical
> Fix For: trunk, 0.9-incubating
>
> Attachments: BUG-78102.2.patch
>
>
> Atlas is installed on a cluster and the cluster is upgraded.
> hbase_column_family and hbase_column are not found in the 
> /api/atlas/v2/types/typedefs/headers response in the upgraded cluster.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (ATLAS-1687) Upgrade: hbase_column_family and hbase_column are not loaded into Atlas, even though hbase model json has it.

2017-03-27 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian reassigned ATLAS-1687:
-

Assignee: Sarath Subramanian

> Upgrade: hbase_column_family and hbase_column are not loaded into Atlas, even 
> though hbase model json has it.
> -
>
> Key: ATLAS-1687
> URL: https://issues.apache.org/jira/browse/ATLAS-1687
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Assignee: Sarath Subramanian
>Priority: Critical
> Fix For: trunk, 0.9-incubating
>
>
> Atlas is installed on a cluster and the cluster is upgraded.
> hbase_column_family and hbase_column are not found in the 
> /api/atlas/v2/types/typedefs/headers response in the upgraded cluster.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Re: Review Request 57978: Import API: Case where ZIP file Contains Deleted and Active Entities with Same QualifiedName

2017-03-27 Thread Madhan Neethiraj

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57978/#review170258
---


Ship it!




Ship It!

- Madhan Neethiraj


On March 27, 2017, 10:45 p.m., Ashutosh Mestry wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57978/
> ---
> 
> (Updated March 27, 2017, 10:45 p.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-1686
> https://issues.apache.org/jira/browse/ATLAS-1686
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Handled the case where incoming ZIP file contains deleted and active entities 
> with same qualified name.
> 
> Change to _IDBasedResolver_:
> - Logic updated to retrieve vertex based on guid alone, if import is in 
> progress. For all other operations, the old approach of continues.
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/IDBasedEntityResolver.java
>  f53efe6 
> 
> 
> Diff: https://reviews.apache.org/r/57978/diff/1/
> 
> 
> Testing
> ---
> 
> Import -> Export -> Import and diff compare.
> 
> 
> Thanks,
> 
> Ashutosh Mestry
> 
>



[jira] [Created] (ATLAS-1687) Upgrade: hbase_column_family and hbase_column are not loaded into Atlas, even though hbase model json has it.

2017-03-27 Thread Sharmadha Sainath (JIRA)
Sharmadha Sainath created ATLAS-1687:


 Summary: Upgrade: hbase_column_family and hbase_column are not 
loaded into Atlas, even though hbase model json has it.
 Key: ATLAS-1687
 URL: https://issues.apache.org/jira/browse/ATLAS-1687
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 0.8-incubating
Reporter: Sharmadha Sainath
Priority: Critical
 Fix For: trunk, 0.9-incubating


Atlas is installed on a cluster and the cluster is upgraded.
hbase_column_family and hbase_column are not found in the 
/api/atlas/v2/types/typedefs/headers response in the upgraded cluster.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ATLAS-1686) Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.Collections$UnmodifiableSet"

2017-03-27 Thread Ayub Khan (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944511#comment-15944511
 ] 

Ayub Khan commented on ATLAS-1686:
--

Sure [~ashutoshm]. I will verify this fix once it is committed and build ready.

> Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot 
> be created (missing no-arg constructor): 
> java.util.Collections$UnmodifiableSet"
> 
>
> Key: ATLAS-1686
> URL: https://issues.apache.org/jira/browse/ATLAS-1686
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Ayub Khan
>Assignee: Ashutosh Mestry
>Priority: Critical
> Fix For: trunk, 0.9-incubating
>
> Attachments: application.log, ATLAS-1686.patch, default_res.zip
>
>
> Importing the attached zip file for hiveDB type results in below exceptions.
> *First try resulted in below exception*
> {noformat}
> 2017-03-27 11:23:10,419 ERROR - [pool-2-thread-9 - 
> 7817471f-de23-47e8-bbd3-a1edd3d05c06:hrt_qa:POST/api/atlas/admin/import] ~ 
> Error handling a request: 875da67cba3c17ae (ExceptionMapperUtil:32)
> org.apache.atlas.exception.AtlasBaseException: 
> org.apache.atlas.exception.AtlasBaseException: invalid parameters: entity: 
> 269b5610-7be4-4a14-b264-395bb1172aa6, already associated with classification: 
> trait_gqjdehhtnn
>   at 
> org.apache.atlas.web.resources.AdminResource.importData(AdminResource.java:372)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>   at 
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>   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:302)
>   at 
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>   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:1542)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
>   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:790)
>   at 
> com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)
>   at 
> com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)
>   at 
> com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)
>   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.ActiveServerFilter.doFilter(ActiveServerFilter.java:82)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:78)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:56)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>

[jira] [Commented] (ATLAS-1686) Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.Collections$UnmodifiableSet"

2017-03-27 Thread Ashutosh Mestry (JIRA)

[ 
https://issues.apache.org/jira/browse/ATLAS-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944270#comment-15944270
 ] 

Ashutosh Mestry commented on ATLAS-1686:


[~ayubkhan] Once you have a build that contains this fix, can you please try 
this and let me know.

> Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot 
> be created (missing no-arg constructor): 
> java.util.Collections$UnmodifiableSet"
> 
>
> Key: ATLAS-1686
> URL: https://issues.apache.org/jira/browse/ATLAS-1686
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Ayub Khan
>Assignee: Ashutosh Mestry
>Priority: Critical
> Fix For: trunk, 0.9-incubating
>
> Attachments: application.log, ATLAS-1686.patch, default_res.zip
>
>
> Importing the attached zip file for hiveDB type results in below exceptions.
> *First try resulted in below exception*
> {noformat}
> 2017-03-27 11:23:10,419 ERROR - [pool-2-thread-9 - 
> 7817471f-de23-47e8-bbd3-a1edd3d05c06:hrt_qa:POST/api/atlas/admin/import] ~ 
> Error handling a request: 875da67cba3c17ae (ExceptionMapperUtil:32)
> org.apache.atlas.exception.AtlasBaseException: 
> org.apache.atlas.exception.AtlasBaseException: invalid parameters: entity: 
> 269b5610-7be4-4a14-b264-395bb1172aa6, already associated with classification: 
> trait_gqjdehhtnn
>   at 
> org.apache.atlas.web.resources.AdminResource.importData(AdminResource.java:372)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>   at 
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>   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:302)
>   at 
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>   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:1542)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
>   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:790)
>   at 
> com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)
>   at 
> com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)
>   at 
> com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)
>   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.ActiveServerFilter.doFilter(ActiveServerFilter.java:82)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:78)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:56)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(Filt

Review Request 57978: Import API: Case where ZIP file Contains Deleted and Active Entities with Same QualifiedName

2017-03-27 Thread Ashutosh Mestry

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57978/
---

Review request for atlas and Madhan Neethiraj.


Bugs: ATLAS-1686
https://issues.apache.org/jira/browse/ATLAS-1686


Repository: atlas


Description
---

Handled the case where incoming ZIP file contains deleted and active entities 
with same qualified name.

Change to _IDBasedResolver_:
- Logic updated to retrieve vertex based on guid alone, if import is in 
progress. For all other operations, the old approach of continues.


Diffs
-

  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/IDBasedEntityResolver.java
 f53efe6 


Diff: https://reviews.apache.org/r/57978/diff/1/


Testing
---

Import -> Export -> Import and diff compare.


Thanks,

Ashutosh Mestry



[jira] [Updated] (ATLAS-1686) Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.Collections$UnmodifiableSet"

2017-03-27 Thread Ashutosh Mestry (JIRA)

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

Ashutosh Mestry updated ATLAS-1686:
---
Attachment: ATLAS-1686.patch

> Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot 
> be created (missing no-arg constructor): 
> java.util.Collections$UnmodifiableSet"
> 
>
> Key: ATLAS-1686
> URL: https://issues.apache.org/jira/browse/ATLAS-1686
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Ayub Khan
>Assignee: Ashutosh Mestry
>Priority: Critical
> Fix For: trunk, 0.9-incubating
>
> Attachments: application.log, ATLAS-1686.patch, default_res.zip
>
>
> Importing the attached zip file for hiveDB type results in below exceptions.
> *First try resulted in below exception*
> {noformat}
> 2017-03-27 11:23:10,419 ERROR - [pool-2-thread-9 - 
> 7817471f-de23-47e8-bbd3-a1edd3d05c06:hrt_qa:POST/api/atlas/admin/import] ~ 
> Error handling a request: 875da67cba3c17ae (ExceptionMapperUtil:32)
> org.apache.atlas.exception.AtlasBaseException: 
> org.apache.atlas.exception.AtlasBaseException: invalid parameters: entity: 
> 269b5610-7be4-4a14-b264-395bb1172aa6, already associated with classification: 
> trait_gqjdehhtnn
>   at 
> org.apache.atlas.web.resources.AdminResource.importData(AdminResource.java:372)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>   at 
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>   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:302)
>   at 
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>   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:1542)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
>   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:790)
>   at 
> com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)
>   at 
> com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)
>   at 
> com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)
>   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.ActiveServerFilter.doFilter(ActiveServerFilter.java:82)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:78)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:56)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:

[jira] [Updated] (ATLAS-1611) Regression: Incorrect error code for the negative tests. Returned: "500 server error", expected: "400 Bad Request"

2017-03-27 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-1611:
--
Attachment: ATLAS-1611.4.patch

> Regression: Incorrect error code for the negative tests. Returned: "500 
> server error", expected: "400 Bad Request"
> --
>
> Key: ATLAS-1611
> URL: https://issues.apache.org/jira/browse/ATLAS-1611
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: trunk, 0.8-incubating
>Reporter: Ayub Khan
>Assignee: Sarath Subramanian
>Priority: Critical
> Fix For: trunk, 0.8-incubating
>
> Attachments: ATLAS-1611.3.patch, ATLAS-1611.4.patch
>
>
> * *Scenario-1: Creating an entity with invalidGUID results in "500 server 
> error", expected response is "400 Bad Request"*
> Sample json when posted to atlas results in 500 internal error,
> {noformat}
>   {
> 
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
> "id":{
>   
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
>   "id":"invalid",
>   "version":0,
>   "typeName":"ComplexEntityTestColumnroshbaacqm",
>   "state":"ACTIVE"
> },
> "typeName":"ComplexEntityTestColumnroshbaacqm",
> "values":{
>   "name":"column1hlrfnjmmth"
> },
> "traitNames":[
> ],
> "traits":{
> },
> "systemAttributes":{
>   "createdBy":null,
>   "modifiedBy":null,
>   "createdTime":null,
>   "modifiedTime":null
> }
>   }
> {noformat}
> * *Scenario-2: Full update REST API call of an entity with request payload 
> having unsupported value for a type(for example: for float type value is set 
> as "str") results in "500 server error" but the expected response is "400 bad 
> request".*



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Reopened] (ATLAS-1611) Regression: Incorrect error code for the negative tests. Returned: "500 server error", expected: "400 Bad Request"

2017-03-27 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian reopened ATLAS-1611:
---

Updating a non-existing type
localhost:21000/api/atlas/entities/qualifiedName?user.name=hrt_qa&type=non-existing&property=name&value=UpdateNonExistingEntityddeprbehr5
POST returns 500 Internal Server error.

> Regression: Incorrect error code for the negative tests. Returned: "500 
> server error", expected: "400 Bad Request"
> --
>
> Key: ATLAS-1611
> URL: https://issues.apache.org/jira/browse/ATLAS-1611
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: trunk, 0.8-incubating
>Reporter: Ayub Khan
>Assignee: Sarath Subramanian
>Priority: Critical
> Fix For: trunk, 0.8-incubating
>
> Attachments: ATLAS-1611.3.patch
>
>
> * *Scenario-1: Creating an entity with invalidGUID results in "500 server 
> error", expected response is "400 Bad Request"*
> Sample json when posted to atlas results in 500 internal error,
> {noformat}
>   {
> 
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
> "id":{
>   
> "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
>   "id":"invalid",
>   "version":0,
>   "typeName":"ComplexEntityTestColumnroshbaacqm",
>   "state":"ACTIVE"
> },
> "typeName":"ComplexEntityTestColumnroshbaacqm",
> "values":{
>   "name":"column1hlrfnjmmth"
> },
> "traitNames":[
> ],
> "traits":{
> },
> "systemAttributes":{
>   "createdBy":null,
>   "modifiedBy":null,
>   "createdTime":null,
>   "modifiedTime":null
> }
>   }
> {noformat}
> * *Scenario-2: Full update REST API call of an entity with request payload 
> having unsupported value for a type(for example: for float type value is set 
> as "str") results in "500 server error" but the expected response is "400 bad 
> request".*



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (ATLAS-1681) Atlas went into inconsistent state after creating a type with faulty definition

2017-03-27 Thread Apoorv Naik (JIRA)

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

Apoorv Naik resolved ATLAS-1681.

Resolution: Fixed

> Atlas went into inconsistent state after creating a type with faulty 
> definition
> ---
>
> Key: ATLAS-1681
> URL: https://issues.apache.org/jira/browse/ATLAS-1681
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: trunk, 0.9-incubating
>Reporter: Sharmadha Sainath
>Assignee: Apoorv Naik
> Attachments: EmptyAttrNameInTypeDef.txt
>
>
> Created an entity type with one of its attribute name empty with the 
> following definition with the following JSON:
> {code}
> {
>"structDefs":[
>],
>"entityDefs":[
>   {
>  "category":"ENTITY",
>  "updateTime":12345,
>  "name":"entity_incorrect",
>  "typeVersion":"0.1",
>  "attributeDefs":[
> {
>"name":"type_str",
>"isOptional":true,
>"isUnique":false,
>"isIndexable":false,
>"typeName":"string",
>"valuesMaxCount":1,
>"cardinality":"SINGLE",
>"valuesMinCount":0
> },
> {
>"name":"",
>"typeName":"int",
>"isOptional":true,
>"cardinality":"SINGLE",
>"valuesMinCount":-1,
>"valuesMaxCount":-1,
>"isUnique":false,
>"isIndexable":false
> }
>  ],
>  "superTypes":[
>  ],
>  "version":12345,
>  "guid":"-48964f25979it51334479",
>  "createTime":12345,
>  "description":"incorrect json"
>   }
>],
>"classificationDefs":[
>],
>"enumDefs":[
>]
> }
> {code}
> *Note the second attribute name in the attribute definition*
> POSTed the type definition to
> {code}
> /api/atlas/v2/types/typedefs
> {code}
> The type is created ,with 200 OK but with exception 
> {code}
> java.lang.IllegalArgumentException: Attribute name cannot be empty
> {code}
> (Attached the complete stack trace as a file)
> Inconsistency Observed :
> 1. Types drop down box lists the type entity_incorrect , but clicking on it 
> throws "Invalid Expression" exception
>  
> 2. Therafter ,any type creation (entity type , classification etc) is 
> succeeding with 200 OK but application.log has exception :
> {code}
> org.apache.atlas.query.Expressions$UnresolvedException: Unresolved id, 
> expression: entity_correct
> {code}
> Example :
> After POSTing the incorrect json to Atlas , created a tag tag_after in UI . 
> It succeeded. But Search of tag throws invalid expression and tag Association 
> to entity fails with  
> {code}
> org.apache.atlas.exception.AtlasBaseException: 
> org.apache.atlas.repository.RepositoryException: 
> org.apache.atlas.typesystem.exception.TypeNotFoundException: Unknown 
> datatype: tag_after
> {code}
> Type registration is affected when Atlas accepts the wrong JSON.
> Giving an empty attribute name is not a very common scenario but at what 
> conditions such wrong JSONs could be accepted should be looked at.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (ATLAS-1686) Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.Collections$UnmodifiableSet"

2017-03-27 Thread Ashutosh Mestry (JIRA)

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

Ashutosh Mestry reassigned ATLAS-1686:
--

Assignee: Ashutosh Mestry

> Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot 
> be created (missing no-arg constructor): 
> java.util.Collections$UnmodifiableSet"
> 
>
> Key: ATLAS-1686
> URL: https://issues.apache.org/jira/browse/ATLAS-1686
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Ayub Khan
>Assignee: Ashutosh Mestry
>Priority: Critical
> Fix For: trunk, 0.9-incubating
>
> Attachments: application.log, default_res.zip
>
>
> Importing the attached zip file for hiveDB type results in below exceptions.
> *First try resulted in below exception*
> {noformat}
> 2017-03-27 11:23:10,419 ERROR - [pool-2-thread-9 - 
> 7817471f-de23-47e8-bbd3-a1edd3d05c06:hrt_qa:POST/api/atlas/admin/import] ~ 
> Error handling a request: 875da67cba3c17ae (ExceptionMapperUtil:32)
> org.apache.atlas.exception.AtlasBaseException: 
> org.apache.atlas.exception.AtlasBaseException: invalid parameters: entity: 
> 269b5610-7be4-4a14-b264-395bb1172aa6, already associated with classification: 
> trait_gqjdehhtnn
>   at 
> org.apache.atlas.web.resources.AdminResource.importData(AdminResource.java:372)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>   at 
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>   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:302)
>   at 
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>   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:1542)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
>   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:790)
>   at 
> com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)
>   at 
> com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)
>   at 
> com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)
>   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.ActiveServerFilter.doFilter(ActiveServerFilter.java:82)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:78)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:56)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
>   a

[jira] [Updated] (ATLAS-1686) Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.Collections$UnmodifiableSet"

2017-03-27 Thread Ayub Khan (JIRA)

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

Ayub Khan updated ATLAS-1686:
-
Summary: Import API fails with "com.esotericsoftware.kryo.KryoException: 
Class cannot be created (missing no-arg constructor): 
java.util.Collections$UnmodifiableSet"  (was: Import fails with 
"com.esotericsoftware.kryo.KryoException: Class cannot be created (missing 
no-arg constructor): java.util.Collections$UnmodifiableSet")

> Import API fails with "com.esotericsoftware.kryo.KryoException: Class cannot 
> be created (missing no-arg constructor): 
> java.util.Collections$UnmodifiableSet"
> 
>
> Key: ATLAS-1686
> URL: https://issues.apache.org/jira/browse/ATLAS-1686
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Ayub Khan
>Priority: Critical
> Fix For: trunk, 0.9-incubating
>
> Attachments: application.log, default_res.zip
>
>
> Importing the attached zip file for hiveDB type results in below exceptions.
> *First try resulted in below exception*
> {noformat}
> 2017-03-27 11:23:10,419 ERROR - [pool-2-thread-9 - 
> 7817471f-de23-47e8-bbd3-a1edd3d05c06:hrt_qa:POST/api/atlas/admin/import] ~ 
> Error handling a request: 875da67cba3c17ae (ExceptionMapperUtil:32)
> org.apache.atlas.exception.AtlasBaseException: 
> org.apache.atlas.exception.AtlasBaseException: invalid parameters: entity: 
> 269b5610-7be4-4a14-b264-395bb1172aa6, already associated with classification: 
> trait_gqjdehhtnn
>   at 
> org.apache.atlas.web.resources.AdminResource.importData(AdminResource.java:372)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>   at 
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>   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:302)
>   at 
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>   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:1542)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
>   at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
>   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:790)
>   at 
> com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)
>   at 
> com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)
>   at 
> com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)
>   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.ActiveServerFilter.doFilter(ActiveServerFilter.java:82)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:78)
>   at 
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
>   at 
> org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleT

[jira] [Created] (ATLAS-1686) Import fails with "com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.Collections$UnmodifiableSet"

2017-03-27 Thread Ayub Khan (JIRA)
Ayub Khan created ATLAS-1686:


 Summary: Import fails with 
"com.esotericsoftware.kryo.KryoException: Class cannot be created (missing 
no-arg constructor): java.util.Collections$UnmodifiableSet"
 Key: ATLAS-1686
 URL: https://issues.apache.org/jira/browse/ATLAS-1686
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 0.8-incubating
Reporter: Ayub Khan
Priority: Critical
 Fix For: trunk, 0.9-incubating
 Attachments: application.log, default_res.zip

Importing the attached zip file for hiveDB type results in below exceptions.

*First try resulted in below exception*
{noformat}
2017-03-27 11:23:10,419 ERROR - [pool-2-thread-9 - 
7817471f-de23-47e8-bbd3-a1edd3d05c06:hrt_qa:POST/api/atlas/admin/import] ~ 
Error handling a request: 875da67cba3c17ae (ExceptionMapperUtil:32)
org.apache.atlas.exception.AtlasBaseException: 
org.apache.atlas.exception.AtlasBaseException: invalid parameters: entity: 
269b5610-7be4-4a14-b264-395bb1172aa6, already associated with classification: 
trait_gqjdehhtnn
at 
org.apache.atlas.web.resources.AdminResource.importData(AdminResource.java:372)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at 
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
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:302)
at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
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:1542)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
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:790)
at 
com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)
at 
com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)
at 
com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)
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.ActiveServerFilter.doFilter(ActiveServerFilter.java:82)
at 
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
at 
org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:78)
at 
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
at 
org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:56)
at 
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
at 
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.springframework..web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at 
org.apache.atlas.web.filters.AtlasAuthorizationFilter.doFilter(AtlasAuthorizationFilter.java:154)
at 
org.springframework..web.FilterChainProxy$VirtualFilte