Build failed in Jenkins: Atlas-master-JanusGraph-IntegrationTests #4

2017-10-30 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2243: Code improvement suggested by Static code analysis

[ssubramanian] ATLAS-2242: Gremlin3 traversals for discovery service

--
[...truncated 776.97 KB...]
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
at org.testng.TestNG.run(TestNG.java:1032)
at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:205)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:155)
at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:81)
at 
org.apache.maven.plugin.surefire.InPluginVMSurefireStarter.runSuitesInProcess(InPluginVMSurefireStarter.java:82)
at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:974)
at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:824)
at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:722)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
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:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

testSimpleLoginAndAuthorizationWithValidCrendentialsAndInvalidAccessToResource(org.apache.atlas.web.filters.AtlasAuthenticationSimpleFilterIT)
  Time elapsed: 0.018 sec  <<< FAILURE!
java.lang.AssertionError: expected [403] but found [500]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at 

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

2017-10-30 Thread Apache Jenkins Server
See 


--
[...truncated 548.39 KB...]
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "GET 
/api/atlas/entities/12a17925-b89b-4a99-b216-65b0185e0561/traits HTTP/1.1" 200 - 
"-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST 
/api/atlas/entities/fb0c5443-64ad-4cfb-904c-39d396fac508 HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "GET 
/api/atlas/entities/fb0c5443-64ad-4cfb-904c-39d396fac508 HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST 
/api/atlas/entities/qualifiedName?type=hive_table=qualifiedName=tableQWji3PalQ0
 HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "GET 
/api/atlas/entities/cec15ae2-0299-4087-9e2c-d34ed7acb4df HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "GET 
/api/atlas/entities/494ffddd-688d-47d1-ba91-0d6e7b2249ae/audit?count=10 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
400 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "GET 
/api/atlas/v2/types/typedef/name/PZSDNukoNz HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:55 +] "GET 
/api/atlas/entities/c4cf4841-885c-47d5-8da6-c9705f8769ae HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:56 +] "GET /api/atlas/admin/version 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:59 +] "GET /api/atlas/admin/status 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:59 +] "GET /api/atlas/v1/taxonomies 
HTTP/1.1" 403 493 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:59 +] "GET /api/atlas/admin/session 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:59 +] "GET /api/atlas/admin/session 
HTTP/1.1" 401 317 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:59 +] "GET 
/api/atlas/v2/types/typedef/name/database HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:59 +] "GET 
/api/atlas/v2/types/typedef/name/table HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:59 +] "GET 
/api/atlas/v2/types/typedef/name/fetl HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:40:59 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "GET 
/api/atlas/v2/types/classificationdef/name/fetl HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "GET 
/api/atlas/v2/types/entitydef/name/database HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "GET 
/api/atlas/v2/types/entitydef/name/table HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 409 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "GET 
/api/atlas/v2/types/enumdef/name/blah HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "GET 
/api/atlas/v2/types/enumdef/guid/blah HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "GET 
/api/atlas/v2/types/structdef/name/blah HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "GET 
/api/atlas/v2/types/structdef/guid/blah HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:41:00 +] "GET 

Build failed in Jenkins: Atlas-master-JanusGraph-IntegrationTests #3

2017-10-30 Thread Apache Jenkins Server
See 


--
[...truncated 684.75 KB...]
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:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

testOutputsGraph(org.apache.atlas.web.integration.EntityLineageJerseyResourceIT)
  Time elapsed: 0.924 sec  <<< FAILURE!
java.lang.AssertionError: expected [3] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
at org.testng.Assert.assertEquals(Assert.java:372)
at org.testng.Assert.assertEquals(Assert.java:382)
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.testOutputsGraph(DataSetLineageJerseyResourceIT.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:659)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
at org.testng.TestNG.run(TestNG.java:1032)
at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:205)
at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:155)
at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:81)
at 

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

2017-10-30 Thread Apache Jenkins Server
See 


--
[...truncated 494.15 KB...]
127.0.0.1 - - [30/Oct/2017:20:21:23 +] "GET 
/api/atlas/lineage/hive/table/sales_factDwTiKqz31j/outputs/graph HTTP/1.1" 200 
2015 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:25 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_factDwTiKqz31j
 HTTP/1.1" 200 4372 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:25 +] "GET 
/api/atlas/lineage/9e4a3363-399d-4aa4-ac83-c32848779bd6/outputs/graph HTTP/1.1" 
200 1944 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:26 +] "GET 
/api/atlas/lineage/hive/table/sales_factDwTiKqz31j/schema HTTP/1.1" 200 2503 
"-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:27 +] "GET 
/api/atlas/lineage/hive/table/SalesRQlfROBCEr/schema HTTP/1.1" 404 62 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:27 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_factDwTiKqz31j
 HTTP/1.1" 200 4372 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:27 +] "GET 
/api/atlas/lineage/9e4a3363-399d-4aa4-ac83-c32848779bd6/schema HTTP/1.1" 200 
2468 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:28 +] "GET 
/api/atlas/lineage/hive/table/blah/schema HTTP/1.1" 404 51 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:28 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_fact_monthly_mvhPl7HDYTt1
 HTTP/1.1" 200 4063 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:28 +] "GET 
/api/atlas/v2/lineage/e63d2646-d85f-4090-884b-640e345f4421?depth=5=INPUT
 HTTP/1.1" 200 2879 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:29 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_fact_monthly_mvhPl7HDYTt1
 HTTP/1.1" 200 4063 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:29 +] "GET 
/api/atlas/v2/lineage/e63d2646-d85f-4090-884b-640e345f4421?depth=5=BOTH
 HTTP/1.1" 200 2878 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:31 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_factsYXY6NjGWM
 HTTP/1.1" 200 4006 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:31 +] "GET 
/api/atlas/v2/lineage/c8ecf598-f1f3-4871-80a4-e3b7300db554?depth=5=OUTPUT
 HTTP/1.1" 200 2417 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:32 +] "GET 
