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

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2184: IS_NULL, NOT_NULL operator support (#2)

--
[...truncated 288.76 KB...]
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
Running org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.645 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.148 sec - in 
org.apache.atlas.BaseRepositoryTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.61 sec - in 
org.apache.atlas.query.LexerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.828 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.964 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.828 sec - 
in org.apache.atlas.query.ExpressionTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.207 sec - in 
org.apache.atlas.TestModules
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.738 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.257 sec - 
in org.apache.atlas.query.ParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.905 sec - in 
org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.graph.TestIntSequence
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.316 sec - in 
org.apache.atlas.util.CompiledQueryCacheKeyTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.081 sec - in 
org.apache.atlas.query.QueryProcessorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.532 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.52 sec - in 
org.apache.atlas.query.BaseGremlinTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.919 sec - in 
org.apache.atlas.discovery.DataSetLineageServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.383 sec - in 
org.apache.atlas.RepositoryServiceLoadingTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Running org.apache.atlas.repository.graph.GraphHelperMockTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.938 sec - in 
org.apache.atlas.discovery.EntityDiscoveryServiceTest
Running org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.518 sec - 
in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.476 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running 

Build failed in Jenkins: Atlas-master-NoTests #106

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2184: IS_NULL, NOT_NULL operator support (#2)

--
[...truncated 269.83 KB...]
[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-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO] 
[INFO] <<< jetty-maven-plugin:9.4.0.v20161208:deploy-war (start-jetty) < 
validate @ atlas-webapp <<<
[INFO] 
[INFO] 
[INFO] --- jetty-maven-plugin:9.4.0.v20161208:deploy-war (start-jetty) @ 
atlas-webapp ---
[WARNING] Error injecting: org.eclipse.jetty.maven.plugin.JettyDeployWar
java.lang.TypeNotPresentException: Type 
org.eclipse.jetty.maven.plugin.JettyDeployWar not present
at 
org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:147)
at org.eclipse.sisu.space.NamedClass.load(NamedClass.java:46)
at 
org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at 
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
at 
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
at 
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
at 
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at 
com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
at 
org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:519)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at 

