Re: Review Request 68188: ATLAS-2808: Enable Atlas to support entity proxies

2018-08-07 Thread Madhan Neethiraj

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




intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java
Lines 79 (patched)


I think 'isProxy' is a better name than 'proxyFlag'. Consider renaming this 
attribute and rest of similar references (PROXY_FLAG_KEY, KEY_PROXY_FLAG, ..).


- Madhan Neethiraj


On Aug. 3, 2018, 1:33 p.m., Graham Wallis wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68188/
> ---
> 
> (Updated Aug. 3, 2018, 1:33 p.m.)
> 
> 
> Review request for atlas.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS_2808: Support for entity proxies
> 
> 
> Diffs
> -
> 
>   common/src/main/java/org/apache/atlas/repository/Constants.java 
> 7988d1d81595eb3d65ecca2480c0e67d17f53573 
>   intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java 
> dc2be412b9ec1b07d7c7befc722810273464cd3f 
>   repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java 
> d328873f1f2695954d79e476a40166f48ffda482 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
>  f57ce99f764a5c779f1cfa4325849c15ac804b2d 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java
>  448d03bc069869db85cd86e14021a3fa59b57e33 
> 
> 
> Diff: https://reviews.apache.org/r/68188/diff/1/
> 
> 
> Testing
> ---
> 
> Tested with saveRelationshipReferenceCopy between entities that do not exist 
> in the Atlas repository.
> 
> 
> Thanks,
> 
> Graham Wallis
> 
>



Build failed in Jenkins: Atlas-1.0-AllTests #706

2018-08-07 Thread Apache Jenkins Server
See 

--
[...truncated 240.09 KB...]
at 
org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:733)

testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.321 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at 
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:674)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.141 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.169 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.14 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testTermAssignmentAndDissociation(org.apache.atlas.glossary.GlossaryServiceTest)
  Time elapsed: 0.991 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testTermAssignmentAndDissociation(GlossaryServiceTest.java:778)

testTermRelation(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 
0.198 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at 
org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testTermRelation(GlossaryServiceTest.java:823)

testUpdateGlossary(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.473 sec  <<< FAILURE!
java.lang.NullPointerException: null
at java.util.ArrayList.(ArrayList.java:178)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testUpdateGlossary(GlossaryServiceTest.java:366)

testUpdateGlossaryCategory(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.16 sec  <<< FAILURE!
java.lang.NullPointerException: 

Re: Review Request 68063: ATLAS-2787: remove unwanted OMAG files

2018-08-07 Thread Madhan Neethiraj

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


Ship it!




Ship It!

- Madhan Neethiraj


On July 26, 2018, 2:08 p.m., Graham Wallis wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68063/
> ---
> 
> (Updated July 26, 2018, 2:08 p.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS-2787; Removed redundant OM modules
> 
> 
> Diffs
> -
> 
>   distro/pom.xml 54c3695e6fc18edd87451dfa0a2c8c95223eeb9b 
>   distro/src/main/assemblies/omag-server.xml 
> 9c4747ef5059993b7914d4bffc2582c56f8ddc0f 
>   om-fwk-ocf/README.md 2048d315c6b654219c48c9c9fbbb5b3e8727a069 
>   om-fwk-ocf/pom.xml 23be0816d0954a78c0c91a29f7038d7c91d78dc4 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/Connector.java 
> 06c4e3d03cde6154de16d7f89fd83a5db9eed87c 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBase.java 
> 28070ddda9c9268d1d39e0f0e1945b85eaa55d5f 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBroker.java 
> 18fec9ac3710cd802f6154f3ce696de9c9cf8ce4 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorProvider.java 
> 020b79c9867382b115b481efd39a6e074d34446a 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorProviderBase.java 
> 4e0762afa0cedfa9010fc0f4f9726e9d1d0b0129 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/ConnectionCheckedException.java
>  ef28352db7916d1edc0cfe072af1990f76d7954e 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/ConnectorCheckedException.java
>  d45e944d6880c7b47b432d9de2c6aa0abd81664b 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/OCFCheckedExceptionBase.java
>  bf0e2c279adc89ef3c4716d0085aeb03d690bedc 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/OCFErrorCode.java 
> e6fad57456fb1d63c5db38f1c7e4bfd951e50d60 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/OCFRuntimeException.java 
> 3d662717fcf2b5eb2d74a2998726a2e65aecf8ee 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/PropertyServerException.java
>  f78eba9939358d12827b58626097f184e6aa7e5f 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/README.md 
> 40e4d1233383aaa4d3be3abe5f02965cfe355c20 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AdditionalProperties.java
>  1a3a35a49cd92c510d6e7c0dbe616537f8da5970 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Annotation.java 
> c9394a42f5a4f516707a70afb0bcc72b7dcd1220 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AnnotationStatus.java
>  b45ce57a729393fae09da6575c59da3e46e41c21 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Annotations.java 
> 2b7e99d537044005b163e3ade8e1aac731da166a 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetDescriptor.java 
> 63d8fd4c4905535782cf75fd09d7ba6dd38d3f40 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetDetail.java 
> c0bd56d65ff2c2ac74f1d22a9f873e3d50fc5be0 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetPropertyBase.java
>  c98ea7bb30067889410564bbec93df39df1a0bba 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetPropertyIteratorBase.java
>  5bb30eb31b7cbb212ec18cbd7c021471ca12ccaf 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetSummary.java 
> ef40770883a3e1aa103309bcdda215fd78bb3a5a 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetUniverse.java 
> 6d352b9f00b17679c203fb12bb520adaa9e35ebb 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Certification.java 
> c0ffeebab71cd94af9df623e10e32e89246ce46a 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Certifications.java 
> 0db0eddd1b2478e6e6f7e70ff99f5d8fa61d802e 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Classification.java 
> 5fee198d4baaef2a97950fc5c93f3e0278d9e8bf 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Classifications.java 
> 9ff493c5725aadc72fa6894f6dfc40e4d36ac52e 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Comment.java 
> d80db8728b004619636b207bbe116918127aa74c 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/CommentType.java 
> 7a796801c8e4f56745b8e60c0e2a8f00600cc0b3 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Comments.java 
> baecec762fc2d9181008aad50c2b12452fbb6a40 
>   
> om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/ConnectedAssetProperties.java
>  b9c8db14dfa352dfe324df2f2ea9599e4cd46198 
>   om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java 
> d5ae7d1ba38343c7e0343cdfbe74272668f10218 
>   

Build failed in Jenkins: Atlas-1.0-IntegrationTests #711

2018-08-07 Thread Apache Jenkins Server
See 


--
[...truncated 366.44 KB...]
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 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712)
at 
org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:80)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
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 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilter$ServletFilterHttpInteraction.proceed(AtlasCSRFPreventionFilter.java:235)
at 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.handleHttpInteraction(AtlasCSRFPreventionFilter.java:177)
at 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.doFilter(AtlasCSRFPreventionFilter.java:190)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.apache.atlas.web.filters.AtlasAuthenticationFilter.doFilter(AtlasAuthenticationFilter.java:369)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:55)
at 

Build failed in Jenkins: Atlas-master-UnitTests #2118

2018-08-07 Thread Apache Jenkins Server
See 

--
[...truncated 204.74 KB...]
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
at org.testng.TestNG.run(TestNG.java:1032)
at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.516 sec - 
in org.apache.atlas.repository.impexp.ExportServiceTest
Tests run: 31, Failures: 10, Errors: 0, Skipped: 6, Time elapsed: 70.986 sec 
<<< FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest)  
Time elapsed: 0.066 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at 
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:733)

testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.09 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at 
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:674)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.027 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.014 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.036 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
   

Build failed in Jenkins: Atlas-1.0-IntegrationTests #710

2018-08-07 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2815: UI Slow loading enhancements

--
[...truncated 339.26 KB...]
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:845)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712)
at 
org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:80)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
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 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilter$ServletFilterHttpInteraction.proceed(AtlasCSRFPreventionFilter.java:235)
at 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.handleHttpInteraction(AtlasCSRFPreventionFilter.java:177)
at 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.doFilter(AtlasCSRFPreventionFilter.java:190)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.apache.atlas.web.filters.AtlasAuthenticationFilter.doFilter(AtlasAuthenticationFilter.java:369)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:55)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:146)
at 

Build failed in Jenkins: Atlas-master-UnitTests #2117

2018-08-07 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2815: UI Slow loading enhancements

--
[...truncated 205.58 KB...]
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertTrue(Assert.java:42)
at org.testng.Assert.assertTrue(Assert.java:52)
at 
org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList(AtlasRelationshipStoreV2Test.java:612)
at 
org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany(AtlasRelationshipStoreV2Test.java:544)
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 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
at org.testng.TestNG.run(TestNG.java:1032)
at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

testRelationshipAttributeUpdate_NonComposite_ManyToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreHardDeleteV2Test)
  Time elapsed: 0.251 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertTrue(Assert.java:42)
at org.testng.Assert.assertTrue(Assert.java:52)
at 
org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at 
org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne(AtlasRelationshipStoreV2Test.java:411)
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 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at 

Build failed in Jenkins: Atlas-1.0-UnitTests #721

2018-08-07 Thread Apache Jenkins Server
See 

--
[...truncated 170.07 KB...]
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

testRelationshipAttributeUpdate_NonComposite_ManyToMany(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreHardDeleteV2Test)
  Time elapsed: 0.264 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertTrue(Assert.java:42)
at org.testng.Assert.assertTrue(Assert.java:52)
at 
org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeList(AtlasRelationshipStoreV2Test.java:612)
at 
org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToMany(AtlasRelationshipStoreV2Test.java:544)
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 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
at org.testng.TestNG.run(TestNG.java:1032)
at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

testRelationshipAttributeUpdate_NonComposite_ManyToOne(org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreHardDeleteV2Test)
  Time elapsed: 0.265 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertTrue(Assert.java:42)
at org.testng.Assert.assertTrue(Assert.java:52)
at 
org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.verifyRelationshipAttributeValue(AtlasRelationshipStoreV2Test.java:628)
at 
org.apache.atlas.repository.store.graph.v2.AtlasRelationshipStoreV2Test.testRelationshipAttributeUpdate_NonComposite_ManyToOne(AtlasRelationshipStoreV2Test.java:411)
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 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
at 

Build failed in Jenkins: Atlas-1.0-UnitTests #720

2018-08-07 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2815: UI Slow loading enhancements

--
[...truncated 169.35 KB...]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
at org.testng.TestNG.run(TestNG.java:1032)
at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Tests run: 31, Failures: 10, Errors: 0, Skipped: 6, Time elapsed: 90.02 sec <<< 
FAILURE! - in org.apache.atlas.glossary.GlossaryServiceTest
testAddGlossaryCategoryChildren(org.apache.atlas.glossary.GlossaryServiceTest)  
Time elapsed: 0.068 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at 
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:733)

testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.047 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at 
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:674)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.01 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.01 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 

Build failed in Jenkins: Atlas-1.0-AllTests #705

2018-08-07 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2815: UI Slow loading enhancements

--
[...truncated 241.06 KB...]
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testAddGlossaryCategoryChildren(GlossaryServiceTest.java:733)

testAddTermsToCategory(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.238 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryCategory anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntity(AtlasGlossaryCategoryDTO.java:118)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:139)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryCategoryDTO.toEntityWithExtInfo(AtlasGlossaryCategoryDTO.java:36)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at 
org.apache.atlas.glossary.GlossaryService.updateCategory(GlossaryService.java:641)
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testAddTermsToCategory(GlossaryServiceTest.java:674)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.045 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.048 sec  <<< FAILURE!
java.lang.AssertionError: expected [2] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testGetCategoryTerms(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.002 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testGetCategoryTerms(GlossaryServiceTest.java:907)

testTermAssignmentAndDissociation(org.apache.atlas.glossary.GlossaryServiceTest)
  Time elapsed: 0.524 sec  <<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testTermAssignmentAndDissociation(GlossaryServiceTest.java:778)

testTermRelation(org.apache.atlas.glossary.GlossaryServiceTest)  Time elapsed: 
0.03 sec  <<< FAILURE!
java.lang.NullPointerException: atlasGlossaryTerm anchor must be specified
at java.util.Objects.requireNonNull(Objects.java:228)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntity(AtlasGlossaryTermDTO.java:210)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:242)
at 
org.apache.atlas.repository.ogm.glossary.AtlasGlossaryTermDTO.toEntityWithExtInfo(AtlasGlossaryTermDTO.java:38)
at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:67)
at 
org.apache.atlas.glossary.GlossaryService.updateTerm(GlossaryService.java:415)
at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:75)
at 
org.apache.atlas.glossary.GlossaryServiceTest.testTermRelation(GlossaryServiceTest.java:823)