/api/atlas/v2/types/typedef/name/database HTTP/1.1" 200 794 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:32 +] "GET 
/api/atlas/v2/types/typedef/name/table HTTP/1.1" 404 82 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:32 +] "GET 
/api/atlas/v2/types/typedef/name/fetl HTTP/1.1" 404 81 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:32 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 200 2038 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/classificationdef/name/fetl HTTP/1.1" 200 454 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/entitydef/name/database HTTP/1.1" 200 794 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/entitydef/name/table HTTP/1.1" 200 1491 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 200 535 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 409 86 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/enumdef/name/blah HTTP/1.1" 404 81 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/enumdef/guid/blah HTTP/1.1" 404 82 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/structdef/name/blah HTTP/1.1" 404 81 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/structdef/guid/blah HTTP/1.1" 404 82 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/classificationdef/name/blah HTTP/1.1" 404 81 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/classificationdef/guid/blah HTTP/1.1" 404 82 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/entitydef/name/blah HTTP/1.1" 404 81 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "GET 
/api/atlas/v2/types/entitydef/guid/blah HTTP/1.1" 404 82 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:33 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 200 1918 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:34 +] "GET 
/api/atlas/v2/types/typedefs?supertype=Argptf8ZGSf=CLASS HTTP/1.1" 200 
1026 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:20:21:34 +] "GET 
/api/atlas/v2/types/typedefs?supertype=Argptf8ZGSf=CLASS=Br8UohplLGs
 HTTP/1.1" 200 553 "-" "Java/1.8.0_152"
127.0.0.1 - - 

Review Request 63426: ATLAS-2051:Provide a utility to Import HBase entities into Atlas

2017-10-30 Thread Ramesh Mani

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

Review request for atlas, Apoorv Naik, Madhan Neethiraj, and Sarath Subramanian.


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


Repository: atlas


Description
---

ATLAS-2051:Provide a utility to Import HBase entities into Atlas


Diffs
-

  .gitignore 2a53de2 
  addons/hbase-bridge/pom.xml 281e94b 
  addons/hbase-bridge/src/bin/import-hbase.sh PRE-CREATION 
  
addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/util/ImportHBaseEntities.java
 PRE-CREATION 
  
addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/util/ImportHBaseEntitiesBase.java
 PRE-CREATION 
  distro/src/main/assemblies/standalone-package.xml 052b28b 


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


Testing
---

Testing done in Local vm


Thanks,

Ramesh Mani



[jira] [Updated] (ATLAS-2051) Provide a utility to Import HBase entities into Atlas

2017-10-30 Thread Ramesh Mani (JIRA)

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

Ramesh Mani updated ATLAS-2051:
---
Attachment: (was: 
0001-ATLAS-2051-Provide-a-utility-to-Import-HBase-entitie_003.patch)

> Provide a utility to Import HBase entities into Atlas
> -
>
> Key: ATLAS-2051
> URL: https://issues.apache.org/jira/browse/ATLAS-2051
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: trunk
>Reporter: Ramesh Mani
>Assignee: Ramesh Mani
> Fix For: trunk
>
> Attachments: 
> 0001-ATLAS-2051-Provide-a-utility-to-Import-HBase-entitie.patch, 
> 0001-ATLAS-2051-Provide-a-utility-to-Import-HBase-entitie_002.patch
>
>
> Provide a utility to do Import HBase entities into Atlas



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


[jira] [Updated] (ATLAS-2051) Provide a utility to Import HBase entities into Atlas

2017-10-30 Thread Ramesh Mani (JIRA)

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

Ramesh Mani updated ATLAS-2051:
---
Attachment: 
0001-ATLAS-2051-Provide-a-utility-to-Import-HBase-entitie_003.patch

> Provide a utility to Import HBase entities into Atlas
> -
>
> Key: ATLAS-2051
> URL: https://issues.apache.org/jira/browse/ATLAS-2051
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: trunk
>Reporter: Ramesh Mani
>Assignee: Ramesh Mani
> Fix For: trunk
>
> Attachments: 
> 0001-ATLAS-2051-Provide-a-utility-to-Import-HBase-entitie.patch, 
> 0001-ATLAS-2051-Provide-a-utility-to-Import-HBase-entitie_002.patch, 
> 0001-ATLAS-2051-Provide-a-utility-to-Import-HBase-entitie_003.patch
>
>
> Provide a utility to do Import HBase entities into Atlas



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


[jira] [Commented] (ATLAS-2243) Code improvement suggested by Static code analysis

2017-10-30 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian commented on ATLAS-2243:
---

Code Review: https://reviews.apache.org/r/63421

> Code improvement suggested by Static code analysis
> --
>
> Key: ATLAS-2243
> URL: https://issues.apache.org/jira/browse/ATLAS-2243
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
> Fix For: 1.0.0
>
> Attachments: ATLAS-2243.1.patch
>
>
>  ** CID 168691:  Control flow issues  (DEADCODE)
> 
> /repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
>  782 in 
> org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapSystemAttributes(org.apache.atlas.repository.graphdb.AtlasEdge,
>  org.apache.atlas.model.instance.AtlasRelationship)()
> 
> 
> 
> 
> *** CID 168691:  Control flow issues  (DEADCODE)
> 
> /repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
>  782 in 
> org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapSystemAttributes(org.apache.atlas.repository.graphdb.AtlasEdge,
>  org.apache.atlas.model.instance.AtlasRelationship)()
> 776 relationship.setCreateTime(new 
> Date(GraphHelper.getCreatedTime(edge)));
> 777 relationship.setUpdateTime(new 
> Date(GraphHelper.getModifiedTime(edge)));
> 778
> 779 Integer version = GraphHelper.getVersion(edge).intValue();
> 780
> 781 if (version == null) {
> >>> CID 168691:  Control flow issues  (DEADCODE)
> >>> Execution cannot reach this statement: "version = 
> java.lang.Integer...".
> 782 version = Integer.valueOf(1);
> 783 }
> 784
> 785 relationship.setVersion(version.longValue());
> 786 relationship.setStatus(GraphHelper.getEdgeStatus(edge));
> 787



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


Review Request 63421: [ATLAS-2243] : Code improvement suggested by Static code analysis

2017-10-30 Thread Sarath Subramanian

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

Review request for atlas.


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


Repository: atlas


Description
---

fix for issues raised by static code analysis


Diffs
-

  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
 555f3354 


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


Testing
---

mvn clean package = succeeded


Thanks,

Sarath Subramanian



[jira] [Updated] (ATLAS-2243) Code improvement suggested by Static code analysis

2017-10-30 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-2243:
--
Attachment: ATLAS-2243.1.patch