Build failed in Jenkins: Atlas-0.8-NoTests #87

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2184: IS_NULL, NOT_NULL operator support (#2)

--
[...truncated 277.50 KB...]
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/jasper-jsp/8.5.5/jasper-jsp-8.5.5.pom
Progress (1): 2.2/3.5 kBProgress (1): 3.5 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/jasper-jsp/8.5.5/jasper-jsp-8.5.5.pom
 (3.5 kB at 232 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.pom
Progress (1): 2.2/7.4 kBProgress (1): 4.9/7.4 kBProgress (1): 7.4 kB
Downloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.pom
 (7.4 kB at 212 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jstl/9.4.0.v20161208/apache-jstl-9.4.0.v20161208.pom
Progress (1): 2.2/2.3 kBProgress (1): 2.3 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jstl/9.4.0.v20161208/apache-jstl-9.4.0.v20161208.pom
 (2.3 kB at 128 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/apache/taglibs/taglibs-standard-spec/1.2.5/taglibs-standard-spec-1.2.5.pom
Progress (1): 2.8/5.3 kBProgress (1): 5.3 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/apache/taglibs/taglibs-standard-spec/1.2.5/taglibs-standard-spec-1.2.5.pom
 (5.3 kB at 159 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/apache/taglibs/taglibs-standard/1.2.5/taglibs-standard-1.2.5.pom
Progress (1): 2.8/4.3 kBProgress (1): 4.3 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/apache/taglibs/taglibs-standard/1.2.5/taglibs-standard-1.2.5.pom
 (4.3 kB at 251 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/apache/taglibs/taglibs-standard-impl/1.2.5/taglibs-standard-impl-1.2.5.pom
Progress (1): 2.8/6.9 kBProgress (1): 5.5/6.9 kBProgress (1): 6.9 kB
Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/taglibs/taglibs-standard-impl/1.2.5/taglibs-standard-impl-1.2.5.pom
 (6.9 kB at 429 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jaas/9.4.0.v20161208/jetty-jaas-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-quickstart/9.4.0.v20161208/jetty-quickstart-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jndi/9.4.0.v20161208/jetty-jndi-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jmx/9.4.0.v20161208/jetty-jmx-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-plus/9.4.0.v20161208/jetty-plus-9.4.0.v20161208.jar
Progress (1): 2.1/37 kBProgress (1): 4.9/37 kBProgress (1): 7.7/37 kBProgress 
(1): 10/37 kB Progress (1): 13/37 kBProgress (1): 16/37 kBProgress (1): 19/37 
kBProgress (1): 21/37 kBProgress (1): 24/37 kBProgress (1): 27/37 kBProgress 
(1): 30/37 kBProgress (1): 32/37 kBProgress (1): 35/37 kBProgress (1): 37 kB
  Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-quickstart/9.4.0.v20161208/jetty-quickstart-9.4.0.v20161208.jar
 (37 kB at 306 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-annotations/9.4.0.v20161208/jetty-annotations-9.4.0.v20161208.jar
Progress (1): 2.1/78 kBProgress (1): 4.9/78 kBProgress (1): 7.7/78 kBProgress 
(1): 10/78 kB Progress (1): 13/78 kBProgress (1): 16/78 kBProgress (1): 19/78 
kBProgress (1): 21/78 kBProgress (1): 24/78 kBProgress (1): 27/78 kBProgress 
(1): 30/78 kBProgress (1): 32/78 kBProgress (1): 36/78 kBProgress (1): 40/78 
kBProgress (1): 44/78 kBProgress (1): 49/78 kBProgress (1): 53/78 kBProgress 
(1): 57/78 kBProgress (1): 61/78 kBProgress (1): 65/78 kBProgress (1): 69/78 
kBProgress (1): 73/78 kBProgress (1): 77/78 kBProgress (1): 78 kB   
   Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-annotations/9.4.0.v20161208/jetty-annotations-9.4.0.v20161208.jar
 (78 kB at 477 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/javax-websocket-server-impl/9.4.0.v20161208/javax-websocket-server-impl-9.4.0.v20161208.jar
Progress (1): 4.1/36 kBProgress (1): 7.6/36 kBProgress (1): 12/36 kB Progress 
(1): 16/36 kBProgress (1): 20/36 kBProgress (1): 24/36 kBProgress (1): 28/36 
kBProgress (1): 32/36 kBProgress (1): 36 kB  Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/javax-websocket-server-impl/9.4.0.v20161208/javax-websocket-server-impl-9.4.0.v20161208.jar
 (36 kB at 155 kB/s)
Downloading: 

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

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2184: IS_NULL and NOT_NULL operator support

--
[...truncated 504.08 KB...]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at 
org.apache.atlas.web.service.SecureEmbeddedServerTestBase.testNoConfiguredCredentialProvider(SecureEmbeddedServerTestBase.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
at org.testng.TestRunner.privateRun(TestRunner.java:757)
at org.testng.TestRunner.run(TestRunner.java:608)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
at org.testng.TestNG.run(TestNG.java:999)
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)

Running org.apache.atlas.web.service.ActiveInstanceStateTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.558 sec - in 
org.apache.atlas.web.service.ActiveInstanceStateTest
Running org.apache.atlas.web.service.CuratorFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.901 sec - in 
org.apache.atlas.web.service.CuratorFactoryTest
Running org.apache.atlas.web.service.ServiceStateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.328 sec - in 
org.apache.atlas.web.service.ServiceStateTest
Running org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.585 sec - in 
org.apache.atlas.web.service.AtlasZookeeperSecurityPropertiesTest
Running org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.848 sec - in 
org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Running org.apache.atlas.web.TestUtils
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.414 sec - in 
org.apache.atlas.web.TestUtils
Running org.apache.atlas.web.adapters.TestEntitiesREST$3
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.407 sec - in 
org.apache.atlas.web.adapters.TestEntitiesREST$3
Running org.apache.atlas.web.adapters.TestEntityREST$3
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.408 sec - in 
org.apache.atlas.web.adapters.TestEntityREST$3
Running org.apache.atlas.web.adapters.TestEntityREST$5
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.45 sec - in 
org.apache.atlas.web.adapters.TestEntityREST$5
Running org.apache.atlas.web.adapters.TestEntityREST$7
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.504 sec - in 
org.apache.atlas.web.adapters.TestEntityREST$7
Running org.apache.atlas.web.adapters.TestEntityREST$1
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec - in 
org.apache.atlas.web.adapters.TestEntityREST$1
Running org.apache.atlas.web.adapters.TestEntitiesREST
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.434 sec - in 
org.apache.atlas.web.adapters.TestEntitiesREST

Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support

2017-09-29 Thread Apoorv Naik

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

(Updated Sept. 30, 2017, 1:19 a.m.)


Review request for atlas and Madhan Neethiraj.


Changes
---

1. Added null checks for handling null attrVal in POST request
2. Added missing constructs for case when complete gremlin query is used to 
search


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


Repository: atlas


Description
---

Search parameters in basic search now include is_null, not_null operators which 
can prove useful in scenarios where user is interested in checking the 
presence/absence of certain entity attributes


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java 
a7a71b78 
  repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 
b380e1e4 
  
repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java 
33f9b7ab 
  repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 
a6025293 
  repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
18d77ee7 


Diff: https://reviews.apache.org/r/62679/diff/6/

Changes: https://reviews.apache.org/r/62679/diff/5-6/


Testing
---

Tested using various combinations of attributes and IS_NULL/NOT_NULL operator 
via REST client/ curl


Thanks,

Apoorv Naik



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

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2184: IS_NULL and NOT_NULL operator support

--
[...truncated 489.27 KB...]
Progress (3): 159 kB | 34 kB | 36/42 kB   
Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-server/9.4.0.v20161208/websocket-server-9.4.0.v20161208.jar
 (34 kB at 206 kB/s)
Progress (2): 159 kB | 40/42 kB   Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.jar
Progress (2): 159 kB | 42 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/javax-websocket-client-impl/9.4.0.v20161208/javax-websocket-client-impl-9.4.0.v20161208.jar
 (159 kB at 965 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.jar
Progress (2): 42 kB | 2.1/31 kBProgress (2): 42 kB | 4.9/31 kBProgress (2): 42 
kB | 7.7/31 kB   Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.jar
 (42 kB at 247 kB/s)
Progress (1): 10/31 kB  Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-schemas/3.1/jetty-schemas-3.1.jar
Progress (1): 13/31 kBProgress (1): 16/31 kBProgress (2): 16/31 kB | 4.1/11 
kBProgress (2): 19/31 kB | 4.1/11 kBProgress (2): 19/31 kB | 7.6/11 kBProgress 
(2): 21/31 kB | 7.6/11 kBProgress (2): 21/31 kB | 11 kBProgress (2): 24/31 
kB | 11 kBProgress (2): 27/31 kB | 11 kBProgress (2): 30/31 kB | 11 kBProgress 
(2): 31 kB | 11 kB   Progress (3): 31 kB | 11 kB | 4.1/22 kBProgress (3): 31 kB 
| 11 kB | 7.6/22 kBProgress (3): 31 kB | 11 kB | 12/22 kB Progress (3): 31 kB | 
11 kB | 16/22 kBProgress (4): 31 kB | 11 kB | 16/22 kB | 4.1/265 kBProgress 
(4): 31 kB | 11 kB | 20/22 kB | 4.1/265 kBProgress (4): 31 kB | 11 kB | 20/22 
kB | 7.6/265 kBProgress (4): 31 kB | 11 kB | 22 kB | 7.6/265 kB   Progress (4): 
31 kB | 11 kB | 22 kB | 12/265 kB Progress (4): 31 kB | 11 kB | 22 kB | 16/265 
kBProgress (5): 31 kB | 11 kB | 22 kB | 16/265 kB | 2.1/189 kBProgress (5): 31 
kB | 11 kB | 22 kB | 20/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB 
| 24/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 28/265 kB | 
2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 32/265 kB | 2.1/189 kBProgress 
(5): 31 kB | 11 kB | 22 kB | 36/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB 
| 22 kB | 40/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 44/265 kB 
| 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 49/265 kB | 2.1/189 
kBProgress (5): 31 kB | 11 kB | 22 kB | 53/265 kB | 2.1/189 kBProgress (5): 31 
kB | 11 kB | 22 kB | 57/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB 
| 61/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 65/265 kB | 
2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 69/265 kB | 2.1/189 kBProgress 
(5): 31 kB | 11 kB | 22 kB | 73/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB 
| 22 kB | 77/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 81/265 kB 
| 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 85/265 kB | 2.1/189 
kBProgress (5): 31 kB | 11 kB | 22 kB | 89/265 kB | 2.1/189 kBProgress (5): 31 
kB | 11 kB | 22 kB | 94/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB 
| 98/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 102/265 kB | 
2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 106/265 kB | 2.1/189 kBProgress 
(5): 31 kB | 11 kB | 22 kB | 110/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB 
| 22 kB | 114/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 118/265 
kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 122/265 kB | 2.1/189 
kBProgress (5): 31 kB | 11 kB | 22 kB | 126/265 kB | 2.1/189 kBProgress (5): 31 
kB | 11 kB | 22 kB | 130/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB 
| 135/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 139/265 kB | 
2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 143/265 kB | 2.1/189 kBProgress 
(5): 31 kB | 11 kB | 22 kB | 147/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB 
| 22 kB | 151/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 155/265 
kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 159/265 kB | 2.1/189 
kBProgress (5): 31 kB | 11 kB | 22 kB | 163/265 kB | 2.1/189 kBProgress (5): 31 
kB | 11 kB | 22 kB | 167/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB 
| 171/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 176/265 kB | 
2.1/189 kBProgress (5): 31 kB | 11 kB | 22 kB | 180/265 kB | 2.1/189 kBProgress 
(5): 31 kB | 11 kB | 22 kB | 184/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB 
| 22 kB | 188/265 kB | 2.1/189 kBProgress (5): 31 kB | 11 kB | 22 

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

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2184: IS_NULL and NOT_NULL operator support

--
[...truncated 288.97 KB...]
Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1Test
Running org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.util.CompiledQueryCacheKeyTest
Running org.apache.atlas.discovery.DataSetLineageServiceTest
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
Running org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.664 sec - in 
org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.647 sec - in 
org.apache.atlas.util.CompiledQueryCacheKeyTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.386 sec - in 
org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.248 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.538 sec - in 
org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.19 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.36 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.79 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.034 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.029 sec - in 
org.apache.atlas.TestModules
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.732 sec - in 
org.apache.atlas.repository.impexp.AtlasImportRequestTest
Running org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.851 sec - in 
org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.graph.TestIntSequence
Running org.apache.atlas.repository.graph.GraphHelperTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.167 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.128 sec - in 
org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.155 sec - in 
org.apache.atlas.discovery.EntityDiscoveryServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.711 sec - in 
org.apache.atlas.RepositoryServiceLoadingTest
Running org.apache.atlas.repository.graph.GraphHelperMockTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.256 sec - in 
org.apache.atlas.discovery.DataSetLineageServiceTest
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.9 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.656 sec - 
in 

Build failed in Jenkins: Atlas-master-IntegrationTests #130

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2184: IS_NULL and NOT_NULL operator support

--
[...truncated 445.29 KB...]
[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-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO] 
[INFO] <<< jetty-maven-plugin:9.4.0.v20161208:deploy-war (start-jetty) < 
validate @ atlas-webapp <<<
[INFO] 
[INFO] 
[INFO] --- jetty-maven-plugin:9.4.0.v20161208:deploy-war (start-jetty) @ 
atlas-webapp ---
[WARNING] Error injecting: org.eclipse.jetty.maven.plugin.JettyDeployWar
java.lang.TypeNotPresentException: Type 
org.eclipse.jetty.maven.plugin.JettyDeployWar not present
at 
org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:147)
at org.eclipse.sisu.space.NamedClass.load(NamedClass.java:46)
at 
org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at 
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
at 
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
at 
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
at 
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at 
com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
at 
org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:519)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 

Build failed in Jenkins: Atlas-master-NoTests #105

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2184: IS_NULL and NOT_NULL operator support

--
[...truncated 293.82 KB...]
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.pom
Progress (1): 2.2/2.2 kBProgress (1): 2.2 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.pom
 (2.2 kB at 147 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-server/9.4.0.v20161208/websocket-server-9.4.0.v20161208.pom
Progress (1): 2.2/4.1 kBProgress (1): 4.1 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-server/9.4.0.v20161208/websocket-server-9.4.0.v20161208.pom
 (4.1 kB at 255 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.pom
Progress (1): 2.2/2.4 kBProgress (1): 2.4 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.pom
 (2.4 kB at 168 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.pom
Progress (1): 2.8/4.1 kBProgress (1): 4.1 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.pom
 (4.1 kB at 290 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-schemas/3.1/jetty-schemas-3.1.pom
Progress (1): 2.2/3.2 kBProgress (1): 3.2 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-schemas/3.1/jetty-schemas-3.1.pom
 (3.2 kB at 232 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.5.5/apache-jsp-8.5.5.pom
Progress (1): 2.1/16 kBProgress (1): 4.9/16 kBProgress (1): 7.7/16 kBProgress 
(1): 10/16 kB Progress (1): 13/16 kBProgress (1): 16/16 kBProgress (1): 16 kB   
   Downloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.5.5/apache-jsp-8.5.5.pom
 (16 kB at 592 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/jasper-jsp/8.5.5/jasper-jsp-8.5.5.pom
Progress (1): 2.2/3.5 kBProgress (1): 3.5 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/jasper-jsp/8.5.5/jasper-jsp-8.5.5.pom
 (3.5 kB at 232 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.pom
Progress (1): 2.2/7.4 kBProgress (1): 4.9/7.4 kBProgress (1): 7.4 kB
Downloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.pom
 (7.4 kB at 494 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jstl/9.4.0.v20161208/apache-jstl-9.4.0.v20161208.pom
Progress (1): 2.2/2.3 kBProgress (1): 2.3 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jstl/9.4.0.v20161208/apache-jstl-9.4.0.v20161208.pom
 (2.3 kB at 164 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-quickstart/9.4.0.v20161208/jetty-quickstart-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jaas/9.4.0.v20161208/jetty-jaas-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-plus/9.4.0.v20161208/jetty-plus-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jndi/9.4.0.v20161208/jetty-jndi-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jmx/9.4.0.v20161208/jetty-jmx-9.4.0.v20161208.jar
Progress (1): 2.1/37 kBProgress (1): 4.9/37 kBProgress (1): 7.7/37 kBProgress 
(1): 10/37 kB Progress (1): 13/37 kBProgress (1): 16/37 kBProgress (1): 19/37 
kBProgress (1): 21/37 kBProgress (1): 24/37 kBProgress (1): 27/37 kBProgress 
(1): 30/37 kBProgress (1): 32/37 kBProgress (1): 35/37 kBProgress (1): 37 kB
  Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-quickstart/9.4.0.v20161208/jetty-quickstart-9.4.0.v20161208.jar
 (37 kB at 1.0 MB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-annotations/9.4.0.v20161208/jetty-annotations-9.4.0.v20161208.jar
Progress (1): 2.1/78 kBProgress (1): 4.9/78 kBProgress (1): 7.7/78 kBProgress 
(1): 10/78 kB Progress (1): 13/78 kBProgress (1): 16/78 kBProgress (1): 19/78 
kBProgress (1): 21/78 kBProgress (1): 24/78 kBProgress (1): 27/78 kBProgress 
(1): 30/78 kBProgress (1): 

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

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2089: Upgrade Jetty to newer version

--
[...truncated 515.16 KB...]
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at 
org.apache.atlas.web.service.SecureEmbeddedServerTestBase.testNoConfiguredCredentialProvider(SecureEmbeddedServerTestBase.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
at org.testng.TestRunner.privateRun(TestRunner.java:757)
at org.testng.TestRunner.run(TestRunner.java:608)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
at org.testng.TestNG.run(TestNG.java:999)
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)

Running org.apache.atlas.web.service.CuratorFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.8 sec - in 
org.apache.atlas.web.service.CuratorFactoryTest
Running org.apache.atlas.web.service.ServiceStateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.249 sec - in 
org.apache.atlas.web.service.ServiceStateTest
Running org.apache.atlas.web.resources.AdminExportTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.325 sec - in 
org.apache.atlas.web.resources.AdminExportTest
Running org.apache.atlas.web.resources.EntityResourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.76 sec - in 
org.apache.atlas.web.resources.EntityResourceTest
Running org.apache.atlas.web.resources.TaxonomyServiceTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.347 sec - in 
org.apache.atlas.web.resources.TaxonomyServiceTest
Running org.apache.atlas.web.resources.AdminResourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.646 sec - in 
org.apache.atlas.web.resources.AdminResourceTest
Running org.apache.atlas.web.security.NegativeSSLAndKerberosTest
Running org.apache.atlas.web.security.FileAuthenticationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.111 sec - in 
org.apache.atlas.web.security.FileAuthenticationTest
Running org.apache.atlas.web.security.UserDaoTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.972 sec - in 
org.apache.atlas.web.security.UserDaoTest
Running org.apache.atlas.web.security.SSLAndKerberosTest
Running org.apache.atlas.web.security.SSLTest
Running org.apache.atlas.web.util.ServletsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.208 sec - in 
org.apache.atlas.web.util.ServletsTest
Running 

Build failed in Jenkins: Atlas-master-IntegrationTests #129

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2089: Upgrade Jetty to newer version

--
[...truncated 489.11 KB...]
Progress (2): 55 kB | 13/31 kB  Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-plus/9.4.0.v20161208/jetty-plus-9.4.0.v20161208.jar
 (55 kB at 143 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.jar
Progress (1): 16/31 kBProgress (2): 16/31 kB | 2.1/265 kBProgress (2): 19/31 kB 
| 2.1/265 kBProgress (2): 19/31 kB | 4.9/265 kBProgress (3): 19/31 kB | 4.9/265 
kB | 4.1/42 kBProgress (3): 19/31 kB | 4.9/265 kB | 7.6/42 kBProgress (3): 
19/31 kB | 4.9/265 kB | 12/42 kB Progress (3): 19/31 kB | 4.9/265 kB | 16/42 
kBProgress (3): 21/31 kB | 4.9/265 kB | 16/42 kBProgress (3): 21/31 kB | 
7.6/265 kB | 16/42 kBProgress (3): 24/31 kB | 7.6/265 kB | 16/42 kBProgress 
(3): 24/31 kB | 10/265 kB | 16/42 kB Progress (3): 24/31 kB | 13/265 kB | 16/42 
kBProgress (3): 27/31 kB | 13/265 kB | 16/42 kBProgress (3): 27/31 kB | 16/265 
kB | 16/42 kBProgress (3): 30/31 kB | 16/265 kB | 16/42 kBProgress (3): 31 kB | 
16/265 kB | 16/42 kB   Progress (4): 31 kB | 16/265 kB | 16/42 kB | 4.1/22 
kBProgress (4): 31 kB | 16/265 kB | 16/42 kB | 7.6/22 kBProgress (4): 31 kB | 
16/265 kB | 16/42 kB | 12/22 kB Progress (4): 31 kB | 16/265 kB | 20/42 kB | 
12/22 kBProgress (4): 31 kB | 16/265 kB | 20/42 kB | 16/22 kBProgress (4): 31 
kB | 16/265 kB | 20/42 kB | 20/22 kBProgress (4): 31 kB | 16/265 kB | 20/42 kB 
| 22 kB   Progress (4): 31 kB | 19/265 kB | 20/42 kB | 22 kBProgress (4): 31 kB 
| 19/265 kB | 24/42 kB | 22 kBProgress (4): 31 kB | 21/265 kB | 24/42 kB | 22 
kBProgress (4): 31 kB | 21/265 kB | 28/42 kB | 22 kBProgress (4): 31 kB | 
24/265 kB | 28/42 kB | 22 kBProgress (4): 31 kB | 24/265 kB | 32/42 kB | 22 
kBProgress (4): 31 kB | 27/265 kB | 32/42 kB | 22 kBProgress (4): 31 kB | 
27/265 kB | 36/42 kB | 22 kBProgress (4): 31 kB | 30/265 kB | 36/42 kB | 22 
kBProgress (4): 31 kB | 30/265 kB | 40/42 kB | 22 kBProgress (4): 31 kB | 
32/265 kB | 40/42 kB | 22 kBProgress (4): 31 kB | 32/265 kB | 42 kB | 22 kB 
 Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.jar
 (22 kB at 61 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-schemas/3.1/jetty-schemas-3.1.jar
Progress (4): 31 kB | 32/265 kB | 42 kB | 2.1/11 kBProgress (4): 31 kB | 32/265 
kB | 42 kB | 4.9/11 kBProgress (4): 31 kB | 32/265 kB | 42 kB | 6.2/11 
kBProgress (4): 31 kB | 32/265 kB | 42 kB | 9.0/11 kBProgress (4): 31 kB | 
32/265 kB | 42 kB | 11 kBProgress (4): 31 kB | 36/265 kB | 42 kB | 11 
kBProgress (4): 31 kB | 40/265 kB | 42 kB | 11 kB   
Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-client/9.4.0.v20161208/websocket-client-9.4.0.v20161208.jar
 (31 kB at 87 kB/s)
Progress (3): 44/265 kB | 42 kB | 11 kB   
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.5.5/apache-jsp-8.5.5.jar
Progress (3): 49/265 kB | 42 kB | 11 kB   
Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.jar
 (42 kB at 116 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.jar
Progress (2): 53/265 kB | 11 kBProgress (2): 57/265 kB | 11 kBProgress (2): 
61/265 kB | 11 kBProgress (2): 65/265 kB | 11 kBProgress (2): 69/265 kB | 11 
kBProgress (2): 73/265 kB | 11 kBProgress (2): 77/265 kB | 11 kBProgress (2): 
81/265 kB | 11 kB   Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.jar
 (11 kB at 30 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.4.2/ecj-4.4.2.jar
Progress (2): 81/265 kB | 2.1/243 kBProgress (2): 81/265 kB | 4.9/243 
kBProgress (2): 81/265 kB | 7.7/243 kBProgress (2): 81/265 kB | 10/243 kB 
Progress (2): 81/265 kB | 13/243 kBProgress (3): 81/265 kB | 13/243 kB | 0/2.3 
MBProgress (4): 81/265 kB | 13/243 kB | 0/2.3 MB | 4.1/973 kBProgress (4): 
81/265 kB | 13/243 kB | 0/2.3 MB | 4.1/973 kBProgress (4): 81/265 kB | 13/243 
kB | 0/2.3 MB | 7.6/973 kBProgress (4): 81/265 kB | 16/243 kB | 0/2.3 MB | 
7.6/973 kBProgress (4): 81/265 kB | 19/243 kB | 0/2.3 MB | 7.6/973 kBProgress 
(4): 81/265 kB | 21/243 kB | 0/2.3 MB | 7.6/973 kBProgress (4): 81/265 kB | 
24/243 kB | 0/2.3 MB | 7.6/973 kBProgress (4): 81/265 kB | 27/243 kB | 0/2.3 MB 
| 7.6/973 kBProgress (4): 81/265 kB 

Re: Review Request 62681: ATLAS-2075: notification enhancement to handle large messages, using compression and multi-part messages

2017-09-29 Thread Abhay Kulkarni

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




notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
Lines 192 (patched)


Please base64 encode msgBytes if maxLengthExceedsLimit is true.


- Abhay Kulkarni


On Sept. 29, 2017, 10:32 p.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62681/
> ---
> 
> (Updated Sept. 29, 2017, 10:32 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Abhay Kulkarni, 
> Sarath Subramanian, and Suma Shivaprasad.
> 
> 
> Bugs: ATLAS-2075
> https://issues.apache.org/jira/browse/ATLAS-2075
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Update notification module to compress and split large messages (> 1mb) that 
> can't be sent via Kafka. When such a message is sent, the message is first 
> compressed via GZip. If compressed message is within the size limit, the 
> message is sent via Kafka. If the compressed size is larger, then the message 
> is split into multiple small messages and sent via Kafka.
> 
> Notification consumer is updated to merge and uncompress messages before the 
> message is processed further.
> 
> 
> Diffs
> -
> 
>   common/src/main/java/org/apache/atlas/AtlasConfiguration.java 9a9bb76a 
>   notification/src/main/java/org/apache/atlas/kafka/AtlasKafkaConsumer.java 
> d3b4e49e 
>   notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 
> 38889ef8 
>   
> notification/src/main/java/org/apache/atlas/notification/AbstractMessageDeserializer.java
>  ec99372d 
>   
> notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
>  cb44fc68 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationBaseMessage.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationMessageDeserializer.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationStringMessage.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/MessageVersion.java 
> 6ef407ac 
>   
> notification/src/main/java/org/apache/atlas/notification/NotificationInterface.java
>  956c85e0 
>   
> notification/src/main/java/org/apache/atlas/notification/VersionedMessage.java
>  1929eb46 
>   
> notification/src/main/java/org/apache/atlas/notification/VersionedMessageDeserializer.java
>  cc2099e7 
>   notification/src/test/java/org/apache/atlas/kafka/KafkaConsumerTest.java 
> 9b712f44 
>   
> notification/src/test/java/org/apache/atlas/kafka/KafkaNotificationMockTest.java
>  b7474a0e 
>   
> notification/src/test/java/org/apache/atlas/notification/AbstractNotificationConsumerTest.java
>  3b2a093b 
>   
> notification/src/test/java/org/apache/atlas/notification/AbstractNotificationTest.java
>  61107a9f 
>   
> notification/src/test/java/org/apache/atlas/notification/VersionedMessageTest.java
>  587b7ebd 
>   
> notification/src/test/java/org/apache/atlas/notification/entity/EntityMessageDeserializerTest.java
>  be324277 
>   
> notification/src/test/java/org/apache/atlas/notification/hook/HookMessageDeserializerTest.java
>  3724fd5f 
> 
> 
> Diff: https://reviews.apache.org/r/62681/diff/4/
> 
> 
> Testing
> ---
> 
> - verified that large messages are compressed and split by Atlas hook, before 
> sending to Kafka
> - verified that Atlas server processes compressed, multi-part messages 
> correctly
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



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

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2089: Upgrade Jetty to newer version

--
[...truncated 289.11 KB...]
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.BaseTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.BaseRepositoryTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Running org.apache.atlas.repository.graph.TestIntSequence
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.repository.impexp.ImportServiceTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.impexp.ImportTransformsTest
Running org.apache.atlas.repository.impexp.ZipSourceTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.323 sec - in 
org.apache.atlas.repository.BaseTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.435 sec - in 
org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.509 sec - in 
org.apache.atlas.BaseRepositoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.726 sec - in 
org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.98 sec - in 
org.apache.atlas.repository.impexp.ZipSinkTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.TestUtils
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.975 sec - in 
org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.642 sec - 
in org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.979 sec - in 
org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.122 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.query.LineageQueryTest
Running org.apache.atlas.query.BaseGremlinTest
Running org.apache.atlas.query.QueryProcessorTest
Running org.apache.atlas.query.GremlinTest
Running org.apache.atlas.query.LexerTest
Running org.apache.atlas.query.ParserTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.311 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.908 sec - in 
org.apache.atlas.repository.impexp.UniqueListTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.804 sec - in 
org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
Running org.apache.atlas.query.ExpressionTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.309 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.util.CompiledQueryCacheKeyTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.349 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Running org.apache.atlas.lineage.EntityLineageServiceTest
Running org.apache.atlas.discovery.DataSetLineageServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.13 sec - in 
org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time 

Re: Review Request 62681: ATLAS-2075: notification enhancement to handle large messages, using compression and multi-part messages

2017-09-29 Thread Ashutosh Mestry

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


Fix it, then Ship it!




Ship It!


notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
Lines 204 (patched)


Consider using Math.Ceil.


- Ashutosh Mestry


On Sept. 29, 2017, 10:32 p.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62681/
> ---
> 
> (Updated Sept. 29, 2017, 10:32 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Abhay Kulkarni, 
> Sarath Subramanian, and Suma Shivaprasad.
> 
> 
> Bugs: ATLAS-2075
> https://issues.apache.org/jira/browse/ATLAS-2075
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Update notification module to compress and split large messages (> 1mb) that 
> can't be sent via Kafka. When such a message is sent, the message is first 
> compressed via GZip. If compressed message is within the size limit, the 
> message is sent via Kafka. If the compressed size is larger, then the message 
> is split into multiple small messages and sent via Kafka.
> 
> Notification consumer is updated to merge and uncompress messages before the 
> message is processed further.
> 
> 
> Diffs
> -
> 
>   common/src/main/java/org/apache/atlas/AtlasConfiguration.java 9a9bb76a 
>   notification/src/main/java/org/apache/atlas/kafka/AtlasKafkaConsumer.java 
> d3b4e49e 
>   notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 
> 38889ef8 
>   
> notification/src/main/java/org/apache/atlas/notification/AbstractMessageDeserializer.java
>  ec99372d 
>   
> notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
>  cb44fc68 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationBaseMessage.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationMessageDeserializer.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationStringMessage.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/MessageVersion.java 
> 6ef407ac 
>   
> notification/src/main/java/org/apache/atlas/notification/NotificationInterface.java
>  956c85e0 
>   
> notification/src/main/java/org/apache/atlas/notification/VersionedMessage.java
>  1929eb46 
>   
> notification/src/main/java/org/apache/atlas/notification/VersionedMessageDeserializer.java
>  cc2099e7 
>   notification/src/test/java/org/apache/atlas/kafka/KafkaConsumerTest.java 
> 9b712f44 
>   
> notification/src/test/java/org/apache/atlas/kafka/KafkaNotificationMockTest.java
>  b7474a0e 
>   
> notification/src/test/java/org/apache/atlas/notification/AbstractNotificationConsumerTest.java
>  3b2a093b 
>   
> notification/src/test/java/org/apache/atlas/notification/AbstractNotificationTest.java
>  61107a9f 
>   
> notification/src/test/java/org/apache/atlas/notification/VersionedMessageTest.java
>  587b7ebd 
>   
> notification/src/test/java/org/apache/atlas/notification/entity/EntityMessageDeserializerTest.java
>  be324277 
>   
> notification/src/test/java/org/apache/atlas/notification/hook/HookMessageDeserializerTest.java
>  3724fd5f 
> 
> 
> Diff: https://reviews.apache.org/r/62681/diff/4/
> 
> 
> Testing
> ---
> 
> - verified that large messages are compressed and split by Atlas hook, before 
> sending to Kafka
> - verified that Atlas server processes compressed, multi-part messages 
> correctly
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



Build failed in Jenkins: Atlas-master-NoTests #104

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2089: Upgrade Jetty to newer version

--
[...truncated 297.03 KB...]
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.pom
Progress (1): 2.2/2.2 kBProgress (1): 2.2 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.pom
 (2.2 kB at 169 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-server/9.4.0.v20161208/websocket-server-9.4.0.v20161208.pom
Progress (1): 2.2/4.1 kBProgress (1): 4.1 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-server/9.4.0.v20161208/websocket-server-9.4.0.v20161208.pom
 (4.1 kB at 340 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.pom
Progress (1): 2.2/2.4 kBProgress (1): 2.4 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.pom
 (2.4 kB at 181 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.pom
Progress (1): 2.2/4.1 kBProgress (1): 4.1 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.pom
 (4.1 kB at 312 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-schemas/3.1/jetty-schemas-3.1.pom
Progress (1): 2.2/3.2 kBProgress (1): 3.2 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-schemas/3.1/jetty-schemas-3.1.pom
 (3.2 kB at 232 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.5.5/apache-jsp-8.5.5.pom
Progress (1): 2.1/16 kBProgress (1): 4.9/16 kBProgress (1): 7.7/16 kBProgress 
(1): 10/16 kB Progress (1): 13/16 kBProgress (1): 16/16 kBProgress (1): 16 kB   
   Downloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.5.5/apache-jsp-8.5.5.pom
 (16 kB at 799 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/jasper-jsp/8.5.5/jasper-jsp-8.5.5.pom
Progress (1): 2.2/3.5 kBProgress (1): 3.5 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/jasper-jsp/8.5.5/jasper-jsp-8.5.5.pom
 (3.5 kB at 218 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.pom
Progress (1): 2.2/7.4 kBProgress (1): 4.9/7.4 kBProgress (1): 7.4 kB
Downloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.pom
 (7.4 kB at 494 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jstl/9.4.0.v20161208/apache-jstl-9.4.0.v20161208.pom
Progress (1): 2.2/2.3 kBProgress (1): 2.3 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jstl/9.4.0.v20161208/apache-jstl-9.4.0.v20161208.pom
 (2.3 kB at 164 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-quickstart/9.4.0.v20161208/jetty-quickstart-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-plus/9.4.0.v20161208/jetty-plus-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jaas/9.4.0.v20161208/jetty-jaas-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jndi/9.4.0.v20161208/jetty-jndi-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jmx/9.4.0.v20161208/jetty-jmx-9.4.0.v20161208.jar
Progress (1): 2.1/37 kBProgress (1): 4.9/37 kBProgress (1): 7.7/37 kBProgress 
(1): 10/37 kB Progress (1): 13/37 kBProgress (1): 16/37 kBProgress (1): 19/37 
kBProgress (1): 21/37 kBProgress (1): 24/37 kBProgress (1): 27/37 kBProgress 
(1): 30/37 kBProgress (1): 32/37 kBProgress (1): 35/37 kBProgress (1): 37 kB
  Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-quickstart/9.4.0.v20161208/jetty-quickstart-9.4.0.v20161208.jar
 (37 kB at 1.2 MB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-annotations/9.4.0.v20161208/jetty-annotations-9.4.0.v20161208.jar
Progress (1): 2.1/78 kBProgress (1): 4.9/78 kBProgress (1): 7.7/78 kBProgress 
(1): 10/78 kB Progress (1): 13/78 kBProgress (1): 16/78 kBProgress (1): 19/78 
kBProgress (1): 21/78 kBProgress (1): 24/78 kBProgress (1): 27/78 kBProgress 
(1): 30/78 kBProgress (1): 32/78 

Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support

2017-09-29 Thread Apoorv Naik

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

(Updated Sept. 29, 2017, 11:20 p.m.)


Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

Search parameters in basic search now include is_null, not_null operators which 
can prove useful in scenarios where user is interested in checking the 
presence/absence of certain entity attributes


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java 
a7a71b78 
  repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 
b380e1e4 
  repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
18d77ee7 


Diff: https://reviews.apache.org/r/62679/diff/5/

Changes: https://reviews.apache.org/r/62679/diff/4-5/


Testing
---

Tested using various combinations of attributes and IS_NULL/NOT_NULL operator 
via REST client/ curl


Thanks,

Apoorv Naik



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

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2089: Upgrade Jetty to newer version

--
[...truncated 487.74 KB...]
Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.jar
 (42 kB at 435 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.jar
Progress (1): 2.1/22 kBProgress (1): 4.9/22 kBProgress (1): 7.7/22 kBProgress 
(1): 10/22 kB Progress (1): 13/22 kBProgress (1): 16/22 kBProgress (1): 19/22 
kBProgress (1): 21/22 kBProgress (1): 22 kB   Progress (2): 22 kB | 4.1/11 
kBProgress (3): 22 kB | 4.1/11 kB | 4.1/265 kBProgress (3): 22 kB | 7.6/11 kB | 
4.1/265 kBProgress (3): 22 kB | 7.6/11 kB | 7.6/265 kBProgress (3): 22 kB | 11 
kB | 7.6/265 kBProgress (3): 22 kB | 11 kB | 12/265 kB Progress (3): 22 kB 
| 11 kB | 16/265 kBProgress (3): 22 kB | 11 kB | 20/265 kBProgress (3): 22 kB | 
11 kB | 24/265 kBProgress (3): 22 kB | 11 kB | 28/265 kBProgress (3): 22 kB | 
11 kB | 32/265 kBProgress (3): 22 kB | 11 kB | 36/265 kBProgress (3): 22 kB | 
11 kB | 40/265 kBProgress (3): 22 kB | 11 kB | 44/265 kBProgress (3): 22 kB | 
11 kB | 49/265 kBProgress (3): 22 kB | 11 kB | 53/265 kBProgress (3): 22 kB | 
11 kB | 57/265 kBProgress (3): 22 kB | 11 kB | 61/265 kBProgress (3): 22 kB | 
11 kB | 65/265 kB   Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.jar
 (22 kB at 198 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/toolchain/jetty-schemas/3.1/jetty-schemas-3.1.jar
Progress (2): 11 kB | 69/265 kBProgress (2): 11 kB | 73/265 kBProgress (2): 11 
kB | 77/265 kBProgress (2): 11 kB | 81/265 kBProgress (2): 11 kB | 85/265 kB
   Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.jar
 (11 kB at 99 kB/s)
Progress (1): 89/265 kB   Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.5.5/apache-jsp-8.5.5.jar
Progress (1): 94/265 kBProgress (1): 98/265 kBProgress (1): 102/265 kBProgress 
(1): 106/265 kBProgress (1): 110/265 kBProgress (1): 114/265 kBProgress (1): 
118/265 kBProgress (1): 122/265 kBProgress (1): 126/265 kBProgress (1): 130/265 
kBProgress (1): 135/265 kBProgress (1): 139/265 kBProgress (1): 143/265 
kBProgress (2): 143/265 kB | 2.1/189 kBProgress (2): 147/265 kB | 2.1/189 
kBProgress (2): 147/265 kB | 4.9/189 kBProgress (2): 147/265 kB | 7.7/189 
kBProgress (2): 151/265 kB | 7.7/189 kBProgress (2): 151/265 kB | 10/189 kB 
Progress (2): 155/265 kB | 10/189 kBProgress (2): 155/265 kB | 13/189 
kBProgress (2): 159/265 kB | 13/189 kBProgress (2): 159/265 kB | 16/189 
kBProgress (2): 163/265 kB | 16/189 kBProgress (2): 163/265 kB | 19/189 
kBProgress (2): 163/265 kB | 21/189 kBProgress (2): 163/265 kB | 24/189 
kBProgress (2): 167/265 kB | 24/189 kBProgress (2): 167/265 kB | 27/189 
kBProgress (2): 171/265 kB | 27/189 kBProgress (2): 171/265 kB | 30/189 
kBProgress (2): 176/265 kB | 30/189 kBProgress (2): 176/265 kB | 32/189 
kBProgress (2): 180/265 kB | 32/189 kBProgress (2): 180/265 kB | 36/189 
kBProgress (2): 180/265 kB | 40/189 kBProgress (2): 180/265 kB | 44/189 
kBProgress (2): 184/265 kB | 44/189 kBProgress (2): 184/265 kB | 49/189 
kBProgress (2): 188/265 kB | 49/189 kBProgress (2): 192/265 kB | 49/189 
kBProgress (2): 196/265 kB | 49/189 kBProgress (2): 196/265 kB | 53/189 
kBProgress (2): 200/265 kB | 53/189 kBProgress (2): 200/265 kB | 57/189 
kBProgress (2): 204/265 kB | 57/189 kBProgress (2): 204/265 kB | 61/189 
kBProgress (2): 208/265 kB | 61/189 kBProgress (2): 208/265 kB | 65/189 
kBProgress (2): 212/265 kB | 65/189 kBProgress (2): 212/265 kB | 69/189 
kBProgress (2): 212/265 kB | 73/189 kBProgress (2): 216/265 kB | 73/189 
kBProgress (2): 216/265 kB | 77/189 kBProgress (2): 221/265 kB | 77/189 
kBProgress (2): 221/265 kB | 81/189 kBProgress (2): 225/265 kB | 81/189 
kBProgress (2): 229/265 kB | 81/189 kBProgress (2): 229/265 kB | 85/189 
kBProgress (2): 233/265 kB | 85/189 kBProgress (2): 233/265 kB | 89/189 
kBProgress (2): 237/265 kB | 89/189 kBProgress (2): 237/265 kB | 94/189 
kBProgress (2): 241/265 kB | 94/189 kBProgress (2): 241/265 kB | 98/189 
kBProgress (2): 245/265 kB | 98/189 kBProgress (2): 249/265 kB | 98/189 
kBProgress (2): 249/265 kB | 102/189 kBProgress (2): 253/265 kB | 102/189 
kBProgress (2): 253/265 kB | 106/189 kBProgress (2): 257/265 kB | 106/189 
kBProgress (2): 257/265 kB | 110/189 kBProgress (2): 262/265 kB | 110/189 
kBProgress (2): 262/265 kB | 114/189 kBProgress (2): 265 kB | 114/189 kB
Progress (2): 265 kB | 118/189 kBProgress (2): 265 kB | 122/189 kBProgress (2): 
265 kB | 

Build failed in Jenkins: Atlas-0.8-NoTests #85

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2089: Upgrade Jetty to newer version

--
[...truncated 296.01 KB...]
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-client/9.4.0.v20161208/jetty-client-9.4.0.v20161208.pom
Progress (1): 2.2/4.4 kBProgress (1): 4.4 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-client/9.4.0.v20161208/jetty-client-9.4.0.v20161208.pom
 (4.4 kB at 274 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-common/9.4.0.v20161208/websocket-common-9.4.0.v20161208.pom
Progress (1): 2.2/2.6 kBProgress (1): 2.6 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-common/9.4.0.v20161208/websocket-common-9.4.0.v20161208.pom
 (2.6 kB at 174 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.pom
Progress (1): 2.2/2.2 kBProgress (1): 2.2 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-api/9.4.0.v20161208/websocket-api-9.4.0.v20161208.pom
 (2.2 kB at 137 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-server/9.4.0.v20161208/websocket-server-9.4.0.v20161208.pom
Progress (1): 2.2/4.1 kBProgress (1): 4.1 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-server/9.4.0.v20161208/websocket-server-9.4.0.v20161208.pom
 (4.1 kB at 136 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.pom
Progress (1): 2.2/2.4 kBProgress (1): 2.4 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/websocket/websocket-servlet/9.4.0.v20161208/websocket-servlet-9.4.0.v20161208.pom
 (2.4 kB at 76 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.pom
Progress (1): 2.2/4.1 kBProgress (1): 4.1 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jsp/9.4.0.v20161208/apache-jsp-9.4.0.v20161208.pom
 (4.1 kB at 239 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.5.5/apache-jsp-8.5.5.pom
Progress (1): 2.1/16 kBProgress (1): 4.9/16 kBProgress (1): 7.7/16 kBProgress 
(1): 10/16 kB Progress (1): 13/16 kBProgress (1): 16/16 kBProgress (1): 16 kB   
   Downloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.5.5/apache-jsp-8.5.5.pom
 (16 kB at 348 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/jasper-jsp/8.5.5/jasper-jsp-8.5.5.pom
Progress (1): 2.2/3.5 kBProgress (1): 3.5 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/jasper-jsp/8.5.5/jasper-jsp-8.5.5.pom
 (3.5 kB at 232 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.pom
Progress (1): 2.2/7.4 kBProgress (1): 4.9/7.4 kBProgress (1): 7.4 kB
Downloaded: 
https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-el/8.5.5/apache-el-8.5.5.pom
 (7.4 kB at 265 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jstl/9.4.0.v20161208/apache-jstl-9.4.0.v20161208.pom
Progress (1): 2.2/2.3 kBProgress (1): 2.3 kBDownloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/apache-jstl/9.4.0.v20161208/apache-jstl-9.4.0.v20161208.pom
 (2.3 kB at 153 kB/s)
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-quickstart/9.4.0.v20161208/jetty-quickstart-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jaas/9.4.0.v20161208/jetty-jaas-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-plus/9.4.0.v20161208/jetty-plus-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jndi/9.4.0.v20161208/jetty-jndi-9.4.0.v20161208.jar
Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-jmx/9.4.0.v20161208/jetty-jmx-9.4.0.v20161208.jar
Progress (1): 2.1/37 kBProgress (1): 4.9/37 kBProgress (1): 7.7/37 kBProgress 
(1): 10/37 kB Progress (1): 13/37 kBProgress (1): 16/37 kBProgress (1): 19/37 
kBProgress (1): 21/37 kBProgress (1): 24/37 kBProgress (1): 27/37 kBProgress 
(1): 30/37 kBProgress (1): 32/37 kBProgress (1): 35/37 kBProgress (1): 37 kB
  Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-quickstart/9.4.0.v20161208/jetty-quickstart-9.4.0.v20161208.jar
 (37 kB at 1.2 MB/s)

[jira] [Updated] (ATLAS-2089) Upgrade Jetty version for Atlas

2017-09-29 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-2089:
--
Component/s: atlas-webui

> Upgrade Jetty version for Atlas
> ---
>
> Key: ATLAS-2089
> URL: https://issues.apache.org/jira/browse/ATLAS-2089
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0, 0.8.2
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
> Fix For: 1.0.0, 0.8.2
>
> Attachments: ATLAS-2089.patch, jetty-upgrade.patch
>
>
> Jetty version in Atlas pom.xml is ‘9.2.12.v20150709’, which is about 2 years 
> old (released date 2015-07-09). Most recent one in maven central is 
> ‘9.4.6.v20170531’. We should try this version.



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


[jira] [Updated] (ATLAS-2089) Upgrade Jetty version for Atlas

2017-09-29 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-2089:
--
Fix Version/s: 0.8.2
   1.0.0

> Upgrade Jetty version for Atlas
> ---
>
> Key: ATLAS-2089
> URL: https://issues.apache.org/jira/browse/ATLAS-2089
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 1.0.0, 0.8.2
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
> Fix For: 1.0.0, 0.8.2
>
> Attachments: ATLAS-2089.patch, jetty-upgrade.patch
>
>
> Jetty version in Atlas pom.xml is ‘9.2.12.v20150709’, which is about 2 years 
> old (released date 2015-07-09). Most recent one in maven central is 
> ‘9.4.6.v20170531’. We should try this version.



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


[jira] [Updated] (ATLAS-2089) Upgrade Jetty version for Atlas

2017-09-29 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-2089:
--
Affects Version/s: 0.8.2
   1.0.0

> Upgrade Jetty version for Atlas
> ---
>
> Key: ATLAS-2089
> URL: https://issues.apache.org/jira/browse/ATLAS-2089
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 1.0.0, 0.8.2
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
> Fix For: 1.0.0, 0.8.2
>
> Attachments: ATLAS-2089.patch, jetty-upgrade.patch
>
>
> Jetty version in Atlas pom.xml is ‘9.2.12.v20150709’, which is about 2 years 
> old (released date 2015-07-09). Most recent one in maven central is 
> ‘9.4.6.v20170531’. We should try this version.



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


Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support

2017-09-29 Thread Sarath Subramanian

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


Fix it, then Ship it!





intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java
Line 349 (original), 349 (patched)


BEGINS_WITH is specified in both line 348 and 349 -> should it be ENDS_WITH?


- Sarath Subramanian


On Sept. 29, 2017, 9:49 a.m., Apoorv Naik wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62679/
> ---
> 
> (Updated Sept. 29, 2017, 9:49 a.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-2184
> https://issues.apache.org/jira/browse/ATLAS-2184
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Search parameters in basic search now include is_null, not_null operators 
> which can prove useful in scenarios where user is interested in checking the 
> presence/absence of certain entity attributes
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java 
> a7a71b78 
>   repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 
> b380e1e4 
>   repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
> 18d77ee7 
> 
> 
> Diff: https://reviews.apache.org/r/62679/diff/4/
> 
> 
> Testing
> ---
> 
> Tested using various combinations of attributes and IS_NULL/NOT_NULL operator 
> via REST client/ curl
> 
> 
> Thanks,
> 
> Apoorv Naik
> 
>



Re: Review Request 62681: ATLAS-2075: notification enhancement to handle large messages, using compression and multi-part messages

2017-09-29 Thread Madhan Neethiraj

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

(Updated Sept. 29, 2017, 10:32 p.m.)


Review request for atlas, Apoorv Naik, Ashutosh Mestry, Abhay Kulkarni, Sarath 
Subramanian, and Suma Shivaprasad.


Changes
---

Updated for the review comments. Udpated to use utf-8 bytes length of the 
string (instead of string length) in tests for message-max-limit


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


Repository: atlas


Description
---

Update notification module to compress and split large messages (> 1mb) that 
can't be sent via Kafka. When such a message is sent, the message is first 
compressed via GZip. If compressed message is within the size limit, the 
message is sent via Kafka. If the compressed size is larger, then the message 
is split into multiple small messages and sent via Kafka.

Notification consumer is updated to merge and uncompress messages before the 
message is processed further.


Diffs (updated)
-

  common/src/main/java/org/apache/atlas/AtlasConfiguration.java 9a9bb76a 
  notification/src/main/java/org/apache/atlas/kafka/AtlasKafkaConsumer.java 
d3b4e49e 
  notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 
38889ef8 
  
notification/src/main/java/org/apache/atlas/notification/AbstractMessageDeserializer.java
 ec99372d 
  
notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
 cb44fc68 
  
notification/src/main/java/org/apache/atlas/notification/AtlasNotificationBaseMessage.java
 PRE-CREATION 
  
notification/src/main/java/org/apache/atlas/notification/AtlasNotificationMessageDeserializer.java
 PRE-CREATION 
  
notification/src/main/java/org/apache/atlas/notification/AtlasNotificationStringMessage.java
 PRE-CREATION 
  notification/src/main/java/org/apache/atlas/notification/MessageVersion.java 
6ef407ac 
  
notification/src/main/java/org/apache/atlas/notification/NotificationInterface.java
 956c85e0 
  
notification/src/main/java/org/apache/atlas/notification/VersionedMessage.java 
1929eb46 
  
notification/src/main/java/org/apache/atlas/notification/VersionedMessageDeserializer.java
 cc2099e7 
  notification/src/test/java/org/apache/atlas/kafka/KafkaConsumerTest.java 
9b712f44 
  
notification/src/test/java/org/apache/atlas/kafka/KafkaNotificationMockTest.java
 b7474a0e 
  
notification/src/test/java/org/apache/atlas/notification/AbstractNotificationConsumerTest.java
 3b2a093b 
  
notification/src/test/java/org/apache/atlas/notification/AbstractNotificationTest.java
 61107a9f 
  
notification/src/test/java/org/apache/atlas/notification/VersionedMessageTest.java
 587b7ebd 
  
notification/src/test/java/org/apache/atlas/notification/entity/EntityMessageDeserializerTest.java
 be324277 
  
notification/src/test/java/org/apache/atlas/notification/hook/HookMessageDeserializerTest.java
 3724fd5f 


Diff: https://reviews.apache.org/r/62681/diff/4/

Changes: https://reviews.apache.org/r/62681/diff/3-4/


Testing
---

- verified that large messages are compressed and split by Atlas hook, before 
sending to Kafka
- verified that Atlas server processes compressed, multi-part messages correctly


Thanks,

Madhan Neethiraj



Re: Review Request 62691: ATLAS-2089: Upgrade Jetty to Newer Version

2017-09-29 Thread Sarath Subramanian

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


Ship it!




Ship It!

- Sarath Subramanian


On Sept. 29, 2017, 9:35 a.m., Ashutosh Mestry wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62691/
> ---
> 
> (Updated Sept. 29, 2017, 9:35 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Madhan Neethiraj, Nixon Rodrigues, and 
> Vishal Suvagia.
> 
> 
> Bugs: ATLAS-2089
> https://issues.apache.org/jira/browse/ATLAS-2089
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> **Background**
> Current Jetty version has known bug that causes timeout when serving static 
> content. Please refer to [Bug 
> 472621](https://bugs.eclipse.org/bugs/show_bug.cgi?id=472621)
> 
> **Implementation**
> Jetty version has been upgraded to v9.4.x.
> Jetty-JSP needed an upgrade v9.2.x.
> 
> 
> Diffs
> -
> 
>   pom.xml f793321c 
> 
> 
> Diff: https://reviews.apache.org/r/62691/diff/1/
> 
> 
> Testing
> ---
> 
> **Testing**
> - Functional testing.
> - Verification of security features viz. SSL, non-SSL, Knox integration.
> 
> 
> Thanks,
> 
> Ashutosh Mestry
> 
>



[jira] [Updated] (ATLAS-2178) Type Inheritance in conjunction with RelationshipDef fails to set legacy attributes

2017-09-29 Thread Pierre Padovani (JIRA)

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

Pierre Padovani updated ATLAS-2178:
---
Attachment: (was: types.json)

> Type Inheritance in conjunction with RelationshipDef fails to set legacy 
> attributes
> ---
>
> Key: ATLAS-2178
> URL: https://issues.apache.org/jira/browse/ATLAS-2178
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Pierre Padovani
> Attachments: entities.json, rel1.json, rel2.json, rel3.json, 
> rel4.json, rel5.json, types.json
>
>
> If a type inherits from another that has an old style reference attribute, 
> and a new style RelationshipDef defined, creating the relationship instance 
> fails to set the legacy attributes and in some cases fails to create the 
> relationship itself.
> Steps to reproduce:
> * create a type, say my_table, that inherits from the hive_table
> * Create an instance of the new type my_table
> * Create an instance of a hive_column
> * Create the containment relationship between the two models.
> This behavior causes odd and inconsistent behavior and fully breaks lineage 
> reports for process types that inherit from the built in Process.



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


[jira] [Updated] (ATLAS-2178) Type Inheritance in conjunction with RelationshipDef fails to set legacy attributes

2017-09-29 Thread Pierre Padovani (JIRA)

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

Pierre Padovani updated ATLAS-2178:
---
Attachment: types.json

Updated types.json with fixes to inconsistent and missing RelationshipDefs.

This does not change the overall behavior of relationships not being properly 
created.

> Type Inheritance in conjunction with RelationshipDef fails to set legacy 
> attributes
> ---
>
> Key: ATLAS-2178
> URL: https://issues.apache.org/jira/browse/ATLAS-2178
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Pierre Padovani
> Attachments: entities.json, rel1.json, rel2.json, rel3.json, 
> rel4.json, rel5.json, types.json
>
>
> If a type inherits from another that has an old style reference attribute, 
> and a new style RelationshipDef defined, creating the relationship instance 
> fails to set the legacy attributes and in some cases fails to create the 
> relationship itself.
> Steps to reproduce:
> * create a type, say my_table, that inherits from the hive_table
> * Create an instance of the new type my_table
> * Create an instance of a hive_column
> * Create the containment relationship between the two models.
> This behavior causes odd and inconsistent behavior and fully breaks lineage 
> reports for process types that inherit from the built in Process.



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


[jira] [Comment Edited] (ATLAS-2178) Type Inheritance in conjunction with RelationshipDef fails to set legacy attributes

2017-09-29 Thread Pierre Padovani (JIRA)

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

Pierre Padovani edited comment on ATLAS-2178 at 9/29/17 9:00 PM:
-

Update: If I set the property 'atlas.ui.editable.entity.types=*' to allow for 
custom types to be created from the UI, and create two entities (one on each 
side of the CustomerOwned defined relationship type) I can properly define the 
relationship on each side, and the data is set correctly.

I would assume that this is due to the UI using the V1 API rather than making a 
call to the V2 Relationship API. That being said, my assumption was that if I 
set the legacy flag on the RelationshipDef the attributes that correspond to 
the field names in each end would be set correctly when the relationship 
instance was created. Tracing through the code during a create relationship 
call via the REST api, I see nothing that honors the legacy flag. (unless it is 
happening under the covers in the titan code.)


was (Author: ppadovani):
Update: If I set the property 'atlas.ui.editable.entity.types=*' to allow for 
custom types to be created from the UI, and create two entities (one on each 
side of the CustomerOwned defined relationship type) I can properly define the 
relationship on each side, and the data is set correctly.


{code:java}
{
  "enumDefs": [],
  "structDefs": [
{
  "name": "FingerprintSpecification",
  "typeVersion": "0.1",
  "attributeDefs": [
{
  "name": "tablesWithMetadataGlobs",
  "typeName": "array",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": true,
  "isUnique": false
},
{
  "name": "tablesListGlobs",
  "typeName": "array",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": true,
  "isUnique": false
}
  ]
},
{
  "name": "PfKeyDefinition",
  "typeVersion": "0.1",
  "attributeDefs": [
{
  "name": "tableName",
  "typeName": "string",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": true,
  "isUnique": false
},
{
  "name": "columns",
  "typeName": "array",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": true,
  "isUnique": false
}
  ]
},
{
  "name": "ComparisonFilter",
  "typeVersion": "0.1",
  "attributeDefs": [
{
  "name": "compareColumnNullability",
  "typeName": "boolean",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": "compareColumnRemarks",
  "typeName": "boolean",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": "compareColumnType",
  "typeName": "boolean",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": "compareColumnSize",
  "typeName": "boolean",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": "comparePrimaryKey",
  "typeName": "boolean",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": "compareTableRemarks",
  "typeName": "boolean",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": "compareRelationships",
  "typeName": "boolean",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
}
  ]
},
{
  "name": "ScoreSpecification",
  "typeVersion": "0.1",
  "attributeDefs": [
{
  "name": "missingPrimaryKeys",
  "typeName": "float",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": "changedColumnTypes",
  "typeName": "float",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": "changedNullability",
  "typeName": "float",
  "cardinality": "SINGLE",
  "isIndexable": false,
  "isOptional": false,
  "isUnique": false
},
{
  "name": 

Re: Review Request 61670: ATLAS-1880: Integration tests for the search functionality

2017-09-29 Thread Sarath Subramanian

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




webapp/src/test/java/org/apache/atlas/web/integration/BasicSearchIT.java
Lines 106 (patched)


consider consolidating individual search-parameters json files into a small 
group of related files - array of json objects.


- Sarath Subramanian


On Sept. 29, 2017, 11:46 a.m., Apoorv Naik wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61670/
> ---
> 
> (Updated Sept. 29, 2017, 11:46 a.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Sarath 
> Subramanian.
> 
> 
> Bugs: ATLAS-1954
> https://issues.apache.org/jira/browse/ATLAS-1954
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ITs for ATLAS-1880
> 
> 
> Diffs
> -
> 
>   client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java 5e1d1018 
>   client/pom.xml b065833e 
>   pom.xml f793321c 
>   
> repository/src/test/java/org/apache/atlas/discovery/EntityDiscoveryServiceTest.java
>  91d163ca 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ZipFileResourceTestUtils.java
>  cc1d2b3d 
>   repository/src/test/java/org/apache/atlas/utils/TestResourceFileUtils.java 
> PRE-CREATION 
>   webapp/src/test/java/org/apache/atlas/web/integration/BasicSearchIT.java 
> PRE-CREATION 
>   webapp/src/test/resources/DefaultDB-3-New.zip PRE-CREATION 
>   webapp/src/test/resources/hive-db-50-tables.zip PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/combination/filter/hdfs_path-fooTag-queryText.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/combination/hdfs_path-fooTag-queryText.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/combination/hdfs_path-fooTag.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/combination/hive_column-col104.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/combination/hive_table-fooTag.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/combination/specialChars.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/boolean/hive_table/eq.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/boolean/hive_table/neq.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/eq.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/gt.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/gte.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/lt.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/lte.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/neq.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/eq.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/gt.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/gte.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/lt.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/lte.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/neq.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/hive_table.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/eq.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/gt.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/gte.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/lt.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/lte.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/neq.json
>  PRE-CREATION 
>   
> webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/eq.json
>  PRE-CREATION 
>   
> 

Re: Review Request 61670: ATLAS-1880: Integration tests for the search functionality

2017-09-29 Thread Apoorv Naik

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

(Updated Sept. 29, 2017, 6:46 p.m.)


Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Sarath 
Subramanian.


Changes
---

Reverted some changes made to Import and Zip utils.


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


Repository: atlas


Description
---

ITs for ATLAS-1880


Diffs (updated)
-

  client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java 5e1d1018 
  client/pom.xml b065833e 
  pom.xml f793321c 
  
repository/src/test/java/org/apache/atlas/discovery/EntityDiscoveryServiceTest.java
 91d163ca 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ZipFileResourceTestUtils.java
 cc1d2b3d 
  repository/src/test/java/org/apache/atlas/utils/TestResourceFileUtils.java 
PRE-CREATION 
  webapp/src/test/java/org/apache/atlas/web/integration/BasicSearchIT.java 
PRE-CREATION 
  webapp/src/test/resources/DefaultDB-3-New.zip PRE-CREATION 
  webapp/src/test/resources/hive-db-50-tables.zip PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/filter/hdfs_path-fooTag-queryText.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/hdfs_path-fooTag-queryText.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/hdfs_path-fooTag.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/hive_column-col104.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/hive_table-fooTag.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/specialChars.json 
PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/boolean/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/boolean/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/gt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/gte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/lt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/lte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/gt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/gte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/lt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/lte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/hive_table.json 
PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/gt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/gte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/lt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/lte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/gt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/gte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/lt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/lte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/string/hive_column/contains.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/string/hive_column/endsWith.json
 PRE-CREATION 
  

Re: Review Request 61670: ATLAS-1880: Integration tests for the search functionality

2017-09-29 Thread Apoorv Naik

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

(Updated Sept. 29, 2017, 6:16 p.m.)


Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Sarath 
Subramanian.


Changes
---

Updated the client to include the import API, added search parameter JSONs 
under the webapp test resources


Summary (updated)
-

ATLAS-1880: Integration tests for the search functionality


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


Repository: atlas


Description (updated)
---

ITs for ATLAS-1880


Diffs (updated)
-

  client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java 5e1d1018 
  client/pom.xml b065833e 
  pom.xml f793321c 
  
repository/src/test/java/org/apache/atlas/discovery/EntityDiscoveryServiceTest.java
 91d163ca 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java
 b24774d6 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ZipFileResourceTestUtils.java
 cc1d2b3d 
  repository/src/test/java/org/apache/atlas/utils/TestResourceFileUtils.java 
PRE-CREATION 
  webapp/src/test/java/org/apache/atlas/web/integration/BasicSearchIT.java 
PRE-CREATION 
  webapp/src/test/resources/DefaultDB-3-New.zip PRE-CREATION 
  webapp/src/test/resources/hive-db-50-tables.zip PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/filter/hdfs_path-fooTag-queryText.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/hdfs_path-fooTag-queryText.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/hdfs_path-fooTag.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/hive_column-col104.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/hive_table-fooTag.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/combination/specialChars.json 
PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/boolean/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/boolean/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/gt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/gte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/lt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/lte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/date/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/gt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/gte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/lt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/lte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/float/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/hive_table.json 
PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/gt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/gte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/lt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/lte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/int/hive_table/neq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/eq.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/gt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/gte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/lt.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/lte.json
 PRE-CREATION 
  
webapp/src/test/resources/json/search-parameters/entity/filters/long/hive_table/neq.json
 PRE-CREATION 
  

[jira] [Commented] (ATLAS-2155) Attributes with null values are not filtered using search parameters

2017-09-29 Thread Apoorv Naik (JIRA)

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

Apoorv Naik commented on ATLAS-2155:


Closing this as "Works as designed", for doing isNull/notNull checks we've 
introduced new operators in ATLAS-2184

> Attributes with null values are not filtered using search parameters
> 
>
> Key: ATLAS-2155
> URL: https://issues.apache.org/jira/browse/ATLAS-2155
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Ayub Pathan
>Assignee: Apoorv Naik
> Attachments: 
> 0001-ATLAS-2155-Allow-null-NEQ-comparisons-for-String.patch
>
>
> For example: Below example shows attrbutes like "Description" has nullvalues
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> '{"excludeDeletedEntities":true,"entityFilters":{"condition":"AND","criterion":[{"attributeName":"owner","operator":"eq","attributeValue":"apathan"}]},"tagFilters":null,"attributes":["qualifiedName"],"query":null,"limit":25,"offset":0,"typeName":"hive_table","classification":null}'
>  --compressed | python -m json.tool
>   % Total% Received % Xferd  Average Speed   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100  11050   825  100   280  13953   4735 --:--:-- --:--:-- --:--:-- 14224
> {
> "entities": [
> {
> "attributes": {
> "createTime": 1505475604641,
> "description": null,
> "name": "h5",
> "owner": "apathan",
> "qualifiedName": "default.h5@primary"
> },
> "classificationNames": [],
> "displayText": "h5",
> "guid": "7a8955bf-7395-454f-9d67-ea3ba01529bf",
> "status": "ACTIVE",
> "typeName": "hive_table"
> },
> {
> "attributes": {
> "createTime": 1505475721717,
> "description": null,
> "name": "h7",
> "owner": "apathan",
> "qualifiedName": "default.h7@primary"
> },
> "classificationNames": [
> "abc",
> "dsfads",
> "sdf"
> ],
> "displayText": "h7",
> "guid": "82d6de4e-d808-4c88-8207-be5a58fbbb4e",
> "status": "ACTIVE",
> "typeName": "hive_table"
> }
> ],
> "queryType": "BASIC",
> "searchParameters": {
> "attributes": [
> "qualifiedName"
> ],
> "entityFilters": {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "owner",
> "attributeValue": "apathan",
> "operator": "eq"
> }
> ]
> },
> "excludeDeletedEntities": true,
> "limit": 25,
> "offset": 0,
> "typeName": "hive_table"
> }
> }
> {noformat}
> *Filtering those attributes using any operand will not take effect and it 
> will always result empty response*
> example:
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> 

Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support

2017-09-29 Thread Apoorv Naik

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

(Updated Sept. 29, 2017, 4:49 p.m.)


Review request for atlas and Madhan Neethiraj.


Changes
---

Added an optional parameter in the VertexAttributePredicate to allow 
compareValue to be called when attrVal is null. By default it is "false", only 
for isNull/notNull the comparison will be allowed against null vertex attribute 
values.


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


Repository: atlas


Description
---

Search parameters in basic search now include is_null, not_null operators which 
can prove useful in scenarios where user is interested in checking the 
presence/absence of certain entity attributes


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java 
a7a71b78 
  repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 
b380e1e4 
  repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
18d77ee7 


Diff: https://reviews.apache.org/r/62679/diff/4/

Changes: https://reviews.apache.org/r/62679/diff/3-4/


Testing
---

Tested using various combinations of attributes and IS_NULL/NOT_NULL operator 
via REST client/ curl


Thanks,

Apoorv Naik



[jira] [Commented] (ATLAS-2089) Upgrade Jetty version for Atlas

2017-09-29 Thread Ashutosh Mestry (JIRA)

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

Ashutosh Mestry commented on ATLAS-2089:


[~nixonrodrigues] I have added your patch to the review.

> Upgrade Jetty version for Atlas
> ---
>
> Key: ATLAS-2089
> URL: https://issues.apache.org/jira/browse/ATLAS-2089
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
> Attachments: ATLAS-2089.patch, jetty-upgrade.patch
>
>
> Jetty version in Atlas pom.xml is ‘9.2.12.v20150709’, which is about 2 years 
> old (released date 2015-07-09). Most recent one in maven central is 
> ‘9.4.6.v20170531’. We should try this version.



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


Review Request 62691: ATLAS-2089: Upgrade Jetty to Newer Version

2017-09-29 Thread Ashutosh Mestry

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

Review request for atlas, Apoorv Naik, Madhan Neethiraj, Nixon Rodrigues, and 
Vishal Suvagia.


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


Repository: atlas


Description
---

**Background**
Current Jetty version has known bug that causes timeout when serving static 
content. Please refer to [Bug 
472621|https://bugs.eclipse.org/bugs/show_bug.cgi?id=472621]

**Implementation**
Jetty version has been upgraded to v9.4.x.
Jetty-JSP needed an upgrade v9.2.x.


Diffs
-

  pom.xml f793321c 


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


Testing
---

**Testing**
- Functional testing.
- Verification of security features viz. SSL, non-SSL, Knox integration.


Thanks,

Ashutosh Mestry



Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support

2017-09-29 Thread Apoorv Naik

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

(Updated Sept. 29, 2017, 3:49 p.m.)


Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

Search parameters in basic search now include is_null, not_null operators which 
can prove useful in scenarios where user is interested in checking the 
presence/absence of certain entity attributes


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java 
a7a71b78 
  repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 
b380e1e4 
  repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
18d77ee7 


Diff: https://reviews.apache.org/r/62679/diff/3/

Changes: https://reviews.apache.org/r/62679/diff/2-3/


Testing
---

Tested using various combinations of attributes and IS_NULL/NOT_NULL operator 
via REST client/ curl


Thanks,

Apoorv Naik



Re: Review Request 62681: ATLAS-2075: notification enhancement to handle large messages, using compression and multi-part messages

2017-09-29 Thread Abhay Kulkarni

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




common/src/main/java/org/apache/atlas/AtlasConfiguration.java
Lines 36 (patched)


Consider if default value of this parameter can be directly referenced from 
some Kafka class.


- Abhay Kulkarni


On Sept. 29, 2017, 6:30 a.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62681/
> ---
> 
> (Updated Sept. 29, 2017, 6:30 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Abhay Kulkarni, 
> Sarath Subramanian, and Suma Shivaprasad.
> 
> 
> Bugs: ATLAS-2075
> https://issues.apache.org/jira/browse/ATLAS-2075
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Update notification module to compress and split large messages (> 1mb) that 
> can't be sent via Kafka. When such a message is sent, the message is first 
> compressed via GZip. If compressed message is within the size limit, the 
> message is sent via Kafka. If the compressed size is larger, then the message 
> is split into multiple small messages and sent via Kafka.
> 
> Notification consumer is updated to merge and uncompress messages before the 
> message is processed further.
> 
> 
> Diffs
> -
> 
>   common/src/main/java/org/apache/atlas/AtlasConfiguration.java 9a9bb76a 
>   notification/src/main/java/org/apache/atlas/kafka/AtlasKafkaConsumer.java 
> d3b4e49e 
>   notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 
> 38889ef8 
>   
> notification/src/main/java/org/apache/atlas/notification/AbstractMessageDeserializer.java
>  ec99372d 
>   
> notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
>  cb44fc68 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationBaseMessage.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationMessageDeserializer.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationStringMessage.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/MessageVersion.java 
> 6ef407ac 
>   
> notification/src/main/java/org/apache/atlas/notification/NotificationInterface.java
>  956c85e0 
>   
> notification/src/main/java/org/apache/atlas/notification/VersionedMessage.java
>  1929eb46 
>   
> notification/src/main/java/org/apache/atlas/notification/VersionedMessageDeserializer.java
>  cc2099e7 
>   notification/src/test/java/org/apache/atlas/kafka/KafkaConsumerTest.java 
> 9b712f44 
>   
> notification/src/test/java/org/apache/atlas/kafka/KafkaNotificationMockTest.java
>  b7474a0e 
>   
> notification/src/test/java/org/apache/atlas/notification/AbstractNotificationConsumerTest.java
>  3b2a093b 
>   
> notification/src/test/java/org/apache/atlas/notification/AbstractNotificationTest.java
>  61107a9f 
>   
> notification/src/test/java/org/apache/atlas/notification/VersionedMessageTest.java
>  587b7ebd 
>   
> notification/src/test/java/org/apache/atlas/notification/entity/EntityMessageDeserializerTest.java
>  be324277 
>   
> notification/src/test/java/org/apache/atlas/notification/hook/HookMessageDeserializerTest.java
>  3724fd5f 
> 
> 
> Diff: https://reviews.apache.org/r/62681/diff/3/
> 
> 
> Testing
> ---
> 
> - verified that large messages are compressed and split by Atlas hook, before 
> sending to Kafka
> - verified that Atlas server processes compressed, multi-part messages 
> correctly
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



Re: Review Request 62681: ATLAS-2075: notification enhancement to handle large messages, using compression and multi-part messages

2017-09-29 Thread Abhay Kulkarni


> On Sept. 29, 2017, 3:15 a.m., Madhan Neethiraj wrote:
> > notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
> > Lines 163 (patched)
> > 
> >
> > This call is already used in Atlas (and in Ranger as well) to generate 
> > GUIDs. Do you have suggestions/reference for a more efficient way?

Please take a look at generateNextAuditEventId() in 
https://git-wip-us.apache.org/repos/asf?p=ranger.git;a=blob;f=agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerDefaultAuditHandler.java;h=0e124f1a65da05bec6ecbbb523907bfd3d2375ab;hb=refs/heads/master


- Abhay


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


On Sept. 29, 2017, 6:30 a.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62681/
> ---
> 
> (Updated Sept. 29, 2017, 6:30 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Abhay Kulkarni, 
> Sarath Subramanian, and Suma Shivaprasad.
> 
> 
> Bugs: ATLAS-2075
> https://issues.apache.org/jira/browse/ATLAS-2075
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Update notification module to compress and split large messages (> 1mb) that 
> can't be sent via Kafka. When such a message is sent, the message is first 
> compressed via GZip. If compressed message is within the size limit, the 
> message is sent via Kafka. If the compressed size is larger, then the message 
> is split into multiple small messages and sent via Kafka.
> 
> Notification consumer is updated to merge and uncompress messages before the 
> message is processed further.
> 
> 
> Diffs
> -
> 
>   common/src/main/java/org/apache/atlas/AtlasConfiguration.java 9a9bb76a 
>   notification/src/main/java/org/apache/atlas/kafka/AtlasKafkaConsumer.java 
> d3b4e49e 
>   notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 
> 38889ef8 
>   
> notification/src/main/java/org/apache/atlas/notification/AbstractMessageDeserializer.java
>  ec99372d 
>   
> notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
>  cb44fc68 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationBaseMessage.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationMessageDeserializer.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/AtlasNotificationStringMessage.java
>  PRE-CREATION 
>   
> notification/src/main/java/org/apache/atlas/notification/MessageVersion.java 
> 6ef407ac 
>   
> notification/src/main/java/org/apache/atlas/notification/NotificationInterface.java
>  956c85e0 
>   
> notification/src/main/java/org/apache/atlas/notification/VersionedMessage.java
>  1929eb46 
>   
> notification/src/main/java/org/apache/atlas/notification/VersionedMessageDeserializer.java
>  cc2099e7 
>   notification/src/test/java/org/apache/atlas/kafka/KafkaConsumerTest.java 
> 9b712f44 
>   
> notification/src/test/java/org/apache/atlas/kafka/KafkaNotificationMockTest.java
>  b7474a0e 
>   
> notification/src/test/java/org/apache/atlas/notification/AbstractNotificationConsumerTest.java
>  3b2a093b 
>   
> notification/src/test/java/org/apache/atlas/notification/AbstractNotificationTest.java
>  61107a9f 
>   
> notification/src/test/java/org/apache/atlas/notification/VersionedMessageTest.java
>  587b7ebd 
>   
> notification/src/test/java/org/apache/atlas/notification/entity/EntityMessageDeserializerTest.java
>  be324277 
>   
> notification/src/test/java/org/apache/atlas/notification/hook/HookMessageDeserializerTest.java
>  3724fd5f 
> 
> 
> Diff: https://reviews.apache.org/r/62681/diff/3/
> 
> 
> Testing
> ---
> 
> - verified that large messages are compressed and split by Atlas hook, before 
> sending to Kafka
> - verified that Atlas server processes compressed, multi-part messages 
> correctly
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support

2017-09-29 Thread Apoorv Naik

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




repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java
Lines 558 (patched)


I think the names are really confusing here. Will update the patch with 
suggested changes and some variable name changes.


- Apoorv Naik


On Sept. 29, 2017, 2:05 p.m., Apoorv Naik wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62679/
> ---
> 
> (Updated Sept. 29, 2017, 2:05 p.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-2184
> https://issues.apache.org/jira/browse/ATLAS-2184
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Search parameters in basic search now include is_null, not_null operators 
> which can prove useful in scenarios where user is interested in checking the 
> presence/absence of certain entity attributes
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java 
> a7a71b78 
>   repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 
> b380e1e4 
>   repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
> 18d77ee7 
> 
> 
> Diff: https://reviews.apache.org/r/62679/diff/2/
> 
> 
> Testing
> ---
> 
> Tested using various combinations of attributes and IS_NULL/NOT_NULL operator 
> via REST client/ curl
> 
> 
> Thanks,
> 
> Apoorv Naik
> 
>



Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support

2017-09-29 Thread Apoorv Naik

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

(Updated Sept. 29, 2017, 2:05 p.m.)


Review request for atlas and Madhan Neethiraj.


Changes
---

Added explicit null checks on the attrVal as over-simplification led to 
incorrect logic.


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


Repository: atlas


Description
---

Search parameters in basic search now include is_null, not_null operators which 
can prove useful in scenarios where user is interested in checking the 
presence/absence of certain entity attributes


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java 
a7a71b78 
  repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 
b380e1e4 
  repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
18d77ee7 


Diff: https://reviews.apache.org/r/62679/diff/2/

Changes: https://reviews.apache.org/r/62679/diff/1-2/


Testing
---

Tested using various combinations of attributes and IS_NULL/NOT_NULL operator 
via REST client/ curl


Thanks,

Apoorv Naik



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

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2111 : UI: Select query is not able to render the search table in

[madhan] ATLAS-2182 : UI : Web elements are hidden when zoomed in

--
[...truncated 454.70 KB...]
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.examples.QuickStartV2IT.runQuickStart(QuickStartV2IT.java:49)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.examples.QuickStartV2IT.runQuickStart(QuickStartV2IT.java:49)

setUp(org.apache.atlas.notification.NotificationHookConsumerIT)  Time elapsed: 
0.19 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:55)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:55)

testGetVersion(org.apache.atlas.web.integration.AdminJerseyResourceIT)  Time 
elapsed: 0.002 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.AdminJerseyResourceIT.testGetVersion(AdminJerseyResourceIT.java:40)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.AdminJerseyResourceIT.testGetVersion(AdminJerseyResourceIT.java:40)

setUp(org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT)  Time 
elapsed: 0.224 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)

setUp(org.apache.atlas.web.integration.EntityJerseyResourceIT)  Time elapsed: 
0.227 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:87)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:87)

testDuplicateCreate(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  
Time elapsed: 0.006 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testDuplicateCreate(TypedefsJerseyResourceIT.java:112)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testDuplicateCreate(TypedefsJerseyResourceIT.java:112)

testInvalidGets(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  
Time elapsed: 0.001 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testInvalidGets(TypedefsJerseyResourceIT.java:197)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testInvalidGets(TypedefsJerseyResourceIT.java:197)

testListTypesByFilter(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)
  Time elapsed: 0.005 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testListTypesByFilter(TypedefsJerseyResourceIT.java:277)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testListTypesByFilter(TypedefsJerseyResourceIT.java:277)

testUpdate(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  Time 
elapsed: 0.001 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133)

testDuplicateSubmit(org.apache.atlas.web.integration.TypesJerseyResourceIT)  
Time elapsed: 0.003 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 

Build failed in Jenkins: Atlas-master-IntegrationTests #128

2017-09-29 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2111 : UI: Select query is not able to render the search table in

[madhan] ATLAS-2182 : UI : Web elements are hidden when zoomed in

--
[...truncated 463.86 KB...]
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.examples.QuickStartV2IT.runQuickStart(QuickStartV2IT.java:49)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.examples.QuickStartV2IT.runQuickStart(QuickStartV2IT.java:49)

setUp(org.apache.atlas.notification.NotificationHookConsumerIT)  Time elapsed: 
0.178 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:55)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:55)

testGetVersion(org.apache.atlas.web.integration.AdminJerseyResourceIT)  Time 
elapsed: 0.001 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.AdminJerseyResourceIT.testGetVersion(AdminJerseyResourceIT.java:40)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.AdminJerseyResourceIT.testGetVersion(AdminJerseyResourceIT.java:40)

setUp(org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT)  Time 
elapsed: 0.176 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)

setUp(org.apache.atlas.web.integration.EntityJerseyResourceIT)  Time elapsed: 
0.173 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:87)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:87)

testDuplicateCreate(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  
Time elapsed: 0.006 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testDuplicateCreate(TypedefsJerseyResourceIT.java:112)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testDuplicateCreate(TypedefsJerseyResourceIT.java:112)

testInvalidGets(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  
Time elapsed: 0.001 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testInvalidGets(TypedefsJerseyResourceIT.java:197)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testInvalidGets(TypedefsJerseyResourceIT.java:197)

testListTypesByFilter(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)
  Time elapsed: 0.004 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testListTypesByFilter(TypedefsJerseyResourceIT.java:277)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testListTypesByFilter(TypedefsJerseyResourceIT.java:277)

testUpdate(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  Time 
elapsed: 0.001 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133)

testDuplicateSubmit(org.apache.atlas.web.integration.TypesJerseyResourceIT)  
Time elapsed: 0.002 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 

[jira] [Commented] (ATLAS-2182) UI : Web elements are hidden when zoomed in

2017-09-29 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj commented on ATLAS-2182:
-

+1 for the patch. Thanks Keval.

> UI : Web elements are hidden when zoomed in 
> 
>
> Key: ATLAS-2182
> URL: https://issues.apache.org/jira/browse/ATLAS-2182
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
>Assignee: Keval Bhatt
> Attachments: ATLAS-2182.patch, Atlas_UI_zoomed_at_150%.png
>
>
> Opened Atlas UI on Chrome . On zooming at 150% , most of the elements on 
> Search tab are not visible.
> Attached the screenshot. At 200 % , complete left Search pane is not visible.



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


[jira] [Commented] (ATLAS-2111) UI: Select query is not able to render the search table in Advance search

2017-09-29 Thread Keval Bhatt (JIRA)

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

Keval Bhatt commented on ATLAS-2111:


Thanks [~madhan.neethiraj] for review and commit.

Master: http://git-wip-us.apache.org/repos/asf/atlas/commit/f5508315
branch-0.8: http://git-wip-us.apache.org/repos/asf/atlas/commit/1aba32ba

> UI:  Select query is not able to render the search table in Advance search
> --
>
> Key: ATLAS-2111
> URL: https://issues.apache.org/jira/browse/ATLAS-2111
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 1.0.0
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
> Fix For: 1.0.0, 0.8.2
>
> Attachments: ATLAS-2111.1-master.patch, ATLAS-2111.1.patch, 
> ATLAS-2111.patch
>
>
> Steps to reproduce.
> * Run quick_start and generate few test data.
> * Go to advance search selection
> * now search for the DB where name="Reporting" select name, owner.
> * Table will show empty even though API has data.



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


Re: Review Request 62149: ATLAS-2111 : UI: Select query is not able to render the search table in Advance search

2017-09-29 Thread Madhan Neethiraj

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


Ship it!




Ship It!

- Madhan Neethiraj


On Sept. 28, 2017, 6:03 a.m., keval bhatt wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62149/
> ---
> 
> (Updated Sept. 28, 2017, 6:03 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, 
> Nixon Rodrigues, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2111
> https://issues.apache.org/jira/browse/ATLAS-2111
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Steps to reproduce.
> 
> * Run quick_start and generate few test data.
> * Go to advance search selection
> * Now search for the DB where name="Reporting" select name, owner.
> * Table will show empty even though API has data.
> 
> 
> Diffs
> -
> 
>   dashboardv2/public/js/collection/VSearchList.js 0a7b713 
>   dashboardv2/public/js/views/search/SearchResultLayoutView.js fbcd352 
> 
> 
> Diff: https://reviews.apache.org/r/62149/diff/2/
> 
> 
> Testing
> ---
> 
> Tested DB where name="Reporting" select name, owner querys its working as 
> expected.
> 
> 
> Thanks,
> 
> keval bhatt
> 
>



Re: Review Request 62679: ATLAS-2184: IS_NULL and NOT_NULL operator support

2017-09-29 Thread Madhan Neethiraj

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




repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java
Lines 564 (patched)


Why ALWAYS_TRUE here? Shouldn't the result be true only when the attribute 
value is NULL?



repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java
Lines 591 (patched)


Why ALWAYS_TRUE here? Shouldn't the result be true only when the attribute 
value is NOT NULL?


- Madhan Neethiraj


On Sept. 29, 2017, 1:08 a.m., Apoorv Naik wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62679/
> ---
> 
> (Updated Sept. 29, 2017, 1:08 a.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-2184
> https://issues.apache.org/jira/browse/ATLAS-2184
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Search parameters in basic search now include is_null, not_null operators 
> which can prove useful in scenarios where user is interested in checking the 
> presence/absence of certain entity attributes
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java 
> a7a71b78 
>   repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java 
> b380e1e4 
>   repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
> 18d77ee7 
> 
> 
> Diff: https://reviews.apache.org/r/62679/diff/1/
> 
> 
> Testing
> ---
> 
> Tested using various combinations of attributes and IS_NULL/NOT_NULL operator 
> via REST client/ curl
> 
> 
> Thanks,
> 
> Apoorv Naik
> 
>



Re: Review Request 62681: ATLAS-2075: notification enhancement to handle large messages, using compression and multi-part messages

2017-09-29 Thread Madhan Neethiraj

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

(Updated Sept. 29, 2017, 6:30 a.m.)


Review request for atlas, Apoorv Naik, Ashutosh Mestry, Abhay Kulkarni, Sarath 
Subramanian, and Suma Shivaprasad.


Changes
---

Addressed review comments. Added unit tests.


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


Repository: atlas


Description
---

Update notification module to compress and split large messages (> 1mb) that 
can't be sent via Kafka. When such a message is sent, the message is first 
compressed via GZip. If compressed message is within the size limit, the 
message is sent via Kafka. If the compressed size is larger, then the message 
is split into multiple small messages and sent via Kafka.

Notification consumer is updated to merge and uncompress messages before the 
message is processed further.


Diffs (updated)
-

  common/src/main/java/org/apache/atlas/AtlasConfiguration.java 9a9bb76a 
  notification/src/main/java/org/apache/atlas/kafka/AtlasKafkaConsumer.java 
d3b4e49e 
  notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 
38889ef8 
  
notification/src/main/java/org/apache/atlas/notification/AbstractMessageDeserializer.java
 ec99372d 
  
notification/src/main/java/org/apache/atlas/notification/AbstractNotification.java
 cb44fc68 
  
notification/src/main/java/org/apache/atlas/notification/AtlasNotificationBaseMessage.java
 PRE-CREATION 
  
notification/src/main/java/org/apache/atlas/notification/AtlasNotificationMessageDeserializer.java
 PRE-CREATION 
  
notification/src/main/java/org/apache/atlas/notification/AtlasNotificationStringMessage.java
 PRE-CREATION 
  notification/src/main/java/org/apache/atlas/notification/MessageVersion.java 
6ef407ac 
  
notification/src/main/java/org/apache/atlas/notification/NotificationInterface.java
 956c85e0 
  
notification/src/main/java/org/apache/atlas/notification/VersionedMessage.java 
1929eb46 
  
notification/src/main/java/org/apache/atlas/notification/VersionedMessageDeserializer.java
 cc2099e7 
  notification/src/test/java/org/apache/atlas/kafka/KafkaConsumerTest.java 
9b712f44 
  
notification/src/test/java/org/apache/atlas/kafka/KafkaNotificationMockTest.java
 b7474a0e 
  
notification/src/test/java/org/apache/atlas/notification/AbstractNotificationConsumerTest.java
 3b2a093b 
  
notification/src/test/java/org/apache/atlas/notification/AbstractNotificationTest.java
 61107a9f 
  
notification/src/test/java/org/apache/atlas/notification/VersionedMessageTest.java
 587b7ebd 
  
notification/src/test/java/org/apache/atlas/notification/entity/EntityMessageDeserializerTest.java
 be324277 
  
notification/src/test/java/org/apache/atlas/notification/hook/HookMessageDeserializerTest.java
 3724fd5f 


Diff: https://reviews.apache.org/r/62681/diff/3/

Changes: https://reviews.apache.org/r/62681/diff/2-3/


Testing
---

- verified that large messages are compressed and split by Atlas hook, before 
sending to Kafka
- verified that Atlas server processes compressed, multi-part messages correctly


Thanks,

Madhan Neethiraj