testUpdateGlossary(org.apache.atlas.glossary.GlossaryServiceTest)  Time 
elapsed: 0.257 sec  <<< FAILURE!
java.lang.NullPointerException: null
at java.util.ArrayList.(ArrayList.java:178)
at 

[jira] [Commented] (ATLAS-2815) Slow UI load and REST improvement for entities with ownedRef

2018-08-07 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ATLAS-2815:


Commit ddef7a30e532dec26a1e415c2628ff25f40df729 in atlas's branch 
refs/heads/branch-1.0 from [~abhib4]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=ddef7a3 ]

ATLAS-2815: UI Slow loading enhancements

1. Updated REST APIs that read entities with an option to include only minimum 
attributes for referred entities
2. UI changes for minExtInfo

Change-Id: I633b46cc79de8ec807236719d8b5828aef537208
Signed-off-by: apoorvnaik 

(cherry picked from commit fbb244c)


> Slow UI load and REST improvement for entities with ownedRef
> 
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1, trunk, 1.1.0
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ATLAS-2815) Slow UI load and REST improvement for entities with ownedRef

2018-08-07 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ATLAS-2815:


Commit fbb244c2e4feb90949c7e3c1cbbf4bd2fe729a68 in atlas's branch 
refs/heads/master from [~abhib4]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=fbb244c ]

ATLAS-2815: UI Slow loading enhancements

1. Updated REST APIs that read entities with an option to include only minimum 
attributes for referred entities
2. UI changes for minExtInfo

Change-Id: I633b46cc79de8ec807236719d8b5828aef537208
Signed-off-by: apoorvnaik 


> Slow UI load and REST improvement for entities with ownedRef
> 
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1, trunk, 1.1.0
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Jenkins build is back to normal : Atlas-1.0-AllTests #704

2018-08-07 Thread Apache Jenkins Server
See 



Jenkins build is back to normal : Atlas-master-UnitTests #2116

2018-08-07 Thread Apache Jenkins Server
See 



[jira] [Updated] (ATLAS-2814) Export & Import Process: Add Data to AtlasCluster About Last Successful Import

2018-08-07 Thread Ashutosh Mestry (JIRA)


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

Ashutosh Mestry updated ATLAS-2814:
---
Attachment: ATLAS-2814-Cluster-stores-replication-details.patch

> Export & Import Process: Add Data to AtlasCluster About Last Successful Import
> --
>
> Key: ATLAS-2814
> URL: https://issues.apache.org/jira/browse/ATLAS-2814
> Project: Atlas
>  Issue Type: Improvement
>  Components:  atlas-core
>Affects Versions: 0.8.3
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: 0.8.3
>
> Attachments: ATLAS-2814-Cluster-stores-replication-details.patch
>
>
> *Background*
> Scenario: Couple of Atlas clusters are setup such that incremental export and 
> import is setup via some custom program. Example, Cluster _cl1_ exports does 
> incremental export and the output is imported into cluster _cl2_.
> It may be worth while to maintain some information about the last successful 
> import. This way the next incremental export will have correct parameters for 
> its export.
> *Approach Guidance*
>  * Create a new model, say _AtlasSyncInfo_, that stores information about top 
> level entity used for export and the timestamp that should be used for 
> subsequent incremental export.
>  * Utilize _AtlasCluster_'s _additionalInfo_ fields to store serialized 
> version of _AtlasSyncInfo_.
>  * Provide REST APIs for retrieval of this information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ATLAS-2814) Export & Import Process: Add Data to AtlasCluster About Last Successful Import

2018-08-07 Thread Ashutosh Mestry (JIRA)


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

Ashutosh Mestry updated ATLAS-2814:
---
Description: 
*Background*

Scenario: Couple of Atlas clusters are setup such that incremental export and 
import is setup via some custom program. Example, Cluster _cl1_ exports does 
incremental export and the output is imported into cluster _cl2_.

It may be worth while to maintain some information about the last successful 
import. This way the next incremental export will have correct parameters for 
its export.

*Approach Guidance*
 * Create a new model, say _AtlasSyncInfo_, that stores information about top 
level entity used for export and the timestamp that should be used for 
subsequent incremental export.
 * Utilize _AtlasCluster_'s _additionalInfo_ fields to store serialized version 
of _AtlasSyncInfo_.
 * Provide REST APIs for retrieval of this information.

  was:
*Background*

Scenario: Couple of Atlas clusters are setup such that incremental export and 
import is setup via some custom program. Example, Cluster _cl1_ exports does 
incremental export and the output is imported into cluster _cl2_.

It may be worth while to maintain some information about the last successful 
import. This way the next incremental export will have correct parameters for 
its export.

*Approach Guidance*
 * Create a new model, say _AtlasSyncInfo_, that stores information about top 
level entity used for export and the timestamp that should be used for 
subsequent incremental export.
 * ++Utilize _AtlasCluster_'s _additionalInfo_ fields to store serialized 
version of _AtlasSyncInfo_.
 * Provide REST APIs for retrieval of this information.


> Export & Import Process: Add Data to AtlasCluster About Last Successful Import
> --
>
> Key: ATLAS-2814
> URL: https://issues.apache.org/jira/browse/ATLAS-2814
> Project: Atlas
>  Issue Type: Improvement
>  Components:  atlas-core
>Affects Versions: 0.8.3
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: 0.8.3
>
>
> *Background*
> Scenario: Couple of Atlas clusters are setup such that incremental export and 
> import is setup via some custom program. Example, Cluster _cl1_ exports does 
> incremental export and the output is imported into cluster _cl2_.
> It may be worth while to maintain some information about the last successful 
> import. This way the next incremental export will have correct parameters for 
> its export.
> *Approach Guidance*
>  * Create a new model, say _AtlasSyncInfo_, that stores information about top 
> level entity used for export and the timestamp that should be used for 
> subsequent incremental export.
>  * Utilize _AtlasCluster_'s _additionalInfo_ fields to store serialized 
> version of _AtlasSyncInfo_.
>  * Provide REST APIs for retrieval of this information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Build failed in Jenkins: Atlas-0.8-IntegrationTests #229

2018-08-07 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2815: UI Slow loading enhancements