> Code improvement suggested by Static code analysis
> --
>
> Key: ATLAS-2243
> URL: https://issues.apache.org/jira/browse/ATLAS-2243
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
> Fix For: 1.0.0
>
> Attachments: ATLAS-2243.1.patch
>
>
>  ** CID 168691:  Control flow issues  (DEADCODE)
> 
> /repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
>  782 in 
> org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapSystemAttributes(org.apache.atlas.repository.graphdb.AtlasEdge,
>  org.apache.atlas.model.instance.AtlasRelationship)()
> 
> 
> 
> 
> *** CID 168691:  Control flow issues  (DEADCODE)
> 
> /repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
>  782 in 
> org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapSystemAttributes(org.apache.atlas.repository.graphdb.AtlasEdge,
>  org.apache.atlas.model.instance.AtlasRelationship)()
> 776 relationship.setCreateTime(new 
> Date(GraphHelper.getCreatedTime(edge)));
> 777 relationship.setUpdateTime(new 
> Date(GraphHelper.getModifiedTime(edge)));
> 778
> 779 Integer version = GraphHelper.getVersion(edge).intValue();
> 780
> 781 if (version == null) {
> >>> CID 168691:  Control flow issues  (DEADCODE)
> >>> Execution cannot reach this statement: "version = 
> java.lang.Integer...".
> 782 version = Integer.valueOf(1);
> 783 }
> 784
> 785 relationship.setVersion(version.longValue());
> 786 relationship.setStatus(GraphHelper.getEdgeStatus(edge));
> 787



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


[jira] [Updated] (ATLAS-2243) Code improvement suggested by Static code analysis

2017-10-30 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-2243:
--
Attachment: (was: ATLAS-2243.1.patch)

> Code improvement suggested by Static code analysis
> --
>
> Key: ATLAS-2243
> URL: https://issues.apache.org/jira/browse/ATLAS-2243
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
> Fix For: 1.0.0
>
> Attachments: ATLAS-2243.1.patch
>
>
>  ** CID 168691:  Control flow issues  (DEADCODE)
> 
> /repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
>  782 in 
> org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapSystemAttributes(org.apache.atlas.repository.graphdb.AtlasEdge,
>  org.apache.atlas.model.instance.AtlasRelationship)()
> 
> 
> 
> 
> *** CID 168691:  Control flow issues  (DEADCODE)
> 
> /repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
>  782 in 
> org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapSystemAttributes(org.apache.atlas.repository.graphdb.AtlasEdge,
>  org.apache.atlas.model.instance.AtlasRelationship)()
> 776 relationship.setCreateTime(new 
> Date(GraphHelper.getCreatedTime(edge)));
> 777 relationship.setUpdateTime(new 
> Date(GraphHelper.getModifiedTime(edge)));
> 778
> 779 Integer version = GraphHelper.getVersion(edge).intValue();
> 780
> 781 if (version == null) {
> >>> CID 168691:  Control flow issues  (DEADCODE)
> >>> Execution cannot reach this statement: "version = 
> java.lang.Integer...".
> 782 version = Integer.valueOf(1);
> 783 }
> 784
> 785 relationship.setVersion(version.longValue());
> 786 relationship.setStatus(GraphHelper.getEdgeStatus(edge));
> 787



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


[jira] [Created] (ATLAS-2243) Code improvement suggested by Static code analysis

2017-10-30 Thread Sarath Subramanian (JIRA)
Sarath Subramanian created ATLAS-2243:
-

 Summary: Code improvement suggested by Static code analysis
 Key: ATLAS-2243
 URL: https://issues.apache.org/jira/browse/ATLAS-2243
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 1.0.0
Reporter: Sarath Subramanian
Assignee: Sarath Subramanian
 Fix For: 1.0.0


 ** CID 168691:  Control flow issues  (DEADCODE)

/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
 782 in 
org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapSystemAttributes(org.apache.atlas.repository.graphdb.AtlasEdge,
 org.apache.atlas.model.instance.AtlasRelationship)()




*** CID 168691:  Control flow issues  (DEADCODE)

/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
 782 in 
org.apache.atlas.repository.store.graph.v1.EntityGraphRetriever.mapSystemAttributes(org.apache.atlas.repository.graphdb.AtlasEdge,
 org.apache.atlas.model.instance.AtlasRelationship)()
776 relationship.setCreateTime(new 
Date(GraphHelper.getCreatedTime(edge)));
777 relationship.setUpdateTime(new 
Date(GraphHelper.getModifiedTime(edge)));
778
779 Integer version = GraphHelper.getVersion(edge).intValue();
780
781 if (version == null) {
>>> CID 168691:  Control flow issues  (DEADCODE)
>>> Execution cannot reach this statement: "version = 
java.lang.Integer...".
782 version = Integer.valueOf(1);
783 }
784
785 relationship.setVersion(version.longValue());
786 relationship.setStatus(GraphHelper.getEdgeStatus(edge));
787



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


Re: Review Request 63417: ASTLAS-2242: gremlin3 traversals for discovery service

2017-10-30 Thread Graham Wallis


> On Oct. 30, 2017, 4:29 p.m., Sarath Subramanian wrote:
> > repository/src/test/java/org/apache/atlas/discovery/GraphBackedDiscoveryServiceTest.java
> > Line 242 (original), 242 (patched)
> > 
> >
> > how did this work for tinkerpop2 with range(0,0)?

Tinkerpop2's range() step was inclusive, so a range(0,0) passes the first 
traverser.
However, in Tinkerpop3 the lower bound of the range() step is exclusive, so 
range(0,0) will pass nothing, whereas range(0,1) will pass one traverser.


- Graham


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


On Oct. 30, 2017, 4:25 p.m., Graham Wallis wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63417/
> ---
> 
> (Updated Oct. 30, 2017, 4:25 p.m.)
> 
> 
> Review request for atlas.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS-2242.patch
> This patch contains fixes for a couple of tests in 
> GraphBackedDiscoveryServiceTest.
> Although in Atlas master a user will no longer be able to issue gremlin 
> queries directly, the unit tests of the graph should still be correct.
> This patch rectifies the gremlin3 traversals to return the correct types for 
> vertex and edge queries.
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/util/AtlasGremlin3QueryProvider.java
>  a43e0236c67fa04c210ef4c302a9a2851cb0b250 
>   
> repository/src/test/java/org/apache/atlas/discovery/GraphBackedDiscoveryServiceTest.java
>  11980bec24a109cce7ee7b8c5d4a9f3d39ae124a 
> 
> 
> Diff: https://reviews.apache.org/r/63417/diff/1/
> 
> 
> Testing
> ---
> 
> Built and tested with janus provider
> 
> 
> Thanks,
> 
> Graham Wallis
> 
>



