[jira] [Updated] (ATLAS-1898) Initial commit to feature-odf branch

2017-06-27 Thread Mandy Chessell (JIRA)

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

Mandy Chessell updated ATLAS-1898:
--
Attachment: 0002-ATLAS-1898-initial-commit-of-ODF.patch

> Initial commit to feature-odf branch
> 
>
> Key: ATLAS-1898
> URL: https://issues.apache.org/jira/browse/ATLAS-1898
> Project: Atlas
>  Issue Type: Sub-task
>  Components:  atlas-core
>Reporter: Mandy Chessell
>  Labels: open-metadata
> Attachments: 0001-ATLAS-1898-initial-commit-of-ODF.patch, 
> 0002-ATLAS-1898-initial-commit-of-ODF.patch
>
>
> This is the initial commit of the ODF code.  The changes from the initial IBM 
> code drop basically change java package names from com.ibm.iis.odf.* to 
> org.apache.atlas.odf.*.  There are still references to IBM Box directories 
> where deployment scripts look for the Atlas build.  these scripts need 
> rethinking as we make the ODF a buildable component of Atlas



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (ATLAS-1901) null pointer when Creating RelationshiupDef without propagateTags

2017-06-27 Thread David Radley (JIRA)
David Radley created ATLAS-1901:
---

 Summary: null pointer when Creating RelationshiupDef without 
propagateTags
 Key: ATLAS-1901
 URL: https://issues.apache.org/jira/browse/ATLAS-1901
 Project: Atlas
  Issue Type: Bug
Reporter: David Radley
Assignee: David Radley


null pointer when Creating RelationshiupDef without propagateTags. The 
exception is in class  AtlasRelationshipDefStoreV1 method 
setVertexPropertiesFromRelationshipDef. We try to dereference the propagateTags 
enum value to get it name but it is null.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ATLAS-1578) Problem with Firefox UI : While creating/editing entity in UI ,value to be selected from a drop down list gets auto selected.

2017-06-27 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-1578:
---
Issue Type: Sub-task  (was: Bug)
Parent: ATLAS-1190

> Problem with Firefox UI : While creating/editing entity in UI ,value to be 
> selected from a drop down list gets auto selected.
> -
>
> Key: ATLAS-1578
> URL: https://issues.apache.org/jira/browse/ATLAS-1578
> Project: Atlas
>  Issue Type: Sub-task
>  Components: atlas-webui
> Environment: Firefox 45.0
>Reporter: Sharmadha Sainath
>Assignee: Keval Bhatt
>Priority: Minor
>
> When creating hbase_column_family , hbase_table is one of its attributes 
> which is a drop down list of all hbase_tables. Even before providing the 
> hbase_table, an hbase_table entity is pre selected. This preselection doesn't 
> happen on Chrome or Safari. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (ATLAS-1763) UI : Atlas lands in the page of Deleted tag (the only tag) on clicking TAGS tab

2017-06-27 Thread Keval Bhatt (JIRA)

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

Keval Bhatt resolved ATLAS-1763.

Resolution: Fixed

Handled in ATLAS-1812

> UI : Atlas lands in the page of Deleted tag (the only tag) on clicking TAGS 
> tab 
> 
>
> Key: ATLAS-1763
> URL: https://issues.apache.org/jira/browse/ATLAS-1763
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.9-incubating
>Reporter: Sharmadha Sainath
>Assignee: Keval Bhatt
>Priority: Trivial
>
> 1. Created tag tag1
> 2. Clicked on TAGS tab which landed in 
> http://localhost:21000/index.html#!/tag/tagAttribute/tag1
> 3. Deleted the tag through REST.
> 4. Clicked on the TAGS tab. The TAGS tab listed tag1 . But on disabling cache 
> , tag1 is removed.
> 5.But Atlas lands in 
> http://localhost:21000/index.html#!/tag/tagAttribute/tag1 which throws 404 
> exception while clicking Tags tab .
> On opening Atlas in another incognito window , this issue is not seen . Atlas 
> possibly caches tag1 which lands in /tag/tagAttribute/tag1 and causes issue.
> When there are 1 or more ACTIVE tags , this issue is not seen as it lands in 
> /tag/tagAttribute/.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ATLAS-1893) UI - Lineage support for IE-10 and onwards.

2017-06-27 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-1893:
---
Affects Version/s: 0.9-incubating

> UI - Lineage support for IE-10 and onwards.
> ---
>
> Key: ATLAS-1893
> URL: https://issues.apache.org/jira/browse/ATLAS-1893
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.9-incubating
> Environment: IE
>Reporter: Nixon Rodrigues
>Assignee: Keval Bhatt
> Fix For: 0.8-incubating, 0.9-incubating
>
> Attachments: ATLAS-1893.patch
>
>
> Currently lineage is not working on IE.
> This fix will provide lineage support for browsers IE10 and onwards.
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ATLAS-1893) UI - Lineage support for IE-10 and onwards.

2017-06-27 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-1893:
---
Fix Version/s: 0.8-incubating
   0.9-incubating