--
[...truncated 539.38 KB...]
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesDaily
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=time_dim 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_daily_mv
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/DB?attr:name=Sales HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/guid/68717eec-42d5-4db2-9899-5143d3ce8c22/classifications 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/View?attr:qualifiedName=product_dim_view
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=product_dim 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/tableType HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/serdeType HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/classification HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/pii_Tag HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/phi_Tag HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/pci_Tag HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/sox_Tag HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/sec_Tag HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/finance_Tag HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/FactvwpmGYrIz9 HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/ETLqALIo0bndn HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/DimensiondlVjg3W4zm HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/MetricWQ0NWwHsep HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/hive_db_v1 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/hive_column_v1 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/Classification HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/v2/types/typedef/name/dsl_test_type HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:41 +] "GET 
/api/atlas/discovery/search/dsl?query=from+hive_db_v1+name%3D%22dbuDLpdP5M43%22 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:42 +] "GET 
/api/atlas/discovery/search/dsl?query=from+blah HTTP/1.1" 400 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:21:53:42 +] "GET 
/api/atlas/discovery/search/dsl?query=from+hive_db_v1+name%3D%22dbuDLpdP5M43%22 
HTTP/1.1" 200 

Build failed in Jenkins: Atlas-1.0-AllTests #703

2018-08-07 Thread Apache Jenkins Server
See 

--
[...truncated 99.23 KB...]
[INFO] Executing: /bin/sh -c cd 
' && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

[INFO] Storing buildNumber: 07d595cc841b09369c606419f81d21c8b20dcaa5 at 
timestamp: 1533678130020
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd 
' && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ atlas-notification ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: **/antlr4/**
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] Exclude: **/javax.script.ScriptEngineFactory
[INFO] Exclude: .reviewboardrc
[INFO] Exclude: 3party-licenses/**
[INFO] Exclude: **/.cache
[INFO] Exclude: **/.cache-main
[INFO] Exclude: **/.cache-tests
[INFO] Exclude: **/.checkstyle
[INFO] Exclude: **/*.txt
[INFO] Exclude: **/*.json
[INFO] Exclude: .pc/**
[INFO] Exclude: debian/**
[INFO] Exclude: .svn/**
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.twiki
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.log
[INFO] Exclude: **/target/**
[INFO] Exclude: **/target*/**
[INFO] Exclude: **/build/**
[INFO] Exclude: **/*.patch
[INFO] Exclude: derby.log
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 36 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 36 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
atlas-notification ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
atlas-notification ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to 

[INFO] 
:
 Some input files use unchecked or unsafe operations.
[INFO] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
atlas-notification ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to 

[INFO] 
:
 Some input files use unchecked or unsafe operations.
[INFO] 

Build failed in Jenkins: Atlas-0.8-UnitTests #231

2018-08-07 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2815: UI Slow loading enhancements

--
[...truncated 194.41 KB...]
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.impexp.ReplicationEntityAttributeTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.impexp.ExportImportAuditServiceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.194 sec - in 
org.apache.atlas.repository.graph.TestIntSequence
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.035 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.256 sec - in 
org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.573 sec - in 
org.apache.atlas.BaseRepositoryTest
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.765 sec - 
in org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.636 sec - in 
org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.696 sec - in 
org.apache.atlas.repository.impexp.ZipSinkTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.568 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.925 sec - in 
org.apache.atlas.repository.impexp.ZipSourceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.impexp.ExportSkipLineageTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.116 sec - in 
org.apache.atlas.repository.impexp.AtlasImportRequestTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.impexp.ClusterServiceTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.485 sec - 
in org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.962 sec - in 
org.apache.atlas.repository.graph.GraphHelperMockTest
Java 

Build failed in Jenkins: Atlas-master-UnitTests #2115

2018-08-07 Thread Apache Jenkins Server
See 

--
[...truncated 239.61 KB...]
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.twiki
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.log
[INFO] Exclude: **/target/**
[INFO] Exclude: **/target*/**
[INFO] Exclude: **/build/**
[INFO] Exclude: **/*.patch
[INFO] Exclude: derby.log
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 125 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 125 licenses.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 15 resources
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-solr-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-webapp 
---
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:clean (clean) @ atlas-webapp ---
[WARNING] Keystore file 
'
 doesn't exist.
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:generateKeyPair (generateKeyPair) @ 
atlas-webapp ---
[WARNING] 
[WARNING] Warning:
[WARNING] The JKS keystore uses a proprietary format. It is recommended to 
migrate to PKCS12 which is an industry standard format using "keytool 
-importkeystore -srckeystore 

 -destkeystore 

 -deststoretype pkcs12".
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlas-webapp 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 69 source files to 

[INFO] 
:
 Some input files use or override a deprecated API.
[INFO] 
:
 Recompile with -Xlint:deprecation for details.
[INFO] 
:
 Some input files use unchecked or unsafe operations.
[INFO] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
atlas-webapp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 48 source files to 

[INFO] 
:
 Some input files use or override a deprecated API.
[INFO] 
:
 Recompile with -Xlint:deprecation for details.
[INFO] 

[jira] [Commented] (ATLAS-2815) Slow UI load and REST improvement for entities with ownedRef

2018-08-07 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ATLAS-2815:


Commit 64999fdc0b488f57445f52f2e77d9507fd660f57 in atlas's branch 
refs/heads/branch-0.8 from apoorvnaik
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=64999fd ]

ATLAS-2815: UI Slow loading enhancements

1. Updated REST APIs that read entities with an option to include only minimum 
attributes for referred entities
2. UI changes for minExtInfo

Signed-off-by: apoorvnaik 


> Slow UI load and REST improvement for entities with ownedRef
> 
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1, trunk, 1.1.0
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Build failed in Jenkins: PreCommit-ATLAS-Build-Test #547-branch-0.8-0001-ATLAS-2815-UI-Slow-loading-enhancements.patch

2018-08-07 Thread Apache Jenkins Server
See 


--
[...truncated 9.66 KB...]

error: patch failed: dashboardv2/public/js/models/VEntity.js:43
error: dashboardv2/public/js/models/VEntity.js: patch does not apply
Checking patch dashboardv2/public/js/models/VSearch.js...
error: while searching for:
 * Non - CRUD operations
 */