Re: Review Request 63417: ASTLAS-2242: gremlin3 traversals for discovery service

2017-10-30 Thread Sarath Subramanian

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




repository/src/test/java/org/apache/atlas/discovery/GraphBackedDiscoveryServiceTest.java
Line 242 (original), 242 (patched)


how did this work for tinkerpop2 with range(0,0)?


- Sarath Subramanian


On Oct. 30, 2017, 9:25 a.m., Graham Wallis wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63417/
> ---
> 
> (Updated Oct. 30, 2017, 9:25 a.m.)
> 
> 
> Review request for atlas.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS-2242.patch
> This patch contains fixes for a couple of tests in 
> GraphBackedDiscoveryServiceTest.
> Although in Atlas master a user will no longer be able to issue gremlin 
> queries directly, the unit tests of the graph should still be correct.
> This patch rectifies the gremlin3 traversals to return the correct types for 
> vertex and edge queries.
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/util/AtlasGremlin3QueryProvider.java
>  a43e0236c67fa04c210ef4c302a9a2851cb0b250 
>   
> repository/src/test/java/org/apache/atlas/discovery/GraphBackedDiscoveryServiceTest.java
>  11980bec24a109cce7ee7b8c5d4a9f3d39ae124a 
> 
> 
> Diff: https://reviews.apache.org/r/63417/diff/1/
> 
> 
> Testing
> ---
> 
> Built and tested with janus provider
> 
> 
> Thanks,
> 
> Graham Wallis
> 
>



Re: Review Request 63417: ASTLAS-2242: gremlin3 traversals for discovery service

2017-10-30 Thread Sarath Subramanian

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


Ship it!




Ship It!

- Sarath Subramanian


On Oct. 30, 2017, 9:25 a.m., Graham Wallis wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63417/
> ---
> 
> (Updated Oct. 30, 2017, 9:25 a.m.)
> 
> 
> Review request for atlas.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS-2242.patch
> This patch contains fixes for a couple of tests in 
> GraphBackedDiscoveryServiceTest.
> Although in Atlas master a user will no longer be able to issue gremlin 
> queries directly, the unit tests of the graph should still be correct.
> This patch rectifies the gremlin3 traversals to return the correct types for 
> vertex and edge queries.
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/util/AtlasGremlin3QueryProvider.java
>  a43e0236c67fa04c210ef4c302a9a2851cb0b250 
>   
> repository/src/test/java/org/apache/atlas/discovery/GraphBackedDiscoveryServiceTest.java
>  11980bec24a109cce7ee7b8c5d4a9f3d39ae124a 
> 
> 
> Diff: https://reviews.apache.org/r/63417/diff/1/
> 
> 
> Testing
> ---
> 
> Built and tested with janus provider
> 
> 
> Thanks,
> 
> Graham Wallis
> 
>



Re: Review Request 63041: ATLAS-1757 introduction of JanusGraph 0.1.1

2017-10-30 Thread Graham Wallis


> On Oct. 24, 2017, 7:24 p.m., Apoorv Naik wrote:
> > pom.xml
> > Lines 646 (patched)
> > 
> >
> > This can be removed and instead the titan0 section should have the 
> > following section 
> > 
> > ```xml
> > 
> > true
> > 
> > GRAPH-PROVIDER
> > titan0
> > 
> > 
> > ```
> 
> Graham Wallis wrote:
> The titan0 profile used to be activeByDefault, but that meant that the 
> titan0 dependencies were pulled in and then had to be excluded if the build 
> specified the titan1 profile. This led to a number of hard dependencies on 
> the wrong (legacy) classes and also with the introduction janus as (for the a 
> while at least) a third provider, the exclusion processing would have become 
> quite ugly. Along with the mutual exclusion point (see later comment, below) 
> I hunted for a while to find a good way to do this and found lots of advice 
> online that having one profile active by default was bad practice (where that 
> profile was one choice within a set of mutually exclusive profiles). The 
> disadvantage of not having a profile that is activeByDefault is that we have 
> to repeat the default profile for the case where GRAPH-PROVIDER is not set 
> (as well as the case where it is explicitly set to the value that activates 
> the default profile).

Dropping this issue.


- Graham


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


On Oct. 27, 2017, 3:25 p.m., Graham Wallis wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63041/
> ---
> 
> (Updated Oct. 27, 2017, 3:25 p.m.)
> 
> 
> Review request for atlas.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS-1757-v2.patch
> This patch contains the changes needed for JanusGraph 0.1.1.
> 
> There are a couple of repository test failures, which may be due to TP3 
> changes:
> 
> GraphBackedMetadataRepositoryTest.testConcurrentCalls:180 expected [true] but 
> found [false]
> AtlasRelationshipStoreSoftDeleteV1Test>AtlasRelationshipStoreV1Test.testRelationshipAttributeUpdate_NonComposite_OneToMany:331
>  expected [3] but found [4]
> 
> 
> Diffs
> -
> 
>   distro/pom.xml 9bea00852cb10ddca363ef1e726487394f6947f3 
>   distro/src/conf/atlas-application.properties 
> 9e8adca16582e34807ab520106a438a5919df7f1 
>   docs/src/site/twiki/Configuration.twiki 
> a5069abd2bf92e1d107f62d4f41832532bc97b89 
>   graphdb/api/pom.xml 186e7455353c4d073f297868cc884c178d102106 
>   
> graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/NativeTitanGraphQuery.java
>  288b325acd5649eecee9b67346fb3aa6ff9603d2 
>   
> graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/NativeTitanQueryFactory.java
>  ac7ff9e81f658e2d0939a9be2555dd9a18083d30 
>   
> graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/TitanGraphQuery.java
>  dfdb91b587b812a41a407acae8e794a23ec1c077 
>   
> graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/expr/AndCondition.java
>  db5093f518ca36fbb4ab9786cc4c47349fa05cd8 
>   
> graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/expr/HasPredicate.java
>  0652c41bcfb30b098d8aa08ac96685d8f6cad312 
>   
> graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/expr/InPredicate.java
>  ca0e8ab53e2e1083bf01b486945a0c3cffeda527 
>   
> graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/expr/OrCondition.java
>  e7a8a75238cf5df0f94b9ceb7723fd983a8866d9 
>   
> graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/expr/QueryPredicate.java
>  a80522b56558fbf73177eb1cf6fc34ba09f6d769 
>   graphdb/graphdb-impls/pom.xml 62a09944f7655098319d477d362c7181f4b373d1 
>   graphdb/janus/pom.xml PRE-CREATION 
>   graphdb/janus/readme.txt PRE-CREATION 
>   
> graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusEdge.java
>  PRE-CREATION 
>   
> graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusEdgeLabel.java
>  PRE-CREATION 
>   
> graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusElement.java
>  PRE-CREATION 
>   
> graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraph.java
>  PRE-CREATION 
>   
> graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphDatabase.java
>  PRE-CREATION 
>   
> 