> UI - Lineage support for IE-10 and onwards.
> ---
>
> Key: ATLAS-1893
> URL: https://issues.apache.org/jira/browse/ATLAS-1893
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.9-incubating
> Environment: IE
>Reporter: Nixon Rodrigues
>Assignee: Keval Bhatt
> Fix For: 0.8-incubating, 0.9-incubating
>
> Attachments: ATLAS-1893.patch
>
>
> Currently lineage is not working on IE.
> This fix will provide lineage support for browsers IE10 and onwards.
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ATLAS-1893) UI - Lineage support for IE-10 and onwards.

2017-06-27 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-1893:
---
Attachment: ATLAS-1893.patch

> UI - Lineage support for IE-10 and onwards.
> ---
>
> Key: ATLAS-1893
> URL: https://issues.apache.org/jira/browse/ATLAS-1893
> Project: Atlas
>  Issue Type: Bug
> Environment: IE
>Reporter: Nixon Rodrigues
>Assignee: Keval Bhatt
> Attachments: ATLAS-1893.patch
>
>
> Currently lineage is not working on IE.
> This fix will provide lineage support for browsers IE10 and onwards.
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (ATLAS-1900) Test NotificationHookConsumerIT#testUpdateEntityPartial fails intermittently

2017-06-27 Thread Sneha Kanekar (JIRA)
Sneha Kanekar created ATLAS-1900:


 Summary: Test NotificationHookConsumerIT#testUpdateEntityPartial 
fails intermittently
 Key: ATLAS-1900
 URL: https://issues.apache.org/jira/browse/ATLAS-1900
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Affects Versions: 0.9-incubating
 Environment: Ubuntu:14.04
$ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
Reporter: Sneha Kanekar


The integration test 
org.apache.atlas.notification.NotificationHookConsumerIT.testUpdateEntityPartial
 fails intermittently with Internal server error 500. This test fails on x86 
and ppc64le platform. 
{code:borderStyle=solid}
testUpdateEntityPartial(org.apache.atlas.notification.NotificationHookConsumerIT)
  Time elapsed: 0.646 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@3c2809c9 failed with status 500 
(Internal Server Error) Response Body ({"error":"Could not execute operation 
due to backend exception"})
at 
org.apache.atlas.notification.NotificationHookConsumerIT.testUpdateEntityPartial(NotificationHookConsumerIT.java:127)
{code}

The full error message from standard output is as follows:
{code:borderStyle=solid}
Jun 27, 2017 5:49:29 AM com.sun.jersey.spi.container.ContainerResponse 
logException
SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException
at 
org.apache.atlas.web.resources.EntityResource.getEntityDefinitionByAttribute(EntityResource.java:838)
at 
org.apache.atlas.web.resources.EntityResource.getEntity(EntityResource.java:764)
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$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:302)
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 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at 
org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:76)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
at 
org.apache.atlas.web.filters.AtlasAuthorizationFilter.doFilter(AtlasAuthorizationFilter.java:157)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 

Review Request 60457: ATLS-1899

2017-06-27 Thread David Radley

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

Review request for atlas and Madhan Neethiraj.


Repository: atlas


Description
---

fixup the logic around edge creation for relationshipDefs


Diffs
-

  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipDefStoreV1.java
 194c5461505b9400cf30d6bc4abebc2c9325c001 


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


Testing
---

ran junits
created a relationshipDef with different types and names 
created a relationshipDef with ends contianing the same names and types. 

checked the trace to see that it was as expected in both cases.


Thanks,

David Radley



Build failed in Jenkins: apache-atlas-nightly #787

2017-06-27 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-1734: Import API update to make type import optional

--
[...truncated 538.05 KB...]
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "PUT /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "GET 
/api/atlas/v2/types/typedefs/?type=ENTITY HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "POST /api/atlas/types HTTP/1.1" 409 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "GET /api/atlas/types/blah HTTP/1.1" 
404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "GET 
/api/atlas/v2/types/typedef/name/class_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "GET 
/api/atlas/v2/types/typedef/name/secure_trait HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "GET 
/api/atlas/v2/types/typedef/name/pii_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "GET 
/api/atlas/v2/types/typedef/name/ssn_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:40 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "GET 
/api/atlas/v2/types/typedef/name/salary_trait HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "GET 
/api/atlas/v2/types/typedef/name/sox_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "GET /api/atlas/types?type=TRAIT 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "GET 
/api/atlas/v2/types/typedef/name/ARDqY16cG1p HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "GET 
/api/atlas/v2/types/typedef/name/A1zyBYCfOMSA HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "GET 
/api/atlas/v2/types/typedef/name/BUGg3vxZNyJ HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "GET 
/api/atlas/v2/types/typedef/name/CdAA1fXu0jJ HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "GET 
/api/atlas/types?type=CLASS=ARDqY16cG1p=BUGg3vxZNyJ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:41 +] "PUT /api/atlas/types HTTP/1.1" 200 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:42 +] "GET /api/atlas/types/NX6dwuPmp1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/tableType HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/serdeType HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/classification HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/pii HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/phi HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/pci HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/sox HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/sec HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/finance HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET 
/api/atlas/v2/types/typedef/name/Fact HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Jun/2017:08:17:46 +] "GET