getEntity: function(id, options) {
var url = UrlLinks.entitiesApiUrl(id);

options = _.extend({
contentType: 'application/json',

error: patch failed: dashboardv2/public/js/models/VSearch.js:41
error: dashboardv2/public/js/models/VSearch.js: patch does not apply
Checking patch dashboardv2/public/js/models/VTag.js...
error: while searching for:
 * Non - CRUD operations
 */
deleteAssociation: function(guid, name, options) {
var url = UrlLinks.entitiesApiUrl(guid, name);
options = _.extend({
contentType: 'application/json',
dataType: 'json'

error: patch failed: dashboardv2/public/js/models/VTag.js:41
error: dashboardv2/public/js/models/VTag.js: patch does not apply
Checking patch dashboardv2/public/js/router/Router.js...
error: while searching for:
'id': id,
'value': paramObj
}, that.preFetchedCollectionLists, that.sharedObj)));
this.entityCollection.url = UrlLinks.entitiesApiUrl(id);
this.entityCollection.fetch({ reset: true });
});
}

error: patch failed: dashboardv2/public/js/router/Router.js:174
error: dashboardv2/public/js/router/Router.js: patch does not apply
Checking patch dashboardv2/public/js/utils/CommonViewFunction.js...
error: while searching for:
var table = "",
fetchInputOutputValue = function(id) {
var that = this;
scope.entityModel.getEntity(id, {
success: function(serverData) {
var value = "",
deleteButton = "",
data = serverData.entity;
value = Utils.getName(data);
var id = "";
if (data.guid) {

error: patch failed: dashboardv2/public/js/utils/CommonViewFunction.js:85
error: dashboardv2/public/js/utils/CommonViewFunction.js: patch does not apply
Checking patch dashboardv2/public/js/utils/UrlLinks.js...
error: while searching for:
taxonomiesTermsApiUrl: function(name) {
return this.baseUrl + '/v1/taxonomies' + '/' + name + '/terms';
},
entitiesApiUrl: function(guid, name) {
var entitiesUrl = this.baseUrlV2 + '/entity';
if (guid && name) {
return entitiesUrl + '/guid/' + guid + '/classification/' + 
name;
} else if (guid && !name) {
return entitiesUrl + '/guid/' + guid;
} else {
return entitiesUrl;
}
},
entitiesTraitsApiUrl: function(token) {
if (token) {
return this.baseUrlV2 + '/entity/guid/' + token + 
'/classifications';

error: patch failed: dashboardv2/public/js/utils/UrlLinks.js:54
error: dashboardv2/public/js/utils/UrlLinks.js: patch does not apply
Checking patch dashboardv2/public/js/views/entity/CreateEntityLayoutView.js...
error: while searching for:
},
fetchCollections: function() {
if (this.guid) {
this.collection.url = UrlLinks.entitiesApiUrl(this.guid);
this.collection.fetch({ reset: true });
} else {
this.entityCollectionList();

error: patch failed: 
dashboardv2/public/js/views/entity/CreateEntityLayoutView.js:184
error: dashboardv2/public/js/views/entity/CreateEntityLayoutView.js: patch does 
not apply
Checking patch 
intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java...
error: while searching for:
private Conditioncondition;
private List criterion;

public String getAttributeName() {
return attributeName;
}

error: patch failed: 
intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java:303
error: 
intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java: 
patch does not apply
Checking patch intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java...
error: while searching for:
public class AtlasEntityType extends AtlasStructType {
private static final Logger LOG = 
LoggerFactory.getLogger(AtlasEntityType.class);

private final AtlasEntityDef entityDef;
private final String typeQryStr;

private List superTypes   = 
Collections.emptyList();
private Set   allSuperTypes 

Build failed in Jenkins: PreCommit-ATLAS-Build-Test #546-branch-0.8-0001-ATLAS-2815-UI-Slow-loading-enhancements.patch

2018-08-07 Thread Apache Jenkins Server
See 


--
[...truncated 2.56 MB...]
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.graph.TestIntSequence
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.impexp.ExportImportAuditServiceTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
Running org.apache.atlas.repository.impexp.ClusterServiceTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.BaseTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Running org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1Test
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
Running org.apache.atlas.repository.graph.GraphHelperMockTest
Running org.apache.atlas.repository.impexp.ReplicationEntityAttributeTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.067 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.291 sec - in 
org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.637 sec - in 
org.apache.atlas.util.CompiledQueryCacheKeyTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.934 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.96 sec - in 
org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.675 sec - in 
org.apache.atlas.repository.graph.TestIntSequence
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.261 sec - in 
org.apache.atlas.BaseRepositoryTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.613 sec - in 
org.apache.atlas.TestUtils
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.118 sec - in 
org.apache.atlas.repository.impexp.ImportTransformsTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.389 sec - in 
org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.287 sec - in 
org.apache.atlas.repository.BaseTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Java HotSpot(TM) 

Build failed in Jenkins: Atlas-0.8-IntegrationTests #228

2018-08-07 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] Unit test fixes

--
[...truncated 2.73 MB...]
127.0.0.1 - - [07/Aug/2018:19:59:25 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:25 +] "GET 
/api/atlas/entities/f967b15c-48b0-4378-ab3b-530d85c451d8 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:25 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "GET 
/api/atlas/entities?type=hive_table HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "GET /api/atlas/entities?type=blah 
HTTP/1.1" 400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "GET 
/api/atlas/v2/types/typedef/name/testmPRGO2h9Fu HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "GET 
/api/atlas/entities?type=testmPRGO2h9Fu HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "GET /api/atlas/entities/blah 
HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "GET 
/api/atlas/v2/types/typedef/name/PII_TraitoXjiN51YIW HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:26 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "POST 
/api/atlas/entities/33e6831e-b2fa-4b94-861c-62d69769f5c4/traits HTTP/1.1" 201 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "GET 
/api/atlas/entities/33e6831e-b2fa-4b94-861c-62d69769f5c4/traitDefinitions/PII_TraitoXjiN51YIW
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "GET 
/api/atlas/entities/33e6831e-b2fa-4b94-861c-62d69769f5c4/traitDefinitions 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "GET 
/api/atlas/entities/8c91e0c4-6120-4165-97a6-34d9fcc3b56f/traits HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:27 +] "POST 
/api/atlas/entities/e1ec6572-0648-4687-8914-bc38dd9d044a HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "GET 
/api/atlas/entities/e1ec6572-0648-4687-8914-bc38dd9d044a HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST 
/api/atlas/entities/qualifiedName?type=hive_table=qualifiedName=tableMzneFxnCCg
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "GET 
/api/atlas/entities/383c5b34-41a6-4d18-9acb-365ab74356c5 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "GET 
/api/atlas/entities/6a75f72c-1712-4323-9574-2b12f272384b/audit?count=10 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST /api/atlas/entities HTTP/1.1" 
400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:28 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:29 +] "GET 
/api/atlas/v2/types/typedef/name/kFqvFmjgP4 HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:29 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:29 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [07/Aug/2018:19:59:29 +] "GET 
/api/atlas/entities/a6f13fd0-a825-4aa2-88aa-e4e0601db94f HTTP/1.1" 200 - 

Jenkins build is back to normal : Atlas-0.8-UnitTests #230

2018-08-07 Thread Apache Jenkins Server
See 




Build failed in Jenkins: PreCommit-ATLAS-Build-Test #545-branch-0.8-0001-ATLAS-2815-UI-Slow-loading-enhancements.patch

2018-08-07 Thread Apache Jenkins Server
See 


--
[...truncated 224.35 KB...]
[INFO] --- maven-checkstyle-plugin:2.9.1:check (checkstyle-check) @ 
atlas-hbase-server-shaded ---
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (findbugs-check) > :findbugs @ 
atlas-hbase-server-shaded >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ 
atlas-hbase-server-shaded ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (findbugs-check) < :findbugs @ 
atlas-hbase-server-shaded <<<
[INFO] 
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (findbugs-check) @ 
atlas-hbase-server-shaded ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ 
atlas-hbase-server-shaded ---
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/atlas/atlas-hbase-server-shaded/0.8.3-SNAPSHOT/atlas-hbase-server-shaded-0.8.3-SNAPSHOT.jar
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/atlas/atlas-hbase-server-shaded/0.8.3-SNAPSHOT/atlas-hbase-server-shaded-0.8.3-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/atlas/atlas-hbase-server-shaded/0.8.3-SNAPSHOT/atlas-hbase-server-shaded-0.8.3-SNAPSHOT-sources.jar
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/atlas/atlas-hbase-server-shaded/0.8.3-SNAPSHOT/atlas-hbase-server-shaded-0.8.3-SNAPSHOT-test-sources.jar
[INFO] 
[INFO] -< org.apache.atlas:atlas-repository >--
[INFO] Building Apache Atlas Repository 0.8.3-SNAPSHOT  [20/39]
[INFO] [ jar ]-
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atlas-repository ---
[INFO] Deleting 
 
(includes = [**/*.pyc], excludes = [])
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ atlas-repository ---
[INFO] Executing: /bin/sh -c cd 
' && 
'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

[INFO] Storing buildNumber: a5254b551764848f3377587fed4ab4a45f148a1e at 
timestamp: 1533671280481
[INFO] Storing buildScmBranch: branch-0.8
[INFO] 
[INFO] --- apache-rat-plugin:0.7:check (rat-check) @ atlas-repository ---
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] Exclude: **/javax.script.ScriptEngineFactory
[INFO] Exclude: .reviewboardrc
[INFO] Exclude: 3party-licenses/**
[INFO] Exclude: **/.cache
[INFO] Exclude: **/.cache-main
[INFO] Exclude: **/.cache-tests
[INFO] Exclude: **/.checkstyle
[INFO] Exclude: *.txt
[INFO] Exclude: **/*.json
[INFO] Exclude: .pc/**
[INFO] Exclude: debian/**
[INFO] Exclude: .svn/**
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.twiki
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.log
[INFO] Exclude: **/target/**
[INFO] Exclude: **/target*/**
[INFO] Exclude: **/build/**
[INFO] Exclude: **/*.patch
[INFO] Exclude: derby.log
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
atlas-repository ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
atlas-repository ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[jira] [Commented] (ATLAS-2815) Slow UI load and REST improvement for entities with ownedRef

2018-08-07 Thread Apoorv Naik (JIRA)


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

Apoorv Naik commented on ATLAS-2815:


Awaiting build 
([https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/545/)]
 result.

> Slow UI load and REST improvement for entities with ownedRef
> 
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1, trunk, 1.1.0
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Build failed in Jenkins: PreCommit-ATLAS-Build-Test #544-branch-0.8-0001-ATLAS-2815-UI-Slow-loading-enhancements.patch

2018-08-07 Thread Apache Jenkins Server
See 


--
[...truncated 240.99 KB...]
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.108 sec - in 
org.apache.atlas.repository.impexp.ImportTransformsTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.07 sec - in 
org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.244 sec - in 
org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.001 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.39 sec - in 
org.apache.atlas.utils.TestResourceFileUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.685 sec - in 
org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.734 sec - in 
org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.131 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.057 sec - in 
org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.729 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.918 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.graph.GraphHelperMockTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.365 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.831 sec - in 
org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.034 sec - in 
org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.graph.TestIntSequence
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.692 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running 

Build failed in Jenkins: Atlas-1.0-AllTests #702

2018-08-07 Thread Apache Jenkins Server
See 

--
[...truncated 99.23 KB...]
[INFO] Executing: /bin/sh -c cd 
' && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

[INFO] Storing buildNumber: 07d595cc841b09369c606419f81d21c8b20dcaa5 at 
timestamp: 1533667328856
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd 
' && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ atlas-notification ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: **/antlr4/**
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] Exclude: **/javax.script.ScriptEngineFactory
[INFO] Exclude: .reviewboardrc
[INFO] Exclude: 3party-licenses/**
[INFO] Exclude: **/.cache
[INFO] Exclude: **/.cache-main
[INFO] Exclude: **/.cache-tests
[INFO] Exclude: **/.checkstyle
[INFO] Exclude: **/*.txt
[INFO] Exclude: **/*.json
[INFO] Exclude: .pc/**
[INFO] Exclude: debian/**
[INFO] Exclude: .svn/**
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.twiki
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.log
[INFO] Exclude: **/target/**
[INFO] Exclude: **/target*/**
[INFO] Exclude: **/build/**
[INFO] Exclude: **/*.patch
[INFO] Exclude: derby.log
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 36 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 36 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
atlas-notification ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
atlas-notification ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to 

[INFO] 
:
 Some input files use unchecked or unsafe operations.
[INFO] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
atlas-notification ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
atlas-notification ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to 

[INFO] 
:
 Some input files use unchecked or unsafe operations.
[INFO] 

Jenkins build is back to normal : PreCommit-ATLAS-Build-Test #543-branch-0.8-0001-Unit-test-fixes.patch

2018-08-07 Thread Apache Jenkins Server
See 




[jira] [Updated] (ATLAS-2815) Slow UI load and REST improvement for entities with ownedRef

2018-08-07 Thread Apoorv Naik (JIRA)


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

Apoorv Naik updated ATLAS-2815:
---
Issue Type: Improvement  (was: Bug)

> Slow UI load and REST improvement for entities with ownedRef
> 
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1, trunk, 1.1.0
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ATLAS-2815) Slow UI load and REST improvement for entities with ownedRef

2018-08-07 Thread Apoorv Naik (JIRA)


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

Apoorv Naik updated ATLAS-2815:
---
Summary: Slow UI load and REST improvement for entities with ownedRef  
(was: 'Properties' tab performance improvement )

> Slow UI load and REST improvement for entities with ownedRef
> 
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Bug
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1, trunk, 1.1.0
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ATLAS-2815) 'Properties' tab performance improvement

2018-08-07 Thread Apoorv Naik (JIRA)


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

Apoorv Naik updated ATLAS-2815:
---
Fix Version/s: 1.1.0
   trunk

> 'Properties' tab performance improvement 
> -
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Bug
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1, trunk, 1.1.0
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Build failed in Jenkins: PreCommit-ATLAS-Build-Test #542-master-0001-Unit-test-fixes.patch

2018-08-07 Thread Apache Jenkins Server
See 


--
Started by user apoorvnaik
[EnvInject] - Loading node environment variables.
Building remotely on H10 (Hadoop) in workspace 

[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Cloning the remote Git repository
Cloning repository http://git-wip-us.apache.org/repos/asf/atlas.git
 > git init  # 
 > timeout=10
Fetching upstream changes from http://git-wip-us.apache.org/repos/asf/atlas.git
 > git --version # timeout=10
 > git fetch --tags --progress http://git-wip-us.apache.org/repos/asf/atlas.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url 
 > http://git-wip-us.apache.org/repos/asf/atlas.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url 
 > http://git-wip-us.apache.org/repos/asf/atlas.git # timeout=10
Fetching upstream changes from http://git-wip-us.apache.org/repos/asf/atlas.git
 > git fetch --tags --progress http://git-wip-us.apache.org/repos/asf/atlas.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 651ecd9e857660801e16edc1bea80109a671a378 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 651ecd9e857660801e16edc1bea80109a671a378
Commit message: "ATLAS-2801: Create a separate tar file for atlas-server 
components excluding atlas hook related components"
 > git rev-list --no-walk 651ecd9e857660801e16edc1bea80109a671a378 # timeout=10
[EnvInject] - Mask passwords that will be passed as build parameters.
Set build name.
New build name is '#542-master-0001-Unit-test-fixes.patch'
Copying file to LOCAL_PATCH
[PreCommit-ATLAS-Build-Test] $ /bin/bash /tmp/jenkins6710233279090911322.sh
+ export TOOLS_HOME=/home/jenkins/tools
+ TOOLS_HOME=/home/jenkins/tools
+ export ANT_HOME=/home/jenkins/tools/ant/latest
+ ANT_HOME=/home/jenkins/tools/ant/latest
+ export FORREST_HOME=/home/jenkins/tools/forrest/latest
+ FORREST_HOME=/home/jenkins/tools/forrest/latest
+ export JAVA5_HOME=/home/jenkins/tools/java/latest1.5
+ JAVA5_HOME=/home/jenkins/tools/java/latest1.5
+ export FINDBUGS_HOME=/home/jenkins/tools/findbugs/latest
+ FINDBUGS_HOME=/home/jenkins/tools/findbugs/latest
+ export CLOVER_HOME=/home/jenkins/tools/clover/latest
+ CLOVER_HOME=/home/jenkins/tools/clover/latest
+ export MAVEN_HOME=/home/jenkins/tools/maven/latest
+ MAVEN_HOME=/home/jenkins/tools/maven/latest
+ export 
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/jenkins/tools/java/latest1.8/bin:/home/jenkins/tools/ant/latest/bin:/home/jenkins/tools/maven/latest/bin
+ 
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/jenkins/tools/java/latest1.8/bin:/home/jenkins/tools/ant/latest/bin:/home/jenkins/tools/maven/latest/bin
+ export 'MAVEN_OPTS=-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 
-noverify'
+ MAVEN_OPTS='-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify'
+ export 'ANT_OPTS=-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 
-noverify'
+ ANT_OPTS='-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify'
+ env
BUILD_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/542/
XDG_SESSION_ID=160
SKIP_UT=false
HUDSON_SERVER_COOKIE=f4ebd1e6b0d976e8
SHELL=/bin/bash
FORREST_HOME=/home/jenkins/tools/forrest/latest
SSH_CLIENT=195.201.170.234 34412 22
TOOLS_HOME=/home/jenkins/tools
BUILD_TAG=jenkins-PreCommit-ATLAS-Build-Test-542
GIT_PREVIOUS_COMMIT=651ecd9e857660801e16edc1bea80109a671a378
ROOT_BUILD_CAUSE=MANUALTRIGGER
ANT_HOME=/home/jenkins/tools/ant/latest
WORKSPACE=
JOB_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/
ANT_OPTS=-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify
BRANCH=master
RUN_CHANGES_DISPLAY_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/542/display/redirect?page=changes
USER=jenkins
GIT_AUTHOR_NAME=jenkins
GIT_COMMITTER_NAME=jenkins
MAVEN_OPTS=-Xmx4096m -XX:MaxPermSize=1024m -Dfile.encoding=UTF-8 -noverify
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
GIT_COMMIT=651ecd9e857660801e16edc1bea80109a671a378
JENKINS_HOME=/x1/jenkins/jenkins-home
MAVEN_HOME=/home/jenkins/tools/maven/latest
MAIL=/var/mail/jenkins
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/jenkins/tools/java/latest1.8/bin:/home/jenkins/tools/ant/latest/bin:/home/jenkins/tools/maven/latest/bin
RUN_DISPLAY_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/542/display/redirect

[jira] [Assigned] (ATLAS-2815) 'Properties' tab performance improvement

2018-08-07 Thread Abhishek Kadam (JIRA)


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

Abhishek Kadam reassigned ATLAS-2815:
-

Assignee: Abhishek Kadam

> 'Properties' tab performance improvement 
> -
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Bug
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ATLAS-2815) 'Properties' tab performance improvement

2018-08-07 Thread Abhishek Kadam (JIRA)


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

Abhishek Kadam updated ATLAS-2815:
--
Attachment: ATLAS-2815.patch

> 'Properties' tab performance improvement 
> -
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Bug
>Reporter: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ATLAS-2815) 'Properties' tab performance improvement

2018-08-07 Thread Abhishek Kadam (JIRA)


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

Abhishek Kadam updated ATLAS-2815:
--
Attachment: ATLAS-2815_UI.patch

> 'Properties' tab performance improvement 
> -
>
> Key: ATLAS-2815
> URL: https://issues.apache.org/jira/browse/ATLAS-2815
> Project: Atlas
>  Issue Type: Bug
>Reporter: Abhishek Kadam
>Priority: Major
> Fix For: 0.8.1
>
> Attachments: ATLAS-2815.patch, ATLAS-2815_UI.patch
>
>
> The approach is to check if query param- 
> {color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
> then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (ATLAS-2815) 'Properties' tab performance improvement

2018-08-07 Thread Abhishek Kadam (JIRA)
Abhishek Kadam created ATLAS-2815:
-

 Summary: 'Properties' tab performance improvement 
 Key: ATLAS-2815
 URL: https://issues.apache.org/jira/browse/ATLAS-2815
 Project: Atlas
  Issue Type: Bug
Reporter: Abhishek Kadam
 Fix For: 0.8.1


The approach is to check if query param- 
{color:#212121}*minExtInfo*:{color}*true* and the entity has schemaOptions, 
then the server will send the attributes accordingly in referredEntities.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ATLAS-2257) hive_column type definition changes for position and table attributes when updated

2018-08-07 Thread Kapildeo Nayak (JIRA)


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

Kapildeo Nayak commented on ATLAS-2257:
---

In class AtlasStructDefStoreV1 the method[ toJsonFromAttribute](AtlasAttribute 
attribute)

The value of lower and upper variable are set according to Cardinality used
 for e.g. if Cardinality is SINGLE 
 and isOptional attribute is true than lower = 0 , and upper is set = 1 by 
default.
 if isOptional attribute is false than lower = 1 , and upper is set = 1 by 
default.
 and than value of lower and upper is set for attribute multiplicity with lower 
and upper
 after this in method() toAttributeDefFromJson()
 the value of lower and upper is set for variable valuesMinCount and 
valuesMaxCount accordingly.

 

https://github.com/apache/atlas/blob/branch-0.8/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasStructDefStoreV1.java#L469

 

If isUnique is false and Cardinality is other than SINGLE than the Cardinality 
is set to LIST and 
 if isUnique is true and Cardinality is other than SINGLE than the Cardinality 
is set to SET.
 and if Cardinality is non SINGLE and isOptional attribute is false and 
valuesMinCount < 1 than lower = 1 else lower is userdefined value , 
 and if Cardinality is non SINGLE and valuesMinCount < 2 than upper = 
Integer.MAX_VALUE else upper is userdefined value, 
 and than value of lower and upper is set for attribute multiplicity with lower 
and upper

after this in method() toAttributeDefFromJson()
 the value of lower and upper is set for variable valuesMinCount and 
valuesMaxCount accordingly.

[https://github.com/apache/atlas/blob/branch-0.8/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasStructDefStoreV1.java#L516]

 

Its not a issue.

> hive_column type definition changes for position and table attributes when 
> updated
> --
>
> Key: ATLAS-2257
> URL: https://issues.apache.org/jira/browse/ATLAS-2257
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Sharmadha Sainath
>Priority: Major
>
> On a fresh instance of Atlas , following is the type definition of 
> hive_column :
> {code}
> {  
>category:"ENTITY",
>guid:"076ceac2-5c0d-400f-8f89-ab455125191d",
>createdBy:"atlas",
>updatedBy:"atlas",
>createTime:1510294855527,
>updateTime:1510294855527,
>version:1,
>name:"hive_column",
>description:"hive_column",
>typeVersion:"1.3",
>options:{  
>   schemaAttributes:"["  name",
>   "description",
>   "owner",
>   "type",
>   "comment",
>   "position"
>]   " 
> }, 
> attributeDefs: [ 
> { 
> name: "   type",
>typeName:"string",
>isOptional:false,
>cardinality:"SINGLE",
>valuesMinCount:1,
>valuesMaxCount:1,
>isUnique:false,
>isIndexable:true
> },
> {  
>name:"comment",
>typeName:"string",
>isOptional:true,
>cardinality:"SINGLE",
>valuesMinCount:0,
>valuesMaxCount:1,
>isUnique:false,
>isIndexable:false
> },
> {  
>name:"position",
>typeName:"int",
>isOptional:true,
>cardinality:"SINGLE",
>valuesMinCount:-1,
>valuesMaxCount:-1,
>isUnique:false,
>isIndexable:false
> },
> {  
>name:"table",
>typeName:"hive_table",
>isOptional:true,
>cardinality:"SINGLE",
>valuesMinCount:-1,
>valuesMaxCount:-1,
>isUnique:false,
>isIndexable:false
> }
> ],
> superTypes:[  
> "DataSet"
> ]
> }
> {code}
> fired an update PUT request to update the hive_column type definition without 
> changing the definition . Update is successful. After update , following is 
> the type definition of hive_column :
> {code}
> {  
>category:"ENTITY",
>guid:"076ceac2-5c0d-400f-8f89-ab455125191d",
>createdBy:"atlas",
>updatedBy:"admin",
>createTime:1510294855527,
>updateTime:1510294918066,
>version:5,
>name:"hive_column",
>description:"hive_column",
>typeVersion:"1.3",
>options:{  
>   schemaAttributes:"["  name",
>   "description",
>   "owner",
>   "type",
>   "comment",
>   "position"
>]   " 
> }, 
> attributeDefs: [ 
> { 
> name: "   type",
>typeName:"string",
>isOptional:false,
>cardinality:"SINGLE",
>valuesMinCount:1,
>valuesMaxCount:1,
>isUnique:false,
>isIndexable:true
> },
> {  
>name:"comment",
>typeName:"string",
>isOptional:true,
>cardinality:"SINGLE",
>valuesMinCount:0,
>valuesMaxCount:1,
>isUnique:false,
>isIndexable:false
> },
> {  
>name:"position",
>typeName:"int",
>isOptional:true,
>cardinality:"SINGLE",
>valuesMinCount:0,
>valuesMaxCount:1,
>isUnique:false,
>isIndexable:false
> },
> {  
> 

Jenkins build is back to normal : Atlas-master-UnitTests #2110

2018-08-07 Thread Apache Jenkins Server
See