Re: Review Request 62889: ATLAS-1757 POM changes

2017-10-30 Thread Graham Wallis


> On Oct. 12, 2017, 3:56 p.m., David Radley wrote:
> > pom.xml
> > Line 585 (original), 584 (patched)
> > 
> >
> > I suggest changing the Jira to patch available and adding the url to 
> > the review board there.

I'm not sure how to do that - is that the "Submit Patch" button?


> On Oct. 12, 2017, 3:56 p.m., David Radley wrote:
> > pom.xml
> > Line 586 (original), 585 (patched)
> > 
> >
> > For me the build is clean for titan0.
> > For titan1, I get test failures :
> > 
> > Tests run: 10, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 79.344 
> > sec <<< FAILURE! - in org.apache.atlas.repository.impexp.ExportServiceTest
> > 
> > requestingDeptEntityFoundConnectedFetch_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)
> >   Time elapsed: 2.612 sec  <<< FAILURE!
> > java.lang.AssertionError: expected: but was:
> > at org.testng.Assert.fail(Assert.java:89)
> > at org.testng.Assert.failNotEquals(Assert.java:489)
> > at org.testng.Assert.assertTrue(Assert.java:37)
> > at org.testng.Assert.assertTrue(Assert.java:47)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.verifyExportForHrDataForConnected(ExportServiceTest.java:341)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.requestingDeptEntityFoundConnectedFetch_ContainsData(ExportServiceTest.java:253)
> > 
> > 
> > requestingDeptEntityFoundFullFetch_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)
> >   Time elapsed: 0.817 sec  <<< FAILURE!
> > java.lang.AssertionError: expected: but was:
> > at org.testng.Assert.fail(Assert.java:89)
> > at org.testng.Assert.failNotEquals(Assert.java:489)
> > at org.testng.Assert.assertTrue(Assert.java:37)
> > at org.testng.Assert.assertTrue(Assert.java:47)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.verifyExportForHrData(ExportServiceTest.java:328)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.requestingDeptEntityFoundFullFetch_ContainsData(ExportServiceTest.java:246)
> > 
> > 
> > requestingEmployeeEntityFoundConnectedFetch_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)
> >   Time elapsed: 0.5 sec  <<< FAILURE!
> > java.lang.AssertionError: expected:<2> but was:<0>
> > at org.testng.Assert.fail(Assert.java:89)
> > at org.testng.Assert.failNotEquals(Assert.java:489)
> > at org.testng.Assert.assertEquals(Assert.java:118)
> > at org.testng.Assert.assertEquals(Assert.java:365)
> > at org.testng.Assert.assertEquals(Assert.java:375)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.verifyExportForEmployeeData(ExportServiceTest.java:312)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.requestingEmployeeEntityFoundConnectedFetch_ContainsData(ExportServiceTest.java:259)
> > 
> > 
> > requestingEntityFoundDefaultFetch_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)
> >   Time elapsed: 0.911 sec  <<< FAILURE!
> > java.lang.AssertionError: expected: but was:
> > at org.testng.Assert.fail(Assert.java:89)
> > at org.testng.Assert.failNotEquals(Assert.java:489)
> > at org.testng.Assert.assertTrue(Assert.java:37)
> > at org.testng.Assert.assertTrue(Assert.java:47)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.verifyExportForHrData(ExportServiceTest.java:328)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.requestingEntityFoundDefaultFetch_ContainsData(ExportServiceTest.java:225)
> > 
> > 
> > requestingHrEntityWithMatchTypeContains_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)
> >   Time elapsed: 0.804 sec  <<< FAILURE!
> > java.lang.AssertionError: expected: but was:
> > at org.testng.Assert.fail(Assert.java:89)
> > at org.testng.Assert.failNotEquals(Assert.java:489)
> > at org.testng.Assert.assertTrue(Assert.java:37)
> > at org.testng.Assert.assertTrue(Assert.java:47)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.verifyExportForHrData(ExportServiceTest.java:328)
> > at 
> > org.apache.atlas.repository.impexp.ExportServiceTest.requestingHrEntityWithMatchTypeContains_ContainsData(ExportServiceTest.java:232)
> > 
> > 
> > requestingHrEntityWithMatchTypeEndsWith_ContainsData(org.apache.atlas.repository.impexp.ExportServiceTest)
> >   Time elapsed: 0.766 sec  <<< FAILURE!
> > java.lang.AssertionError: expected: but was:
> > at org.testng.Assert.fail(Assert.java:89)
> >

Review Request 63417: ASTLAS-2242: gremlin3 traversals for discovery service

2017-10-30 Thread Graham Wallis

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

Review request for atlas.


Repository: atlas


Description
---

ATLAS-2242.patch
This patch contains fixes for a couple of tests in 
GraphBackedDiscoveryServiceTest.
Although in Atlas master a user will no longer be able to issue gremlin queries 
directly, the unit tests of the graph should still be correct.
This patch rectifies the gremlin3 traversals to return the correct types for 
vertex and edge queries.


Diffs
-

  
repository/src/main/java/org/apache/atlas/util/AtlasGremlin3QueryProvider.java 
a43e0236c67fa04c210ef4c302a9a2851cb0b250 
  
repository/src/test/java/org/apache/atlas/discovery/GraphBackedDiscoveryServiceTest.java
 11980bec24a109cce7ee7b8c5d4a9f3d39ae124a 


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


Testing
---

Built and tested with janus provider


Thanks,

Graham Wallis



[jira] [Commented] (ATLAS-2242) Gremlin3 traversals for GraphBackedDiscoveryServiceTest

2017-10-30 Thread Graham Wallis (JIRA)

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

Graham Wallis commented on ATLAS-2242:
--

Attached patch.
RBT review [https://reviews.apache.org/r/63417/]

> Gremlin3 traversals for GraphBackedDiscoveryServiceTest
> ---
>
> Key: ATLAS-2242
> URL: https://issues.apache.org/jira/browse/ATLAS-2242
> Project: Atlas
>  Issue Type: Bug
>Reporter: Graham Wallis
> Attachments: ATLAS-2242.patch
>
>
> Apologies - during ATLAS-1757 I over-engineered the traversals for a couple 
> of tests.



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


[jira] [Resolved] (ATLAS-2239) Update JanusGraph to version 0.2.0

2017-10-30 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian resolved ATLAS-2239.
---
Resolution: Duplicate

> Update JanusGraph to version 0.2.0
> --
>
> Key: ATLAS-2239
> URL: https://issues.apache.org/jira/browse/ATLAS-2239
> Project: Atlas
>  Issue Type: Task
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Sarath Subramanian
> Fix For: 1.0.0
>
>
> ATLAS-1757 introduces JanusGraph 0.1.1 in Atlas as a new graph store. This 
> JIRA is to track the upgrade of JanusGraph version to 0.2.0 and other related 
> sub tasks



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


[jira] [Resolved] (ATLAS-2238) Update JanusGraph to version 0.2.0

2017-10-30 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian resolved ATLAS-2238.
---
Resolution: Duplicate

> Update JanusGraph to version 0.2.0
> --
>
> Key: ATLAS-2238
> URL: https://issues.apache.org/jira/browse/ATLAS-2238
> Project: Atlas
>  Issue Type: Task
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Sarath Subramanian
> Fix For: 1.0.0
>
>
> ATLAS-1757 introduces JanusGraph 0.1.1 in Atlas as a new graph store. This 
> JIRA is to track the upgrade of JanusGraph version to 0.2.0 and other related 
> sub tasks



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


[jira] [Updated] (ATLAS-1698) Create Subject Area OMAS API

2017-10-30 Thread David Radley (JIRA)

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

David Radley updated ATLAS-1698:

Attachment: Subject Area OMAS API proposal v1.5.pdf

> Create Subject Area OMAS API
> 
>
> Key: ATLAS-1698
> URL: https://issues.apache.org/jira/browse/ATLAS-1698
> Project: Atlas
>  Issue Type: Sub-task
>Reporter: David Radley
>Assignee: David Radley
>  Labels: VirtualDataConnector
> Attachments: ATLAS1698-1.patch, ATLAS1698.patch, Atlas Glossary OMAS 
> API proposal v1.0 .pdf, Atlas Glossary OMAS API proposal v1.1.pdf, Atlas 
> Glossary OMAS API proposal v1.2.pdf, Subject Area OMAS API proposal v1.3.pdf, 
> Subject Area OMAS API proposal v1.4.pdf, Subject Area OMAS API proposal 
> v1.5.pdf, apidocs-1.zip, apidocs.zip
>
>
> The Subject Area OMAS provides a specialized API for glossary applications to 
> retrieve and store their glossary metadata and link assets of different types 
> to these glossary entries.
> The Subject Area OMAS makes heavy use of the Area 3 open metadata model.  See 
> https://issues.apache.org/jira/browse/ATLAS-1840



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


Build failed in Jenkins: Atlas-master-JanusGraph-IntegrationTests #2

2017-10-30 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-2208 : Include historical entities in Schema tab checked by

[kbhatt] ATLAS-2236 : UI - Basic Search Post request send attribute filters even

--
[...truncated 687.27 KB...]
127.0.0.1 - - [30/Oct/2017:14:58:40 +] "GET 
/api/atlas/lineage/hive/table/sales_fact_monthly_mvBma0FtZEKt/inputs/graph 
HTTP/1.1" 200 279 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:41 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_fact_monthly_mvBma0FtZEKt
 HTTP/1.1" 200 4433 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:41 +] "GET 
/api/atlas/lineage/1e90e5df-9bed-40e9-b2b9-083a0e91ed91/inputs/graph HTTP/1.1" 
200 2422 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:41 +] "GET 
/api/atlas/lineage/hive/table/sales_factol3T5ZqAuF/outputs/graph HTTP/1.1" 200 
268 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:41 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_factol3T5ZqAuF
 HTTP/1.1" 200 4370 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:41 +] "GET 
/api/atlas/lineage/8019711a-eb39-4f0e-b160-785dc8d1d2f1/outputs/graph HTTP/1.1" 
200 1938 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:42 +] "GET 
/api/atlas/lineage/hive/table/sales_factol3T5ZqAuF/schema HTTP/1.1" 200 2501 
"-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:42 +] "GET 
/api/atlas/lineage/hive/table/SalesZCStlTGVUb/schema HTTP/1.1" 404 62 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:42 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_factol3T5ZqAuF
 HTTP/1.1" 200 4370 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:42 +] "GET 
/api/atlas/lineage/8019711a-eb39-4f0e-b160-785dc8d1d2f1/schema HTTP/1.1" 200 
2466 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:43 +] "GET 
/api/atlas/lineage/hive/table/blah/schema HTTP/1.1" 404 51 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:43 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 409 85 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:43 +] "POST /api/atlas/admin/import 
HTTP/1.1" 200 10429 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:50 +] "GET 
/api/atlas/v2/types/typedef/name/fooTag HTTP/1.1" 404 83 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:50 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 200 387 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:50 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=test%241test%2B%2B-%2B%26%26%2B%7C%7C%2B%21%2B%28%2B%29%2B%7B%2B%7D%2B%5B%2B%5D%2B%5E%2B%3C%2B%3E%2B%3B%2B%3A%2B%22%2B%25%2B*%2B%60%2B%7E
 HTTP/1.1" 404 176 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:50 +] "POST /api/atlas/v2/entity HTTP/1.1" 
200 273 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:55 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1133 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:55 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 824 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:55 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 565 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:55 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1135 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:55 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1182 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:55 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1182 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:55 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1130 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:55 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 561 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 5158 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1137 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1234 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 564 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 631 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 188 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1835 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 675 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST /api/atlas/v2/search/basic 
HTTP/1.1" 200 1025 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:58:56 +] "POST 

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

2017-10-30 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-2208 : Include historical entities in Schema tab checked by

[kbhatt] ATLAS-2236 : UI - Basic Search Post request send attribute filters even

--
[...truncated 546.90 KB...]
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "GET 
/api/atlas/v2/types/typedef/name/hive_db_v1 HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "GET 
/api/atlas/v2/types/typedef/name/hive_column_v1 HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "GET 
/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "GET 
/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "GET 
/api/atlas/v2/types/typedef/name/Fact HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "GET 
/api/atlas/v2/types/typedef/name/ETL HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "GET 
/api/atlas/v2/types/typedef/name/Dimension HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "GET 
/api/atlas/v2/types/typedef/name/Metric HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:53 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:54 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:54 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:54 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:54 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:54 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:54 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:54 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:54 +] "GET 
/api/atlas/lineage/hive/table/sales_factvcUcsZfaS8/schema HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:55 +] "GET 
/api/atlas/lineage/hive/table/sales_factvcUcsZfaS8/outputs/graph HTTP/1.1" 200 
- "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:57 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_factvcUcsZfaS8
 HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:57 +] "GET 
/api/atlas/lineage/b04aa5cb-93c2-4a6c-af97-3e081d582bcc/outputs/graph HTTP/1.1" 
200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:51:58 +] "GET 
/api/atlas/lineage/hive/table/sales_fact_monthly_mvnkj3o5Lf17/inputs/graph 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:01 +] "GET 
/api/atlas/lineage/hive/table/SalesZsAnmheXI3/schema HTTP/1.1" 404 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:01 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_factvcUcsZfaS8
 HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:01 +] "GET 
/api/atlas/lineage/b04aa5cb-93c2-4a6c-af97-3e081d582bcc/schema HTTP/1.1" 200 - 
"-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:01 +] "GET 
/api/atlas/lineage/hive/table/blah/schema HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:01 +] "GET 
/api/atlas/entities?type=hive_table_v1=qualifiedName=sales_fact_monthly_mvnkj3o5Lf17
 HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:01 +] "GET 
/api/atlas/lineage/a27fbff3-e93d-4a0c-a0fe-d33d7a979526/inputs/graph HTTP/1.1" 
200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:03 +] "GET /api/atlas/admin/version 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:09 +] "GET 
/api/atlas/v2/types/typedef/name/database HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:09 +] "GET 
/api/atlas/v2/types/typedef/name/table HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:09 +] "GET 
/api/atlas/v2/types/typedef/name/fetl HTTP/1.1" 404 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:09 +] "POST /api/atlas/v2/types/typedefs 
HTTP/1.1" 200 - "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:09 +] "GET 
/api/atlas/v2/types/classificationdef/name/fetl HTTP/1.1" 200 - "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:52:09 +] "GET 
/api/atlas/v2/types/entitydef/name/database HTTP/1.1" 200 - "-" "Java/1.8.0_152"

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

2017-10-30 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-2208 : Include historical entities in Schema tab checked by

[kbhatt] ATLAS-2236 : UI - Basic Search Post request send attribute filters even

--
[...truncated 534.33 KB...]
127.0.0.1 - - [30/Oct/2017:14:45:42 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbt8mcIthTlB'=10=0
 HTTP/1.1" 200 1604 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:43 +] "POST /api/atlas/entities HTTP/1.1" 
201 863 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:43 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbt8mcIthTlB'=10=0
 HTTP/1.1" 200 1604 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:44 +] "POST /api/atlas/entities HTTP/1.1" 
201 2188 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:44 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbt8mcIthTlB'=10=0
 HTTP/1.1" 200 1604 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:45 +] "POST /api/atlas/types HTTP/1.1" 201 
104 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:45 +] "POST /api/atlas/entities HTTP/1.1" 
201 716 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:45 +] "PUT /api/atlas/types HTTP/1.1" 200 
104 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:45 +] "GET 
/api/atlas/entities/c195e2d9-8680-4d7e-af1f-edec7db22b89 HTTP/1.1" 200 591 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:45 +] "POST /api/atlas/entities HTTP/1.1" 
400 146 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:45 +] "POST /api/atlas/entities HTTP/1.1" 
400 146 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:45 +] "POST /api/atlas/entities HTTP/1.1" 
201 856 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "GET 
/api/atlas/entities?type=hive_db=qualifiedName=aHyIlMlW4D 
HTTP/1.1" 200 712 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "POST /api/atlas/entities HTTP/1.1" 
201 863 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "POST /api/atlas/entities HTTP/1.1" 
201 2198 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "GET 
/api/atlas/entities/6680dbb1-a3dc-42d8-9767-9425a1152047 HTTP/1.1" 200 2003 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "POST /api/atlas/entities HTTP/1.1" 
201 863 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "POST /api/atlas/entities HTTP/1.1" 
201 2198 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "GET 
/api/atlas/entities?type=hive_table HTTP/1.1" 200 743 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "GET /api/atlas/entities?type=blah 
HTTP/1.1" 400 34 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "GET 
/api/atlas/v2/types/typedef/name/testNz4pm5PwkM HTTP/1.1" 404 91 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:46 +] "POST /api/atlas/types HTTP/1.1" 201 
108 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "GET 
/api/atlas/entities?type=testNz4pm5PwkM HTTP/1.1" 200 123 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "GET /api/atlas/entities/blah 
HTTP/1.1" 404 72 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "POST /api/atlas/entities HTTP/1.1" 
201 863 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "POST /api/atlas/entities HTTP/1.1" 
201 2198 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "GET 
/api/atlas/v2/types/typedef/name/PII_TraittfG2MFekzJ HTTP/1.1" 404 96 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "POST /api/atlas/types HTTP/1.1" 201 
113 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "POST 
/api/atlas/entities/7f07754e-07f1-47dd-b8f2-d621b582ffdb/traits HTTP/1.1" 201 
72 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "GET 
/api/atlas/entities/7f07754e-07f1-47dd-b8f2-d621b582ffdb/traitDefinitions/PII_TraittfG2MFekzJ
 HTTP/1.1" 200 206 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "GET 
/api/atlas/entities/7f07754e-07f1-47dd-b8f2-d621b582ffdb/traitDefinitions 
HTTP/1.1" 200 1011 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "POST /api/atlas/entities HTTP/1.1" 
201 863 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "POST /api/atlas/entities HTTP/1.1" 
201 2198 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "GET 
/api/atlas/entities/0f0071ca-e3b8-4ccc-b7d0-2ba15506e764/traits HTTP/1.1" 200 
151 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:47 +] "POST /api/atlas/entities HTTP/1.1" 
201 863 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:48 +] "POST /api/atlas/entities HTTP/1.1" 
201 2198 "-" "Java/1.8.0_152"
127.0.0.1 - - [30/Oct/2017:14:45:48 +] "POST 

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

2017-10-30 Thread Apache Jenkins Server
See 




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

2017-10-30 Thread Apache Jenkins Server
See 




[jira] [Updated] (ATLAS-2217) Remove all taxonomy reference from UI

2017-10-30 Thread Keval Bhatt (JIRA)

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

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

> Remove all taxonomy reference from UI
> -
>
> Key: ATLAS-2217
> URL: https://issues.apache.org/jira/browse/ATLAS-2217
> Project: Atlas
>  Issue Type: Sub-task
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Sarath Subramanian
>Assignee: Keval Bhatt
> Fix For: 1.0.0
>
> Attachments: ATLAS-2217.patch
>
>
> Remove all UI code related to taxonomy



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


[jira] [Updated] (ATLAS-2236) UI - Basic Search Post request send attribute filters even after removing Type

2017-10-30 Thread Keval Bhatt (JIRA)

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

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

> UI - Basic Search Post request send attribute filters even after removing Type
> --
>
> Key: ATLAS-2236
> URL: https://issues.apache.org/jira/browse/ATLAS-2236
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Tejas Rawool
>Assignee: Keval Bhatt
> Fix For: 1.0.0, 0.8.2
>
> Attachments: ATLAS-2236.patch
>
>
> Steps to Reproduce:-
> # Select a Type and apply a filter for it
> # Select a Tag and click on search button
> # Now remove Type using "x" button of type dropdown
> # After removing type click on Search button, It show error as "EntityFilters 
> specified without Type name" 
> Request Payload with type selected:-
> {code}
> {
> "excludeDeletedEntities": true,
> "typeName":"Asset",
> "entityFilters":
> {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "name",
> "operator": "eq",
> "attributeValue": "Test"
> }]
> },
> "tagFilters": null,
> "attributes": null,
> "limit": 25,
> "offset": 0,
> "typeName": null,
> "classification": "a1509022126155"
> }
> {code}
> Request Payload without type selected:-
> * entityFilters attribute is present without Type which is wrong
> {code}
> {
> "excludeDeletedEntities": true,
> "entityFilters":
> {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "name",
> "operator": "eq",
> "attributeValue": "Test"
> }]
> },
> "tagFilters": null,
> "attributes": null,
> "limit": 25,
> "offset": 0,
> "typeName": null,
> "classification": "a1509022126155"
> }
> {code}



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


[jira] [Updated] (ATLAS-2208) Include historical entities in Schema tab checked by default for DELETED tables

2017-10-30 Thread pratik pandey (JIRA)

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

pratik pandey updated ATLAS-2208:
-
Attachment: ATLAS-2208.patch

> Include historical entities in Schema tab checked by default for DELETED 
> tables
> ---
>
> Key: ATLAS-2208
> URL: https://issues.apache.org/jira/browse/ATLAS-2208
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Sharmadha Sainath
>Assignee: pratik pandey
> Fix For: 1.0.0, 0.8.2
>
> Attachments: ATLAS-2208.patch, SchemaTab of Deleted table.png
>
>
> 1. Created and dropped hive_table table1 with columns col1 , col2
> 2. Fired basic search hive_table and checked "Show historical entities" which 
> listed the DELETED table.
> 3. Clicked on the DELETED table and clicked on the Schema Tab for the table.
> 4. Include historical entities was checked by default (I suppose it is 
> displaying the Show historical entities value checked in the Search page ).
> 5. Though it is checked , no columns were listed.
> 6. Toggled the value twice. Now Include historical entities is checked again 
> , and now DELETED columns were listed.



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


[jira] [Updated] (ATLAS-2208) Include historical entities in Schema tab checked by default for DELETED tables

2017-10-30 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-2208:
---
Fix Version/s: 0.8.2
   1.0.0

> Include historical entities in Schema tab checked by default for DELETED 
> tables
> ---
>
> Key: ATLAS-2208
> URL: https://issues.apache.org/jira/browse/ATLAS-2208
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Sharmadha Sainath
>Assignee: pratik pandey
> Fix For: 1.0.0, 0.8.2
>
> Attachments: SchemaTab of Deleted table.png
>
>
> 1. Created and dropped hive_table table1 with columns col1 , col2
> 2. Fired basic search hive_table and checked "Show historical entities" which 
> listed the DELETED table.
> 3. Clicked on the DELETED table and clicked on the Schema Tab for the table.
> 4. Include historical entities was checked by default (I suppose it is 
> displaying the Show historical entities value checked in the Search page ).
> 5. Though it is checked , no columns were listed.
> 6. Toggled the value twice. Now Include historical entities is checked again 
> , and now DELETED columns were listed.



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


[jira] [Assigned] (ATLAS-2208) Include historical entities in Schema tab checked by default for DELETED tables

2017-10-30 Thread pratik pandey (JIRA)

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

pratik pandey reassigned ATLAS-2208:


Assignee: pratik pandey  (was: Keval Bhatt)

> Include historical entities in Schema tab checked by default for DELETED 
> tables
> ---
>
> Key: ATLAS-2208
> URL: https://issues.apache.org/jira/browse/ATLAS-2208
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Sharmadha Sainath
>Assignee: pratik pandey
> Attachments: SchemaTab of Deleted table.png
>
>
> 1. Created and dropped hive_table table1 with columns col1 , col2
> 2. Fired basic search hive_table and checked "Show historical entities" which 
> listed the DELETED table.
> 3. Clicked on the DELETED table and clicked on the Schema Tab for the table.
> 4. Include historical entities was checked by default (I suppose it is 
> displaying the Show historical entities value checked in the Search page ).
> 5. Though it is checked , no columns were listed.
> 6. Toggled the value twice. Now Include historical entities is checked again 
> , and now DELETED columns were listed.



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