[jira] [Resolved] (ATLAS-2175) Infinite refresh scroll appears when a search query is saved.

2017-09-26 Thread Keval Bhatt (JIRA)

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

Keval Bhatt resolved ATLAS-2175.

Resolution: Duplicate
  Assignee: Keval Bhatt

> Infinite refresh scroll appears when a search query is saved.
> -
>
> Key: ATLAS-2175
> URL: https://issues.apache.org/jira/browse/ATLAS-2175
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Ayub Pathan
>Assignee: Keval Bhatt
> Fix For: 1.0.0
>
> Attachments: bug-snap.mp4
>
>
> Attaching a recording for reference.



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


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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2179: Split Atlas client library to avoid unnecessary 
dependencies

--
[...truncated 282.38 KB...]
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Running org.apache.atlas.query.ExpressionTest
Running org.apache.atlas.query.BaseGremlinTest
Running org.apache.atlas.query.LineageQueryTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.479 sec - in 
org.apache.atlas.BaseRepositoryTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.667 sec - in 
org.apache.atlas.util.CompiledQueryCacheKeyTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.454 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.179 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.971 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.526 sec - in 
org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.087 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.523 sec - in 
org.apache.atlas.query.LexerTest
Running org.apache.atlas.repository.graph.TestIntSequence
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.08 sec - in 
org.apache.atlas.query.ExpressionTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.72 sec - in 
org.apache.atlas.query.QueryProcessorTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.907 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.136 sec - in 
org.apache.atlas.query.BaseGremlinTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.803 sec - 
in org.apache.atlas.query.ParserTest
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.527 sec - in 
org.apache.atlas.services.MetricsServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.587 sec - in 
org.apache.atlas.RepositoryServiceLoadingTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.023 sec - in 
org.apache.atlas.discovery.DataSetLineageServiceTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
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: 41.36 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: 49.787 sec - 
in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.182 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time 

[jira] [Resolved] (ATLAS-2172) Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj resolved ATLAS-2172.
-
   Resolution: Fixed
Fix Version/s: 0.8.2
   1.0.0

Committed to following branches:
 - master: http://git-wip-us.apache.org/repos/asf/atlas/commit/aaeddd38
 - branch-0.8: http://git-wip-us.apache.org/repos/asf/atlas/commit/50980f7a

> Atlas AD search filter is not get honored when logging into Atlas UI
> 
>
> Key: ATLAS-2172
> URL: https://issues.apache.org/jira/browse/ATLAS-2172
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Nixon Rodrigues
>Assignee: Péter Gergő Barna
> Fix For: 1.0.0, 0.8.2
>
>




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


[jira] [Updated] (ATLAS-2179) Split Atlas client library to avoid unnecessary dependencies

2017-09-26 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj updated ATLAS-2179:

Affects Version/s: (was: 0.8.2)
   (was: 1.0.0)

> Split Atlas client library to avoid unnecessary dependencies
> 
>
> Key: ATLAS-2179
> URL: https://issues.apache.org/jira/browse/ATLAS-2179
> Project: Atlas
>  Issue Type: Bug
>Reporter: Apoorv Naik
>Assignee: Apoorv Naik
> Fix For: 1.0.0, 0.8.2
>
>
> Currently there's one monlith client jar which bring in atlas-typesystem as 
> dependency for AtlasClientV1/AtlasClient which bloats up the jar size to 
> around 72 MB, splitting the client allows AtlasClientV2 library to be smaller 
> in size (27 MB) which can be reduced further by excluding more unnecessary 
> dependencies.



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


Re: Review Request 62585: ATLAS-2179: Split Atlas client library to avoid unnecessary dependencies

2017-09-26 Thread Apoorv Naik

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

(Updated Sept. 27, 2017, 2:36 a.m.)


Review request for atlas and Madhan Neethiraj.


Changes
---

Reverted unwanted changes


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


Repository: atlas


Description
---

Split client library into V1 and V2 artifacts for lighter JARs


Diffs (updated)
-

  addons/falcon-bridge/pom.xml f0e668fb 
  addons/hdfs-model/pom.xml fe784422 
  addons/hive-bridge/pom.xml d16fde76 
  addons/sqoop-bridge/pom.xml c866f16a 
  addons/storm-bridge/pom.xml 87266815 
  authorization/pom.xml bc0882b2 
  
authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasAuthorizationUtils.java
 d67376fa 
  
authorization/src/main/java/org/apache/atlas/authorize/simple/PolicyParser.java 
fc611c8a 
  client/common/pom.xml PRE-CREATION 
  client/pom.xml 9d411760 
  client/src/main/assembly/all-jar.xml PRE-CREATION 
  client/src/main/java/org/apache/atlas/AtlasAdminClient.java  
  client/src/main/java/org/apache/atlas/AtlasBaseClient.java 602831a2 
  client/src/main/java/org/apache/atlas/AtlasClient.java 5fa5df79 
  client/src/main/java/org/apache/atlas/AtlasClientV2.java 2cb9e84b 
  client/src/main/java/org/apache/atlas/AtlasServerEnsemble.java  
  client/src/main/java/org/apache/atlas/AtlasServiceException.java b128f982 
  client/src/main/java/org/apache/atlas/CreateUpdateEntitiesResult.java  
  client/src/main/java/org/apache/atlas/EntityAuditEvent.java  
  client/src/main/java/org/apache/atlas/ResourceCreator.java  
  client/src/main/java/org/apache/atlas/SerDe.java  
  client/src/main/java/org/apache/atlas/security/SecureClientUtils.java  
  client/src/test/java/org/apache/atlas/AtlasClientTest.java c33906ac 
  client/v1-client/pom.xml PRE-CREATION 
  client/v2-client/pom.xml PRE-CREATION 
  common/pom.xml 7178bfa6 
  common/src/main/java/org/apache/atlas/ApplicationProperties.java  
  common/src/main/java/org/apache/atlas/AtlasException.java  
  common/src/main/java/org/apache/atlas/groovy/ArithmeticExpression.java 
a6e1689c 
  common/src/main/java/org/apache/atlas/security/InMemoryJAASConfiguration.java 
 
  common/src/main/java/org/apache/atlas/security/SecurityProperties.java  
  common/src/main/java/org/apache/atlas/utils/AuthenticationUtil.java  
  common/src/test/java/org/apache/atlas/ApplicationPropertiesTest.java  
  
common/src/test/java/org/apache/atlas/security/InMemoryJAASConfigurationTest.java
  
  
common/src/test/java/org/apache/atlas/security/InMemoryJAASConfigurationTicketBasedKafkaClientTest.java
  
  intg/src/test/resources/atlas-jaas.properties PRE-CREATION 
  intg/src/test/resources/test.properties PRE-CREATION 
  notification/pom.xml 192a3fc7 
  pom.xml 684535a6 
  repository/pom.xml 4252751d 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
 ad88c1b3 
  repository/src/test/java/org/apache/atlas/TestUtils.java 48912793 
  
repository/src/test/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepositoryDeleteTestBase.java
 0e220803 
  server-api/pom.xml 05e5eec7 
  webapp/pom.xml 8d03af7a 
  
webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java
 858b3200 
  webapp/src/main/java/org/apache/atlas/web/resources/EntityResource.java 
711cc04d 
  
webapp/src/test/java/org/apache/atlas/web/integration/AdminJerseyResourceIT.java
 cfe09d6f 
  
webapp/src/test/java/org/apache/atlas/web/integration/DataSetLineageJerseyResourceIT.java
 8c6ba775 
  
webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java
 ba5465d3 
  
webapp/src/test/java/org/apache/atlas/web/integration/EntityLineageJerseyResourceIT.java
 55c56c21 
  
webapp/src/test/java/org/apache/atlas/web/integration/MetadataDiscoveryJerseyResourceIT.java
 3fa85b18 
  
webapp/src/test/java/org/apache/atlas/web/integration/TypesJerseyResourceIT.java
 54db3c0c 


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

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


Testing
---

compile goes through fine
mvn clean package also goes through fine

QuickStart ran successfully


Thanks,

Apoorv Naik



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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2174: code improvements and validations

--
[...truncated 442.60 KB...]
127.0.0.1 - - [27/Sep/2017:00:43:41 +] "GET 
/api/atlas/v2/types/typedef/name/DimensionloYmD64DzF HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:41 +] "GET 
/api/atlas/v2/types/typedef/name/MetricDJfASBX0WP HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:41 +] "GET 
/api/atlas/v2/types/typedef/name/hive_db_v1 HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:41 +] "GET 
/api/atlas/v2/types/typedef/name/hive_column_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:41 +] "GET 
/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:41 +] "GET 
/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:41 +] "POST /api/atlas/types HTTP/1.1" 400 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/tableType HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/serdeType HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/classification HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/pii HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/phi HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/pci HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/sox HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/sec HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/finance HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/FactKEiPyHT2Ga HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/ETLahPhwEmUlf HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/DimensionglJpCM3Fgj HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/Metricw2dBQRzB07 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/hive_db_v1 HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/hive_column_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "POST /api/atlas/types HTTP/1.1" 400 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 409 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/enumdef/name/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/enumdef/guid/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/structdef/name/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/structdef/guid/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/classificationdef/name/blah HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/classificationdef/guid/blah HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/entitydef/name/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "GET 
/api/atlas/v2/types/entitydef/guid/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:42 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:43 +] "GET 
/api/atlas/v2/types/typedefs/?supertype=AMueBcbiF3l=CLASS HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [27/Sep/2017:00:43:43 +] 

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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2174: code improvements and validations

--
[...truncated 262.11 KB...]
Running org.apache.atlas.query.ParserTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Running org.apache.atlas.query.ExpressionTest
Running org.apache.atlas.query.BaseGremlinTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1Test
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.util.CompiledQueryCacheKeyTest
Running org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.TestUtils
Running org.apache.atlas.query.QueryProcessorTest
Running org.apache.atlas.RepositoryServiceLoadingTest
Running org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.83 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.157 sec - in 
org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.743 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.701 sec - in 
org.apache.atlas.BaseRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running org.apache.atlas.repository.BaseTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.474 sec - in 
org.apache.atlas.query.BaseGremlinTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.854 sec - in 
org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.304 sec - in 
org.apache.atlas.TestUtils
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.686 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.889 sec - in 
org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.199 sec - in 
org.apache.atlas.util.CompiledQueryCacheKeyTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.994 sec - 
in org.apache.atlas.query.ExpressionTest
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.704 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.757 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.162 sec - in 
org.apache.atlas.query.LexerTest
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.052 sec - 
in org.apache.atlas.query.ParserTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.243 sec - in 
org.apache.atlas.query.QueryProcessorTest
Running org.apache.atlas.repository.graph.TestIntSequence
Running org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.04 sec - in 
org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.graph.GraphHelperMockTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time 

Re: Review Request 62585: ATLAS-2179: Split Atlas client library to avoid unnecessary dependencies

2017-09-26 Thread Apoorv Naik

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

(Updated Sept. 26, 2017, 10:53 p.m.)


Review request for atlas and Madhan Neethiraj.


Changes
---

Updated various POMs after version update to 1.0.0-SNAPSHOT, some more code 
refactoring around the base client


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


Repository: atlas


Description
---

Split client library into V1 and V2 artifacts for lighter JARs


Diffs (updated)
-

  addons/falcon-bridge/pom.xml f0e668fb 
  addons/hdfs-model/pom.xml fe784422 
  addons/hive-bridge/pom.xml d16fde76 
  addons/sqoop-bridge/pom.xml c866f16a 
  addons/storm-bridge/pom.xml 87266815 
  authorization/pom.xml bc0882b2 
  
authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasAuthorizationUtils.java
 d67376fa 
  
authorization/src/main/java/org/apache/atlas/authorize/simple/PolicyParser.java 
fc611c8a 
  client/common/pom.xml PRE-CREATION 
  client/pom.xml 9d411760 
  client/src/main/assembly/all-jar.xml PRE-CREATION 
  client/src/main/java/org/apache/atlas/AtlasAdminClient.java  
  client/src/main/java/org/apache/atlas/AtlasBaseClient.java 602831a2 
  client/src/main/java/org/apache/atlas/AtlasClient.java 5fa5df79 
  client/src/main/java/org/apache/atlas/AtlasClientV2.java 2cb9e84b 
  client/src/main/java/org/apache/atlas/AtlasServerEnsemble.java  
  client/src/main/java/org/apache/atlas/AtlasServiceException.java b128f982 
  client/src/main/java/org/apache/atlas/CreateUpdateEntitiesResult.java  
  client/src/main/java/org/apache/atlas/EntityAuditEvent.java  
  client/src/main/java/org/apache/atlas/ResourceCreator.java  
  client/src/main/java/org/apache/atlas/SerDe.java  
  client/src/main/java/org/apache/atlas/security/SecureClientUtils.java  
  client/src/test/java/org/apache/atlas/AtlasClientTest.java c33906ac 
  client/v1-client/pom.xml PRE-CREATION 
  client/v2-client/pom.xml PRE-CREATION 
  common/pom.xml 7178bfa6 
  common/src/main/java/org/apache/atlas/ApplicationProperties.java  
  common/src/main/java/org/apache/atlas/AtlasException.java  
  common/src/main/java/org/apache/atlas/groovy/ArithmeticExpression.java 
a6e1689c 
  common/src/main/java/org/apache/atlas/security/InMemoryJAASConfiguration.java 
 
  common/src/main/java/org/apache/atlas/security/SecurityProperties.java  
  common/src/main/java/org/apache/atlas/utils/AuthenticationUtil.java  
  common/src/test/java/org/apache/atlas/ApplicationPropertiesTest.java  
  
common/src/test/java/org/apache/atlas/security/InMemoryJAASConfigurationTest.java
  
  
common/src/test/java/org/apache/atlas/security/InMemoryJAASConfigurationTicketBasedKafkaClientTest.java
  
  intg/src/test/resources/atlas-jaas.properties PRE-CREATION 
  intg/src/test/resources/test.properties PRE-CREATION 
  notification/pom.xml 192a3fc7 
  pom.xml 684535a6 
  repository/pom.xml 4252751d 
  
repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java
 3426ae51 
  
repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepository.java
 50b71167 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
 ad88c1b3 
  repository/src/test/java/org/apache/atlas/TestUtils.java 48912793 
  
repository/src/test/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepositoryDeleteTestBase.java
 0e220803 
  
repository/src/test/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepositoryTest.java
 d4c250cc 
  
repository/src/test/java/org/apache/atlas/repository/graph/ReverseReferenceUpdateTestBase.java
 26dc6a82 
  
repository/src/test/java/org/apache/atlas/service/DefaultMetadataServiceTest.java
 e93f08d6 
  server-api/pom.xml 05e5eec7 
  server-api/src/main/java/org/apache/atlas/services/MetadataService.java 
7fb3d3f6 
  typesystem/src/test/resources/atlas-application.properties 65dd9a31 
  webapp/pom.xml 8d03af7a 
  
webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java
 858b3200 
  webapp/src/main/java/org/apache/atlas/web/resources/EntityResource.java 
711cc04d 
  
webapp/src/test/java/org/apache/atlas/web/integration/AdminJerseyResourceIT.java
 cfe09d6f 
  
webapp/src/test/java/org/apache/atlas/web/integration/DataSetLineageJerseyResourceIT.java
 8c6ba775 
  
webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java
 ba5465d3 
  
webapp/src/test/java/org/apache/atlas/web/integration/EntityLineageJerseyResourceIT.java
 55c56c21 
  
webapp/src/test/java/org/apache/atlas/web/integration/MetadataDiscoveryJerseyResourceIT.java
 3fa85b18 
  
webapp/src/test/java/org/apache/atlas/web/integration/TypesJerseyResourceIT.java
 54db3c0c 


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

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


Testing (updated)
---

compile 

[GitHub] atlas pull request #1: fixed Export-API documentation curl example json synt...

2017-09-26 Thread Daniel-Lee-Narvar
GitHub user Daniel-Lee-Narvar opened a pull request:

https://github.com/apache/atlas/pull/1

fixed Export-API documentation curl example json syntax and options element 
to work properly

Was trying to follow along with examples and found these errors. I've 
corrected them and it should be straight forward documentation only merge.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/Daniel-Lee-Narvar/atlas master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/atlas/pull/1.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1


commit 251b69ec582fa1c285d93206c9029c8cbe6ab71f
Author: Daniel Lee (Narvar) 
<31146118+daniel-lee-nar...@users.noreply.github.com>
Date:   2017-09-26T22:40:20Z

fixed curl example json syntax and options element to work propoerly




---


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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2172: Atlas AD search filter is not get honored when logging into

--
[...truncated 68.34 MB...]
at 
com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.commit(StandardTitanTx.java:1337)
... 14 more
Caused by: com.thinkaurelius.titan.diskstorage.PermanentBackendException: 
Permanent failure in storage backend
at 
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEKeyValueStore.insert(BerkeleyJEKeyValueStore.java:206)
at 
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEKeyValueStore.insert(BerkeleyJEKeyValueStore.java:183)
at 
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.mutateMany(BerkeleyJEStoreManager.java:193)
at 
com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.mutateMany(OrderedKeyValueStoreManagerAdapter.java:100)
at 
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction$1.call(CacheTransaction.java:89)
at 
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction$1.call(CacheTransaction.java:86)
at 
com.thinkaurelius.titan.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:56)
at 
com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:42)
... 20 more
Caused by: com.sleepycat.je.LockTimeoutException: (JE 5.0.73) Lock expired. 
Locker 1506174035 13710_NotificationHookConsumer thread-0_Txn: waited for lock 
on database=edgestore LockAddr:2002219 LSN=0x0/0x59f704 type=WRITE 
grant=WAIT_PROMOTION timeoutMillis=500 startTime=1506463144163 
endTime=1506463144663
Owners: [, , , , ]
Waiters: []
Transaction 1506174035 13710_NotificationHookConsumer thread-0_Txn owns 
LockAddr:2002219 
Transaction 1506174035 13710_NotificationHookConsumer thread-0_Txn waits for 
LockAddr:2002219

at 
com.sleepycat.je.txn.LockManager.newLockTimeoutException(LockManager.java:664)
at 
com.sleepycat.je.txn.LockManager.makeTimeoutMsgInternal(LockManager.java:623)
at 
com.sleepycat.je.txn.SyncedLockManager.makeTimeoutMsg(SyncedLockManager.java:97)
at com.sleepycat.je.txn.LockManager.lockInternal(LockManager.java:390)
at com.sleepycat.je.txn.LockManager.lock(LockManager.java:276)
at com.sleepycat.je.txn.Txn.lockInternal(Txn.java:498)
at com.sleepycat.je.txn.Locker.lock(Locker.java:443)
at com.sleepycat.je.dbi.CursorImpl.lockLN(CursorImpl.java:2621)
at 
com.sleepycat.je.dbi.CursorImpl.getSlotReuseInfo(CursorImpl.java:1091)
at com.sleepycat.je.dbi.CursorImpl.putInternal(CursorImpl.java:880)
at com.sleepycat.je.dbi.CursorImpl.put(CursorImpl.java:811)
at com.sleepycat.je.Cursor.putAllowPhantoms(Cursor.java:2243)
at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:2200)
at com.sleepycat.je.Cursor.putNotify(Cursor.java:2117)
at com.sleepycat.je.Cursor.putNoDups(Cursor.java:2052)
at com.sleepycat.je.Cursor.putInternal(Cursor.java:2020)
at com.sleepycat.je.Database.putInternal(Database.java:1302)
at com.sleepycat.je.Database.put(Database.java:1172)
at 
com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEKeyValueStore.insert(BerkeleyJEKeyValueStore.java:194)
... 27 more
2017-09-26 21:59:04,671 INFO  - [NotificationHookConsumer thread-0:] ~ Sleeping 
for 500 ms before retry (NotificationHookConsumer$HookConsumer:421)
2017-09-26 21:59:05,172 WARN  - [NotificationHookConsumer thread-0:] ~ Max 
retries exceeded for message [{Id='(type: hive_db, id: )', 
traits=[], values={clusterName=primary, 
location=
 description=Default Hive database, qualifiedName=default@primary, ownerType=2, 
name=default, owner=public, parameters={}}}, {Id='(type: hive_table, id: 
)', traits=[], values={db={Id='(type: hive_db, id: )', 
traits=[], values={clusterName=primary, 
location=
 description=Default Hive database, qualifiedName=default@primary, ownerType=2, 
name=default, owner=public, parameters={}}}, 
createTime=2017-09-26T21:58:41.000Z, lastAccessTime=2017-09-26T21:58:41.000Z, 
qualifiedName=default.table5vnqelcf7y@primary, sd={Id='(type: hive_storagedesc, 
id: )', traits=[], values={compressed=false, 
serdeInfo=org.apache.atlas.typesystem.Struct@b4698dcb, 
location=
 outputFormat=org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, 
qualifiedName=default.table5vnqelcf7y@primary_storage, 
storedAsSubDirectories=false, numBuckets=-1, 
inputFormat=org.apache.hadoop.mapred.TextInputFormat, table=(type: hive_table, 
id: ), 

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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2176: NegativeSSLAndKerberosTest failing due to error in

[madhan] ATLAS-2172: Atlas AD search filter is not get honored when logging into

--
[...truncated 450.50 KB...]
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/sec HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/finance HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/FactwXeOZHzyYG HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/ETLbIapHAtDOq HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/DimensionE0Z1koJ4MB HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/MetricqaY9BJz35C HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/hive_db_v1 HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/hive_column_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:55 +] "GET 
/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "POST /api/atlas/types HTTP/1.1" 400 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/tableType HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/serdeType HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/classification HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/pii HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/phi HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/pci HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/sox HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/sec HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/finance HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/Factf2qeiuFCFY HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/ETLrThPwqUeAy HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/DimensionUZdDRb6djs HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/MetricOL8vg7o7de HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/hive_db_v1 HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/hive_column_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "GET 
/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "POST /api/atlas/types HTTP/1.1" 400 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:56 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:57 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 409 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:57 +] "GET 
/api/atlas/v2/types/enumdef/name/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:57 +] "GET 
/api/atlas/v2/types/enumdef/guid/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:57 +] "GET 
/api/atlas/v2/types/structdef/name/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:57 +] "GET 
/api/atlas/v2/types/structdef/guid/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:57 +] "GET 
/api/atlas/v2/types/classificationdef/name/blah HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:21:49:57 +] "GET 

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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2176: NegativeSSLAndKerberosTest failing due to error in

[madhan] ATLAS-2172: Atlas AD search filter is not get honored when logging into

--
[...truncated 262.10 KB...]
Running org.apache.atlas.TestModules
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.discovery.EntityDiscoveryServiceTest
Running org.apache.atlas.lineage.EntityLineageServiceTest
Running org.apache.atlas.service.DefaultMetadataServiceTest
Running org.apache.atlas.BaseRepositoryTest
Running org.apache.atlas.discovery.DataSetLineageServiceTest
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.RepositoryServiceLoadingTest
Running org.apache.atlas.util.CompiledQueryCacheKeyTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.806 sec - in 
org.apache.atlas.query.LexerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.99 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.88 sec - in 
org.apache.atlas.query.BaseGremlinTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.46 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.692 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.336 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.487 sec - in 
org.apache.atlas.TestModules
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.905 sec - in 
org.apache.atlas.util.CompiledQueryCacheKeyTest
Running org.apache.atlas.repository.graph.TestIntSequence
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.321 sec - in 
org.apache.atlas.query.QueryProcessorTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.633 sec - 
in org.apache.atlas.query.ExpressionTest
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.882 sec - 
in org.apache.atlas.query.ParserTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.444 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.178 sec - in 
org.apache.atlas.BaseRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.901 sec - in 
org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.686 sec - in 
org.apache.atlas.discovery.EntityDiscoveryServiceTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.734 sec - in 
org.apache.atlas.discovery.DataSetLineageServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.04 sec - in 
org.apache.atlas.RepositoryServiceLoadingTest
Running 

Re: Review Request 62585: ATLAS-2179: Split Atlas client library to avoid unnecessary dependencies

2017-09-26 Thread Madhan Neethiraj

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


Fix it, then Ship it!





client/common/pom.xml
Lines 25 (patched)


0.9-SNAPSHOT ==> 1.0.0-SNAPSHOT



client/src/main/java/org/apache/atlas/AtlasBaseClient.java
Line 62 (original), 67 (patched)


Consider avoiding references to API_V1 and API_V2 in 'common'; instead use 
the interface API.

Consider one of the following approaches to get API object in 
AtlasBaseClient:
1) Abstract methods:
 - protected abstract API getVersionAPI();
 - protected abstract API getStatusAPI();
 - protected abstract API getMetricsAPI();

2)Have the implementations pass API references vi AtlasBaseClient 
constructor:
 - protected AtlasBaseClient(API version, API status, API metrics);



client/v1-client/pom.xml
Lines 25 (patched)


0.9-SNAPSHOT ==> 1.0.0-SNAPSHOT



client/v2-client/pom.xml
Lines 25 (patched)


0.9-SNAPSHOT ==> 1.0.0-SNAPSHOT


- Madhan Neethiraj


On Sept. 26, 2017, 7:17 p.m., Apoorv Naik wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62585/
> ---
> 
> (Updated Sept. 26, 2017, 7:17 p.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-2179
> https://issues.apache.org/jira/browse/ATLAS-2179
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Split client library into V1 and V2 artifacts for lighter JARs
> 
> 
> Diffs
> -
> 
>   
> authorization/src/main/java/org/apache/atlas/authorize/simple/PolicyParser.java
>  fc611c8a 
>   client/common/pom.xml PRE-CREATION 
>   client/pom.xml 9d411760 
>   client/src/main/assembly/all-jar.xml PRE-CREATION 
>   client/src/main/java/org/apache/atlas/AtlasAdminClient.java  
>   client/src/main/java/org/apache/atlas/AtlasBaseClient.java 602831a2 
>   client/src/main/java/org/apache/atlas/AtlasClient.java 5fa5df79 
>   client/src/main/java/org/apache/atlas/AtlasClientV2.java 2cb9e84b 
>   client/src/main/java/org/apache/atlas/AtlasServerEnsemble.java  
>   client/src/main/java/org/apache/atlas/AtlasServiceException.java b128f982 
>   client/src/main/java/org/apache/atlas/CreateUpdateEntitiesResult.java  
>   client/src/main/java/org/apache/atlas/EntityAuditEvent.java  
>   client/src/main/java/org/apache/atlas/ResourceCreator.java  
>   client/src/main/java/org/apache/atlas/SerDe.java  
>   client/src/main/java/org/apache/atlas/security/SecureClientUtils.java  
>   client/src/test/java/org/apache/atlas/AtlasClientTest.java c33906ac 
>   client/v1-client/pom.xml PRE-CREATION 
>   client/v2-client/pom.xml PRE-CREATION 
>   common/pom.xml 7178bfa6 
>   common/src/main/java/org/apache/atlas/ApplicationProperties.java  
>   common/src/main/java/org/apache/atlas/AtlasException.java  
>   common/src/main/java/org/apache/atlas/groovy/ArithmeticExpression.java 
> a6e1689c 
>   
> common/src/main/java/org/apache/atlas/security/InMemoryJAASConfiguration.java 
>  
>   common/src/main/java/org/apache/atlas/security/SecurityProperties.java  
>   common/src/main/java/org/apache/atlas/utils/AuthenticationUtil.java  
>   common/src/test/java/org/apache/atlas/ApplicationPropertiesTest.java  
>   
> common/src/test/java/org/apache/atlas/security/InMemoryJAASConfigurationTest.java
>   
>   
> common/src/test/java/org/apache/atlas/security/InMemoryJAASConfigurationTicketBasedKafkaClientTest.java
>   
>   intg/src/test/resources/atlas-jaas.properties PRE-CREATION 
>   intg/src/test/resources/test.properties PRE-CREATION 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
>  ad88c1b3 
> 
> 
> Diff: https://reviews.apache.org/r/62585/diff/1/
> 
> 
> Testing
> ---
> 
> compile goes through fine
> mvn clean package also goes through fine
> 
> 
> Thanks,
> 
> Apoorv Naik
> 
>



Review Request 62585: ATLAS-2179: Split Atlas client library to avoid unnecessary dependencies

2017-09-26 Thread Apoorv Naik

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

Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

Split client library into V1 and V2 artifacts for lighter JARs


Diffs
-

  
authorization/src/main/java/org/apache/atlas/authorize/simple/PolicyParser.java 
fc611c8a 
  client/common/pom.xml PRE-CREATION 
  client/pom.xml 9d411760 
  client/src/main/assembly/all-jar.xml PRE-CREATION 
  client/src/main/java/org/apache/atlas/AtlasAdminClient.java  
  client/src/main/java/org/apache/atlas/AtlasBaseClient.java 602831a2 
  client/src/main/java/org/apache/atlas/AtlasClient.java 5fa5df79 
  client/src/main/java/org/apache/atlas/AtlasClientV2.java 2cb9e84b 
  client/src/main/java/org/apache/atlas/AtlasServerEnsemble.java  
  client/src/main/java/org/apache/atlas/AtlasServiceException.java b128f982 
  client/src/main/java/org/apache/atlas/CreateUpdateEntitiesResult.java  
  client/src/main/java/org/apache/atlas/EntityAuditEvent.java  
  client/src/main/java/org/apache/atlas/ResourceCreator.java  
  client/src/main/java/org/apache/atlas/SerDe.java  
  client/src/main/java/org/apache/atlas/security/SecureClientUtils.java  
  client/src/test/java/org/apache/atlas/AtlasClientTest.java c33906ac 
  client/v1-client/pom.xml PRE-CREATION 
  client/v2-client/pom.xml PRE-CREATION 
  common/pom.xml 7178bfa6 
  common/src/main/java/org/apache/atlas/ApplicationProperties.java  
  common/src/main/java/org/apache/atlas/AtlasException.java  
  common/src/main/java/org/apache/atlas/groovy/ArithmeticExpression.java 
a6e1689c 
  common/src/main/java/org/apache/atlas/security/InMemoryJAASConfiguration.java 
 
  common/src/main/java/org/apache/atlas/security/SecurityProperties.java  
  common/src/main/java/org/apache/atlas/utils/AuthenticationUtil.java  
  common/src/test/java/org/apache/atlas/ApplicationPropertiesTest.java  
  
common/src/test/java/org/apache/atlas/security/InMemoryJAASConfigurationTest.java
  
  
common/src/test/java/org/apache/atlas/security/InMemoryJAASConfigurationTicketBasedKafkaClientTest.java
  
  intg/src/test/resources/atlas-jaas.properties PRE-CREATION 
  intg/src/test/resources/test.properties PRE-CREATION 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
 ad88c1b3 


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


Testing
---

compile goes through fine
mvn clean package also goes through fine


Thanks,

Apoorv Naik



[jira] [Created] (ATLAS-2179) Split Atlas client library to avoid unnecessary dependencies

2017-09-26 Thread Apoorv Naik (JIRA)
Apoorv Naik created ATLAS-2179:
--

 Summary: Split Atlas client library to avoid unnecessary 
dependencies
 Key: ATLAS-2179
 URL: https://issues.apache.org/jira/browse/ATLAS-2179
 Project: Atlas
  Issue Type: Bug
Reporter: Apoorv Naik
Assignee: Apoorv Naik


Currently there's one monlith client jar which bring in atlas-typesystem as 
dependency for AtlasClientV1/AtlasClient which bloats up the jar size to around 
72 MB, splitting the client allows AtlasClientV2 library to be smaller in size 
(27 MB) which can be reduced further by excluding more unnecessary dependencies.



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


[jira] [Commented] (ATLAS-1690) Introduce top level relationships

2017-09-26 Thread Pierre Padovani (JIRA)

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

Pierre Padovani commented on ATLAS-1690:


[~davidrad] I create this issue, as it seems to be the one common behavior that 
seems to be affecting this feature:  
https://issues.apache.org/jira/browse/ATLAS-2178

> Introduce top level relationships
> -
>
> Key: ATLAS-1690
> URL: https://issues.apache.org/jira/browse/ATLAS-1690
> Project: Atlas
>  Issue Type: Improvement
>Reporter: David Radley
>Assignee: David Radley
>  Labels: VirtualDataConnector
> Attachments: Atlas_RelationDef_Json_Structure_v1.pdf, Atlas 
> Relationships proposal v1.0.pdf, Atlas Relationships proposal v1.10.pdf, 
> Atlas Relationships proposal v1.1.pdf, Atlas Relationships proposal v1.2.pdf, 
> Atlas Relationships proposal v1.3.pdf, Atlas Relationships proposal v1.4.pdf, 
> Atlas Relationships proposal v1.5.pdf, Atlas Relationships proposal v1.6.pdf, 
> Atlas Relationships proposal v1.7.pdf, Atlas Relationships proposal v1.8.pdf, 
> Atlas Relationships proposal v1.9.pdf
>
>
> Introduce top level relationships including support for 
> -many to many relationships
> - relationship names including the name for both ends and the relationship.



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


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

2017-09-26 Thread Pierre Padovani (JIRA)
Pierre Padovani created ATLAS-2178:
--

 Summary: 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: 0.9-incubating
Reporter: Pierre Padovani


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)


Re: Review Request 62577: [ATLAS-2176] NegativeSSLAndKerberosTest failing due to error in initialization

2017-09-26 Thread Ashutosh Mestry

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


Ship it!




Ship It!

- Ashutosh Mestry


On Sept. 26, 2017, 3:06 p.m., Gergo Barna wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62577/
> ---
> 
> (Updated Sept. 26, 2017, 3:06 p.m.)
> 
> 
> Review request for atlas, Madhan Neethiraj and Nixon Rodrigues.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS-2176 defending against NPE during initialization  
> (AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs)
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java
>  a65ec3a9ead1ce2fa91232bc56e601b31ccf750e 
> 
> 
> Diff: https://reviews.apache.org/r/62577/diff/1/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Gergo Barna
> 
>



[jira] [Updated] (ATLAS-2136) Change audit and notification entityChangeListener to start using v2 API structure

2017-09-26 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-2136:
--
Attachment: (was: ATLAS-2136.2.patch)

> Change audit and notification entityChangeListener to start using v2 API 
> structure
> --
>
> Key: ATLAS-2136
> URL: https://issues.apache.org/jira/browse/ATLAS-2136
> Project: Atlas
>  Issue Type: Improvement
>  Components:  atlas-core
>Affects Versions: 0.9-incubating
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
> Fix For: 0.9-incubating
>
>
> Currently audit and notification entityChangeListeners is using v1 API. This 
> needs to be migrated to start using v2 APIs. This is needed for notification 
> of tag propagation.
> Also provide a new REST API to get audit events for an entity using v2 
> structure



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


Re: Review Request 62342: [ATLAS-2136]: Change audit and notification entityChangeListener to start using v2 API structure

2017-09-26 Thread Sarath Subramanian

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

(Updated Sept. 26, 2017, 9:49 a.m.)


Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

Currently audit and notification entityChangeListeners is using v1 API. This 
needs to be migrated to start using v2 APIs. This is needed for notification of 
tag propagation.
Also provide a new REST API to get audit events for an entity using v2 structure


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/AtlasErrorCode.java d205faf5 
  intg/src/main/java/org/apache/atlas/listener/AtlasEntityChangeListener.java 
PRE-CREATION 
  
intg/src/main/java/org/apache/atlas/listener/AtlasRelationshipChangeListener.java
 PRE-CREATION 
  intg/src/main/java/org/apache/atlas/listener/ChangedTypeDefs.java 0636677a 
  intg/src/main/java/org/apache/atlas/listener/TypeDefChangeListener.java 
e8ac8f4a 
  intg/src/main/java/org/apache/atlas/model/audit/EntityAuditEventV2.java 
PRE-CREATION 
  
intg/src/main/java/org/apache/atlas/model/notification/AtlasClassificationNotification.java
 PRE-CREATION 
  
intg/src/main/java/org/apache/atlas/model/notification/AtlasEntityNotification.java
 PRE-CREATION 
  intg/src/main/java/org/apache/atlas/model/notification/AtlasNotification.java 
PRE-CREATION 
  
intg/src/main/java/org/apache/atlas/model/notification/AtlasNotificationType.java
 PRE-CREATION 
  
intg/src/main/java/org/apache/atlas/model/notification/AtlasRelationshipNotification.java
 PRE-CREATION 
  
intg/src/main/java/org/apache/atlas/model/notification/AtlasTypeDefNotification.java
 PRE-CREATION 
  
intg/src/main/java/org/apache/atlas/model/notification/EntityNotificationV2.java
 PRE-CREATION 
  
repository/src/main/java/org/apache/atlas/repository/audit/AtlasEntityAuditListener.java
 PRE-CREATION 
  
repository/src/main/java/org/apache/atlas/repository/audit/AtlasTypeDefAuditListener.java
 PRE-CREATION 
  
repository/src/main/java/org/apache/atlas/repository/audit/EntityAuditRepository.java
 9dc78350 
  
repository/src/main/java/org/apache/atlas/repository/audit/HBaseBasedAuditRepository.java
 5a5a2c10 
  
repository/src/main/java/org/apache/atlas/repository/audit/InMemoryEntityAuditRepository.java
 22d2a810 
  
repository/src/main/java/org/apache/atlas/repository/audit/NoopEntityAuditRepository.java
 c3826019 
  
repository/src/main/java/org/apache/atlas/repository/graph/FullTextMapperV2.java
 76acf8ce 
  
repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java
 8aa22377 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasEntityStore.java
 5a0b74e3 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java
 bd82eb51 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityChangeNotifier.java
 7b349c46 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java
 a5db81bf 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipChangeNotifier.java
 PRE-CREATION 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java
 9b273193 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasTypeDefGraphStoreV1.java
 603516d4 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
 ad88c1b3 
  
repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java 
99d21078 
  repository/src/test/java/org/apache/atlas/TestModules.java 144f6182 
  
repository/src/test/java/org/apache/atlas/repository/audit/AuditRepositoryV2TestBase.java
 PRE-CREATION 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ExportServiceTest.java
 7901ef68 
  
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1Test.java
 ef8bd2f2 
  
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1Test.java
 94cc5b93 
  
repository/src/test/java/org/apache/atlas/service/DefaultMetadataServiceTest.java
 e93f08d6 
  
webapp/src/main/java/org/apache/atlas/notification/AtlasEntityNotificationListener.java
 PRE-CREATION 
  
webapp/src/main/java/org/apache/atlas/notification/AtlasRelationshipNotificationListener.java
 PRE-CREATION 
  
webapp/src/main/java/org/apache/atlas/notification/AtlasTypeDefNotificationListener.java
 PRE-CREATION 
  webapp/src/main/java/org/apache/atlas/web/rest/EntityREST.java 0f6eeb11 


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

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


Testing
---

Validated HBase audit events and Kafka notification message for the following 
operations:
1. Entity Create
2. Entity Update
3. Entity Delete

[jira] [Updated] (ATLAS-2116) Implement tag propagation using relationships

2017-09-26 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-2116:
--
Attachment: Tag Propagation in Atlas.docx

> Implement tag propagation using relationships
> -
>
> Key: ATLAS-2116
> URL: https://issues.apache.org/jira/browse/ATLAS-2116
> Project: Atlas
>  Issue Type: New Feature
>  Components:  atlas-core
>Affects Versions: 0.9-incubating
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
> Fix For: 0.9-incubating
>
> Attachments: ATLAS-2116.1.patch, Tag Propagation in Atlas.docx
>
>
> Implement propagation of classifications using relationships. When a 
> classification is associated with an entity the tag is propagated to all its 
> associated entities using the tagPropagation property in the edges. Also 
> propagate tags, if tag is deleted or updated.
> tagPropagation properties can be NONE, BOTH, ONE_TO_TWO or TWO_TO_ONE
> propagate tags only if relationships tagPropagation property is BOTH, 
> ONE_TO_TWO or TWO_TO_ONE.



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


[jira] [Commented] (ATLAS-1690) Introduce top level relationships

2017-09-26 Thread David Radley (JIRA)

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

David Radley commented on ATLAS-1690:
-

[~ppadovani] In the master branch, we have added the new 
RelationshipDefs,[~sarath.ku...@gmail.com] has added support for relationship 
instances, there is an active Jira adding update and delete support. There is 
an ongoing Jira relating to the implementation of relationship  tagPropagation. 
Some work has been done to add tagPropagation to the existing Hadoop models, 
using relationshipDef type definitions; this is a way to get tag propagation 
with the legacy reference attributes. You need to move to the new cleaner 
relationships to get aggregation and many to many support.

I am not aware of any enhancements in the lineage area regarding relationships 
- I suggest you raise all the issues that you see as Jiras and we will have a 
look at them. 

Please raise as Jiras any issues/ regressions that you are seeing as 'a bit 
unstable', so we can fix them. 

> Introduce top level relationships
> -
>
> Key: ATLAS-1690
> URL: https://issues.apache.org/jira/browse/ATLAS-1690
> Project: Atlas
>  Issue Type: Improvement
>Reporter: David Radley
>Assignee: David Radley
>  Labels: VirtualDataConnector
> Attachments: Atlas_RelationDef_Json_Structure_v1.pdf, Atlas 
> Relationships proposal v1.0.pdf, Atlas Relationships proposal v1.10.pdf, 
> Atlas Relationships proposal v1.1.pdf, Atlas Relationships proposal v1.2.pdf, 
> Atlas Relationships proposal v1.3.pdf, Atlas Relationships proposal v1.4.pdf, 
> Atlas Relationships proposal v1.5.pdf, Atlas Relationships proposal v1.6.pdf, 
> Atlas Relationships proposal v1.7.pdf, Atlas Relationships proposal v1.8.pdf, 
> Atlas Relationships proposal v1.9.pdf
>
>
> Introduce top level relationships including support for 
> -many to many relationships
> - relationship names including the name for both ends and the relationship.



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


Re: Review Request 62577: [ATLAS-2176] NegativeSSLAndKerberosTest failing due to error in initialization

2017-09-26 Thread Madhan Neethiraj

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


Ship it!




Ship It!

- Madhan Neethiraj


On Sept. 26, 2017, 3:06 p.m., Gergo Barna wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62577/
> ---
> 
> (Updated Sept. 26, 2017, 3:06 p.m.)
> 
> 
> Review request for atlas, Madhan Neethiraj and Nixon Rodrigues.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS-2176 defending against NPE during initialization  
> (AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs)
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java
>  a65ec3a9ead1ce2fa91232bc56e601b31ccf750e 
> 
> 
> Diff: https://reviews.apache.org/r/62577/diff/1/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Gergo Barna
> 
>



Re: Review Request 62568: ATLAS-2174:- Code Improvement & Validations

2017-09-26 Thread Madhan Neethiraj

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




client/src/main/java/org/apache/atlas/AtlasBaseClient.java
Line 272 (original), 273 (patched)


It will be useful to add getNormalizedPath() to APIInfo class and call it 
from here.



repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
Lines 142 (patched)


Consider moving these length checks to REST layer.


- Madhan Neethiraj


On Sept. 26, 2017, 12:01 p.m., Nixon Rodrigues wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62568/
> ---
> 
> (Updated Sept. 26, 2017, 12:01 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, keval bhatt, Madhan 
> Neethiraj, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2174
> https://issues.apache.org/jira/browse/ATLAS-2174
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> This patch includes changes to
> 
> Add validation for query length.
> Add normalized api path.
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/atlas/AtlasBaseClient.java 602831a 
>   common/src/main/java/org/apache/atlas/repository/Constants.java d5283c1 
>   intg/src/main/java/org/apache/atlas/AtlasErrorCode.java d205faf 
>   
> repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
>  40c66dd 
> 
> 
> Diff: https://reviews.apache.org/r/62568/diff/1/
> 
> 
> Testing
> ---
> 
> Testing cases working.
> Run Quick Start script and loaded sample data, UI is loading fine.
> 
> 
> Thanks,
> 
> Nixon Rodrigues
> 
>



Re: Review Request 62577: [ATLAS-2176] NegativeSSLAndKerberosTest failing due to error in initialization

2017-09-26 Thread Apoorv Naik

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


Fix it, then Ship it!




Minor formatting change, otherwise looks good.


repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java
Line 121 (original), 122 (patched)


Spaces instead of tabs


- Apoorv Naik


On Sept. 26, 2017, 3:06 p.m., Gergo Barna wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62577/
> ---
> 
> (Updated Sept. 26, 2017, 3:06 p.m.)
> 
> 
> Review request for atlas, Madhan Neethiraj and Nixon Rodrigues.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> ATLAS-2176 defending against NPE during initialization  
> (AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs)
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java
>  a65ec3a9ead1ce2fa91232bc56e601b31ccf750e 
> 
> 
> Diff: https://reviews.apache.org/r/62577/diff/1/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Gergo Barna
> 
>



Re: Review Request 62568: ATLAS-2174:- Code Improvement & Validations

2017-09-26 Thread Apoorv Naik

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


Ship it!




Ship It!

- Apoorv Naik


On Sept. 26, 2017, 12:01 p.m., Nixon Rodrigues wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62568/
> ---
> 
> (Updated Sept. 26, 2017, 12:01 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, keval bhatt, Madhan 
> Neethiraj, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2174
> https://issues.apache.org/jira/browse/ATLAS-2174
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> This patch includes changes to
> 
> Add validation for query length.
> Add normalized api path.
> 
> 
> Diffs
> -
> 
>   client/src/main/java/org/apache/atlas/AtlasBaseClient.java 602831a 
>   common/src/main/java/org/apache/atlas/repository/Constants.java d5283c1 
>   intg/src/main/java/org/apache/atlas/AtlasErrorCode.java d205faf 
>   
> repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
>  40c66dd 
> 
> 
> Diff: https://reviews.apache.org/r/62568/diff/1/
> 
> 
> Testing
> ---
> 
> Testing cases working.
> Run Quick Start script and loaded sample data, UI is loading fine.
> 
> 
> Thanks,
> 
> Nixon Rodrigues
> 
>



Review Request 62577: [ATLAS-2176] NegativeSSLAndKerberosTest failing due to error in initialization

2017-09-26 Thread Gergo Barna

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

Review request for atlas, Madhan Neethiraj and Nixon Rodrigues.


Repository: atlas


Description
---

ATLAS-2176 defending against NPE during initialization  
(AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs)


Diffs
-

  
repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java
 a65ec3a9ead1ce2fa91232bc56e601b31ccf750e 


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


Testing
---


Thanks,

Gergo Barna



[jira] [Commented] (ATLAS-1690) Introduce top level relationships

2017-09-26 Thread Pierre Padovani (JIRA)

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

Pierre Padovani commented on ATLAS-1690:


[~davidrad] Thanks for the explanation.

What is the status of this work? I've tried using 0.9 and have found the new 
relationship system to be a bit unstable in regards to the legacy 
compatibility. I've also noticed that the existing lineage API does not 
function correctly in conjunction with an implementation that uses relationship 
defs. The exact same model without defined relationship defs, functions 
correctly in 0.8.1.

Thanks!

Pierre

> Introduce top level relationships
> -
>
> Key: ATLAS-1690
> URL: https://issues.apache.org/jira/browse/ATLAS-1690
> Project: Atlas
>  Issue Type: Improvement
>Reporter: David Radley
>Assignee: David Radley
>  Labels: VirtualDataConnector
> Attachments: Atlas_RelationDef_Json_Structure_v1.pdf, Atlas 
> Relationships proposal v1.0.pdf, Atlas Relationships proposal v1.10.pdf, 
> Atlas Relationships proposal v1.1.pdf, Atlas Relationships proposal v1.2.pdf, 
> Atlas Relationships proposal v1.3.pdf, Atlas Relationships proposal v1.4.pdf, 
> Atlas Relationships proposal v1.5.pdf, Atlas Relationships proposal v1.6.pdf, 
> Atlas Relationships proposal v1.7.pdf, Atlas Relationships proposal v1.8.pdf, 
> Atlas Relationships proposal v1.9.pdf
>
>
> Introduce top level relationships including support for 
> -many to many relationships
> - relationship names including the name for both ends and the relationship.



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


[jira] [Assigned] (ATLAS-2176) NegativeSSLAndKerberosTest failing due to error in initialization

2017-09-26 Thread JIRA

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

Péter Gergő Barna reassigned ATLAS-2176:


Assignee: Péter Gergő Barna

> NegativeSSLAndKerberosTest failing due to error in initialization
> -
>
> Key: ATLAS-2176
> URL: https://issues.apache.org/jira/browse/ATLAS-2176
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nixon Rodrigues
>Assignee: Péter Gergő Barna
>
> {noformat}
> 602 2017-09-26 16:16:10,341 INFO  - [main:] ~ <== 
> AtlasTypeDefGraphStore.init() (AtlasTypeDefGraphStore:105)
> 603 2017-09-26 16:16:10,341 INFO  - [main:] ~ <== 
> AtlasTypeDefGraphStoreV1.init() (AtlasTypeDefGraphStoreV1:111)
> 604 2017-09-26 16:16:10,342 INFO  - [main:] ~ ==> 
> AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs() 
> (AtlasTypeDefStoreInitializer:109)
> 605 2017-09-26 16:16:10,349 WARN  - [main:] ~ Exception encountered during 
> context initialization - cancelling refresh attempt: org.springfra
> 606 2017-09-26 16:16:10,588 ERROR - [main:] ~ Context initialization failed 
> (ContextLoader:350)
> 607 org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'atlasTypeDefStoreInitializer': Invocation of init
> 608   at 
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnot
> 609   at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAut
> 610   at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:
> 611   at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:55
> 612   at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> 613   at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
>  
> {noformat}
> {noformat}
> Caused by: java.lang.NullPointerException
> 671   at java.util.Arrays.sort(Arrays.java:1246)
> 672   at 
> org.apache.atlas.repository.store.bootstrap.AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs(AtlasTypeDefStoreInitializer.java:121
> 673   at 
> org.apache.atlas.repository.store.bootstrap.AtlasTypeDefStoreInitializer.init(AtlasTypeDefStoreInitializer.java:93)
> 674   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 675   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 676   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 677   at java.lang.reflect.Method.invoke(Method.java:498)
> 678   at 
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBea
> 679   at 
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyA
> 680   at 
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnot
> 681   ... 61 more
> 682 2017-09-26 16:16:10,590 WARN  - [main:] ~ Failed startup of context 
> o.e.j.w.WebAppContext@631990cc{/,file:/home/nixon/createpatch/apache-
> 683 org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'atlasTypeDefStoreInitializer': Invocation of init
> 684   at 
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnot
> 685   at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAut
> 686   at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java
> {noformat}



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


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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-2168 : When a second search is fired in between the pages of the

[kbhatt] ATLAS-2130 : Call made to fetch tables of a database doesn't have

[kbhatt] ATLAS-2153 : UI : Adding more columns to the search table masks the

--
[...truncated 491.44 KB...]
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "GET /api/atlas/entities/blah 
HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "GET 
/api/atlas/v2/types/typedef/name/PII_TraitWwXnzGZdyk HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "POST 
/api/atlas/entities/c34b572f-5fd2-41a7-8679-424f88ade9ae/traits HTTP/1.1" 201 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "GET 
/api/atlas/entities/c34b572f-5fd2-41a7-8679-424f88ade9ae/traitDefinitions/PII_TraitWwXnzGZdyk
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "GET 
/api/atlas/entities/c34b572f-5fd2-41a7-8679-424f88ade9ae/traitDefinitions 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "GET 
/api/atlas/entities/f2096ca6-89bf-4a4c-b893-8632d681c178/traits HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:20 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST 
/api/atlas/entities/72c3074d-f0a9-49bc-9333-22daa71b6305 HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "GET 
/api/atlas/entities/72c3074d-f0a9-49bc-9333-22daa71b6305 HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST 
/api/atlas/entities/qualifiedName?type=hive_table=qualifiedName=tableALNIPDjtAO
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "GET 
/api/atlas/entities/bfbe98dc-7109-442a-b460-c491ef23ab93 HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "GET 
/api/atlas/entities/b31d9c65-e068-4d08-96d4-13017b9478a7/audit?count=10 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
400 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "GET 
/api/atlas/v2/types/typedef/name/RznTXOSS73 HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "GET 
/api/atlas/entities/56e911bf-3023-46dd-a88e-347d746dc662 HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "GET 
/api/atlas/v2/entity/guid/965c5715-c194-4986-844b-9b2820e1a803 HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:21 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:22 +] "POST 
/api/atlas/v2/entity/guid/random/classifications HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:22 +] "POST /api/atlas/v2/entity/bulk/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:22 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:22 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:53:22 +] "DELETE 

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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-2168 : When a second search is fired in between the pages of the

[kbhatt] ATLAS-2153 : UI : Adding more columns to the search table masks the

[kbhatt] ATLAS-2130 : Call made to fetch tables of a database doesn't have

--
[...truncated 450.66 KB...]
127.0.0.1 - - [26/Sep/2017:13:43:01 +] "GET 
/api/atlas/v2/types/typedef/name/salary_trait HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:01 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "GET 
/api/atlas/v2/types/typedef/name/sox_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "GET /api/atlas/types?type=TRAIT 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "PUT /api/atlas/types HTTP/1.1" 200 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "GET /api/atlas/types/NKBih2Wy7E 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "GET 
/api/atlas/v2/types/typedef/name/ApLwjAsDrGo HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "GET 
/api/atlas/v2/types/typedef/name/A1apLyBhsr2g HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:02 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:03 +] "GET 
/api/atlas/v2/types/typedef/name/BPBJE2fRECw HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:03 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:03 +] "GET 
/api/atlas/v2/types/typedef/name/CTgX2n7Y6Qs HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:03 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:03 +] "GET 
/api/atlas/types?type=CLASS=ApLwjAsDrGo=BPBJE2fRECw 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:03 +] "GET /api/atlas/types/blah HTTP/1.1" 
404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/tableType HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/serdeType HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/classification HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/pii HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/phi HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/pci HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/sox HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/sec HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/finance HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/FactzDhV0Uh4V8 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/ETLbsSVHk3vRP HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/DimensionK2zmZoeGQO HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/MetricOW1J0fLTjZ HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/hive_db_v1 HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/hive_column_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/hive_table_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:07 +] "GET 
/api/atlas/v2/types/typedef/name/hive_process_v1 HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:13:43:08 +] "POST /api/atlas/types HTTP/1.1" 400 
- "-" "Java/1.7.0_80"
Tests run: 143, Failures: 16, Errors: 0, Skipped: 100, Time elapsed: 19.479 sec 
<<< FAILURE! - in TestSuite
setUp(org.apache.atlas.web.integration.EntityDiscoveryJerseyResourceIT)  Time 
elapsed: 3.922 

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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-2168 : When a second search is fired in between the pages of the

[kbhatt] ATLAS-2153 : UI : Adding more columns to the search table masks the

[kbhatt] ATLAS-2130 : Call made to fetch tables of a database doesn't have

--
[...truncated 262.11 KB...]
Running org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
Running org.apache.atlas.discovery.DataSetLineageServiceTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running org.apache.atlas.query.ParserTest
Running org.apache.atlas.RepositoryServiceLoadingTest
Running org.apache.atlas.lineage.EntityLineageServiceTest
Running org.apache.atlas.TestModules
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.discovery.EntityDiscoveryServiceTest
Running org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.SoftDeleteHandlerV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.868 sec - in 
org.apache.atlas.BaseRepositoryTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.521 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.876 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.765 sec - in 
org.apache.atlas.query.BaseGremlinTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.005 sec - in 
org.apache.atlas.TestModules
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.238 sec - in 
org.apache.atlas.util.CompiledQueryCacheKeyTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Running org.apache.atlas.repository.graph.TestIntSequence
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.378 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.039 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.164 sec - in 
org.apache.atlas.query.LexerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.124 sec - in 
org.apache.atlas.query.QueryProcessorTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.336 sec - 
in org.apache.atlas.query.ParserTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.42 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.964 sec - 
in org.apache.atlas.query.ExpressionTest
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.866 sec - in 
org.apache.atlas.services.MetricsServiceTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.282 sec - in 
org.apache.atlas.RepositoryServiceLoadingTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.111 sec - in 
org.apache.atlas.discovery.DataSetLineageServiceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.347 sec - in 

[jira] [Resolved] (ATLAS-2177) offset is not reset when search by type is changed, leads to undesired results.

2017-09-26 Thread Keval Bhatt (JIRA)

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

Keval Bhatt resolved ATLAS-2177.

Resolution: Duplicate

> offset is not reset when search by type is changed, leads to undesired 
> results.
> ---
>
> Key: ATLAS-2177
> URL: https://issues.apache.org/jira/browse/ATLAS-2177
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.9-incubating
>Reporter: Ayub Pathan
>Assignee: Keval Bhatt
>Priority: Critical
> Fix For: 0.9-incubating
>
> Attachments: bug-snap2.mp4
>
>
> Attaching recording for reference.



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


[jira] [Commented] (ATLAS-2168) When a second search is fired in between the pages of the first search results , offset is not reset to 0

2017-09-26 Thread Keval Bhatt (JIRA)

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

Keval Bhatt commented on ATLAS-2168:


Thanks [~nixonrodrigues] for review.

Committed to.
Master: http://git-wip-us.apache.org/repos/asf/atlas/commit/24d8d186
Branch-0.8: http://git-wip-us.apache.org/repos/asf/atlas/commit/a918714b

> When a second search is fired in between the pages of the first search 
> results , offset is not reset to 0
> -
>
> Key: ATLAS-2168
> URL: https://issues.apache.org/jira/browse/ATLAS-2168
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.9-incubating
>Reporter: Sharmadha Sainath
>Assignee: Keval Bhatt
>Priority: Critical
> Attachments: ATLAS-2168.patch
>
>
> 1.Created 8 hive_table entities.
> 2.Created 3 hdfs_path entities.
> 3. Searched for typename = hive_table , with page limit = 3.
> 4. Navigated to page 3 which had 2 hive_table entities. Now offset is 6 and 
> limit is 3.
> 5. Now fired basic search typename = hdfs_path. (without clicking Clear).
> 6.Expected result table would list 3 hdfs_path entities. But no results were 
> fetched. Since offset is still set to 6. 
> 7. If Clear button was clicked before making the hdfs_path query , offset is 
> set to 0.



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


Re: Review Request 62559: ATLAS-2168 : When a second search is fired in between the pages of the first search results , offset is not reset to 0

2017-09-26 Thread Nixon Rodrigues

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


Ship it!




Ship It!

- Nixon Rodrigues


On Sept. 26, 2017, 7:12 a.m., keval bhatt wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62559/
> ---
> 
> (Updated Sept. 26, 2017, 7:12 a.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Nixon Rodrigues, 
> and Sharmadha Sainath.
> 
> 
> Bugs: ATLAS-2168
> https://issues.apache.org/jira/browse/ATLAS-2168
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> 1. Created 8 hive_table entities.
> 2. Created 3 hdfs_path entities.
> 3. Searched for typename = hive_table , with page limit = 3.
> 4. Navigated to page 3 which had 2 hive_table entities. Now offset is 6 and 
> limit is 3.
> 5. Now fired basic search typename = hdfs_path. (without clicking Clear).
> 6. Expected result table would list 3 hdfs_path entities. But no results were 
> fetched. Since offset is still set to
> 7. If Clear button was clicked before making the hdfs_path query , offset is 
> set to 0.
> 
> 
> Diffs
> -
> 
>   dashboardv2/public/js/views/search/SearchLayoutView.js b032ea9 
> 
> 
> Diff: https://reviews.apache.org/r/62559/diff/1/
> 
> 
> Testing
> ---
> 
> Tested by changing tag/query/type UI is resetting offset to 0
> 
> 
> Thanks,
> 
> keval bhatt
> 
>



[jira] [Assigned] (ATLAS-2177) offset is not reset when search by type is changed, leads to undesired results.

2017-09-26 Thread Keval Bhatt (JIRA)

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

Keval Bhatt reassigned ATLAS-2177:
--

Assignee: Keval Bhatt

> offset is not reset when search by type is changed, leads to undesired 
> results.
> ---
>
> Key: ATLAS-2177
> URL: https://issues.apache.org/jira/browse/ATLAS-2177
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.9-incubating
>Reporter: Ayub Pathan
>Assignee: Keval Bhatt
>Priority: Critical
> Fix For: 0.9-incubating
>
> Attachments: bug-snap2.mp4
>
>
> Attaching recording for reference.



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


Re: Review Request 62560: ATLAS-2130 : Call made to fetch tables of a database doesn't have exlcudeDeletedEntities parameter

2017-09-26 Thread Nixon Rodrigues

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


Ship it!




Ship It!

- Nixon Rodrigues


On Sept. 26, 2017, 7:15 a.m., keval bhatt wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62560/
> ---
> 
> (Updated Sept. 26, 2017, 7:15 a.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Nixon Rodrigues, 
> and Sharmadha Sainath.
> 
> 
> Bugs: ATLAS-2130
> https://issues.apache.org/jira/browse/ATLAS-2130
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Following is the query fired to fetch the tables in a db :
> 
> ```
> http://localhost:21000/api/atlas/v2/search/relationship?limit=25=8b110b04-b5ad-4738-b7f7-576cc85b2fd4=__hive_table.db=name=ASCENDING&_=1505280717115
> ```
> 
> Since exlcudeDeletedEntities=true is not set in the param , deleted tables 
> are also shown in the Tables tab of a hive_database's detailPage.
> 
> 
> Diffs
> -
> 
>   dashboardv2/public/js/router/Router.js 64eb3f3 
>   dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js 480e9e3 
>   dashboardv2/public/js/views/profile/ProfileLayoutView.js 6b640d9 
>   dashboardv2/public/js/views/search/SearchResultLayoutView.js f20dc6e 
> 
> 
> Diff: https://reviews.apache.org/r/62560/diff/1/
> 
> 
> Testing
> ---
> 
> Tested DB tables tab its working as expected
> 
> 
> Thanks,
> 
> keval bhatt
> 
>



Re: Review Request 62561: ATLAS-2153 : UI : Adding more columns to the search table masks the "Remove tag" button

2017-09-26 Thread Nixon Rodrigues

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


Ship it!




Ship It!

- Nixon Rodrigues


On Sept. 26, 2017, 7:20 a.m., keval bhatt wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62561/
> ---
> 
> (Updated Sept. 26, 2017, 7:20 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, 
> Nixon Rodrigues, and Sharmadha Sainath.
> 
> 
> Bugs: ATLAS-2153
> https://issues.apache.org/jira/browse/ATLAS-2153
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> For basic search typename = hive_table , 20 attributes can be added in the 
> columns filter. When more attributes are added , "Remove Tag" (Cross button) 
> on the Tag under Tags column  is masked. This happens when the screen size is 
> less and more columns are added. When columns are removed , Remove button 
> shows up again.
> 
> 
> Diffs
> -
> 
>   dashboardv2/public/css/scss/form.scss b83fb9c 
> 
> 
> Diff: https://reviews.apache.org/r/62561/diff/1/
> 
> 
> Testing
> ---
> 
> Tested with small screen and also tested with adding more columns in search 
> table.
> 
> 
> Thanks,
> 
> keval bhatt
> 
>



Re: Review Request 62566: [ATLAS-2172] Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Nixon Rodrigues

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


Ship it!




Ship It!

- Nixon Rodrigues


On Sept. 26, 2017, 11:57 a.m., Gergo Barna wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62566/
> ---
> 
> (Updated Sept. 26, 2017, 11:57 a.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> there was a missing setSearchFilter API call which is only present in the 
> Spring Security API from version 3.2.6
> https://docs.spring.io/spring-security/site/docs/3.2.6.RELEASE/apidocs/org/springframework/security/ldap/authentication/ad/ActiveDirectoryLdapAuthenticationProvider.html
> 
> 
> Diffs
> -
> 
>   
> webapp/src/main/java/org/apache/atlas/web/security/AtlasADAuthenticationProvider.java
>  b123c52d065abea5c21f8a430c7ef8f830bc04a6 
>   webapp/src/main/webapp/WEB-INF/applicationContext.xml 
> aae2aa0116000d030070192249c930af35e84f0e 
> 
> 
> Diff: https://reviews.apache.org/r/62566/diff/2/
> 
> 
> Testing
> ---
> 
> 
> File Attachments
> 
> 
> ATLAS-2172.rbt.diff
>   
> https://reviews.apache.org/media/uploaded/files/2017/09/26/b94020c8-e019-452d-99b2-104115a19546__ATLAS-2172.rbt.diff
> 
> 
> Thanks,
> 
> Gergo Barna
> 
>



Review Request 62568: ATLAS-2174:- Code Improvement & Validations

2017-09-26 Thread Nixon Rodrigues

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

Review request for atlas, Apoorv Naik, Ashutosh Mestry, keval bhatt, Madhan 
Neethiraj, and Sarath Subramanian.


Repository: atlas


Description
---

This patch includes changes to

Add validation for query length.
Add normalized api path.


Diffs
-

  client/src/main/java/org/apache/atlas/AtlasBaseClient.java 602831a 
  common/src/main/java/org/apache/atlas/repository/Constants.java d5283c1 
  intg/src/main/java/org/apache/atlas/AtlasErrorCode.java d205faf 
  
repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java 
40c66dd 


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


Testing
---

Testing cases working.
Run Quick Start script and loaded sample data, UI is loading fine.


Thanks,

Nixon Rodrigues



Re: Review Request 62566: [ATLAS-2172] Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Gergo Barna

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

(Updated szept. 26, 2017, 11:57 de)


Review request for atlas and Madhan Neethiraj.


Repository: atlas


Description
---

there was a missing setSearchFilter API call which is only present in the 
Spring Security API from version 3.2.6
https://docs.spring.io/spring-security/site/docs/3.2.6.RELEASE/apidocs/org/springframework/security/ldap/authentication/ad/ActiveDirectoryLdapAuthenticationProvider.html


Diffs (updated)
-

  
webapp/src/main/java/org/apache/atlas/web/security/AtlasADAuthenticationProvider.java
 b123c52d065abea5c21f8a430c7ef8f830bc04a6 
  webapp/src/main/webapp/WEB-INF/applicationContext.xml 
aae2aa0116000d030070192249c930af35e84f0e 


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

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


Testing
---


File Attachments


ATLAS-2172.rbt.diff
  
https://reviews.apache.org/media/uploaded/files/2017/09/26/b94020c8-e019-452d-99b2-104115a19546__ATLAS-2172.rbt.diff


Thanks,

Gergo Barna



[jira] [Updated] (ATLAS-2172) Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread JIRA

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

Péter Gergő Barna updated ATLAS-2172:
-
Attachment: (was: ATLAS-2172.patch)

> Atlas AD search filter is not get honored when logging into Atlas UI
> 
>
> Key: ATLAS-2172
> URL: https://issues.apache.org/jira/browse/ATLAS-2172
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Nixon Rodrigues
>Assignee: Péter Gergő Barna
>




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


[jira] [Commented] (ATLAS-2177) offset is not reset when search by type is changed, leads to undesired results.

2017-09-26 Thread Sharmadha Sainath (JIRA)

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

Sharmadha Sainath commented on ATLAS-2177:
--

[~ayubkhan] Looks like duplicate of 
[ATLAS-2168|https://issues.apache.org/jira/browse/ATLAS-2168]

> offset is not reset when search by type is changed, leads to undesired 
> results.
> ---
>
> Key: ATLAS-2177
> URL: https://issues.apache.org/jira/browse/ATLAS-2177
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.9-incubating
>Reporter: Ayub Pathan
>Priority: Critical
> Fix For: 0.9-incubating
>
> Attachments: bug-snap2.mp4
>
>
> Attaching recording for reference.



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


[jira] [Created] (ATLAS-2177) offset is not reset when search by type is changed, leads to undesired results.

2017-09-26 Thread Ayub Pathan (JIRA)
Ayub Pathan created ATLAS-2177:
--

 Summary: offset is not reset when search by type is changed, leads 
to undesired results.
 Key: ATLAS-2177
 URL: https://issues.apache.org/jira/browse/ATLAS-2177
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Affects Versions: 0.9-incubating
Reporter: Ayub Pathan
Priority: Critical
 Fix For: 0.9-incubating
 Attachments: bug-snap2.mp4

Attaching recording for reference.



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


[jira] [Updated] (ATLAS-2172) Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread JIRA

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

Péter Gergő Barna updated ATLAS-2172:
-
Attachment: ATLAS-2172.patch

> Atlas AD search filter is not get honored when logging into Atlas UI
> 
>
> Key: ATLAS-2172
> URL: https://issues.apache.org/jira/browse/ATLAS-2172
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Nixon Rodrigues
>Assignee: Péter Gergő Barna
> Attachments: ATLAS-2172.patch
>
>




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


[jira] [Commented] (ATLAS-2172) Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread JIRA

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

Péter Gergő Barna commented on ATLAS-2172:
--

review link https://reviews.apache.org/r/62566/diff/1#index_header

> Atlas AD search filter is not get honored when logging into Atlas UI
> 
>
> Key: ATLAS-2172
> URL: https://issues.apache.org/jira/browse/ATLAS-2172
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Nixon Rodrigues
>Assignee: Péter Gergő Barna
>




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


Review Request 62566: [ATLAS-2172] Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Gergo Barna

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

Review request for atlas.


Repository: atlas


Description
---

there was a missing setSearchFilter API call which is only present in the 
Spring Security API from version 3.2.6
https://docs.spring.io/spring-security/site/docs/3.2.6.RELEASE/apidocs/org/springframework/security/ldap/authentication/ad/ActiveDirectoryLdapAuthenticationProvider.html


Diffs
-

  
webapp/src/main/java/org/apache/atlas/web/security/AtlasADAuthenticationProvider.java
 b123c52d065abea5c21f8a430c7ef8f830bc04a6 
  webapp/src/main/webapp/WEB-INF/applicationContext.xml 
aae2aa0116000d030070192249c930af35e84f0e 


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


Testing
---


File Attachments


ATLAS-2172.rbt.diff
  
https://reviews.apache.org/media/uploaded/files/2017/09/26/b94020c8-e019-452d-99b2-104115a19546__ATLAS-2172.rbt.diff


Thanks,

Gergo Barna



[jira] [Created] (ATLAS-2176) NegativeSSLAndKerberosTest failing due to error in initialization

2017-09-26 Thread Nixon Rodrigues (JIRA)
Nixon Rodrigues created ATLAS-2176:
--

 Summary: NegativeSSLAndKerberosTest failing due to error in 
initialization
 Key: ATLAS-2176
 URL: https://issues.apache.org/jira/browse/ATLAS-2176
 Project: Atlas
  Issue Type: Bug
Reporter: Nixon Rodrigues


{noformat}
602 2017-09-26 16:16:10,341 INFO  - [main:] ~ <== AtlasTypeDefGraphStore.init() 
(AtlasTypeDefGraphStore:105)
603 2017-09-26 16:16:10,341 INFO  - [main:] ~ <== 
AtlasTypeDefGraphStoreV1.init() (AtlasTypeDefGraphStoreV1:111)
604 2017-09-26 16:16:10,342 INFO  - [main:] ~ ==> 
AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs() 
(AtlasTypeDefStoreInitializer:109)
605 2017-09-26 16:16:10,349 WARN  - [main:] ~ Exception encountered during 
context initialization - cancelling refresh attempt: org.springfra
606 2017-09-26 16:16:10,588 ERROR - [main:] ~ Context initialization failed 
(ContextLoader:350)
607 org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'atlasTypeDefStoreInitializer': Invocation of init
608   at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnot
609   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAut
610   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:
611   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:55
612   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
613   at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
 
{noformat}

{noformat}
Caused by: java.lang.NullPointerException
671   at java.util.Arrays.sort(Arrays.java:1246)
672   at 
org.apache.atlas.repository.store.bootstrap.AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs(AtlasTypeDefStoreInitializer.java:121
673   at 
org.apache.atlas.repository.store.bootstrap.AtlasTypeDefStoreInitializer.init(AtlasTypeDefStoreInitializer.java:93)
674   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
675   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
676   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
677   at java.lang.reflect.Method.invoke(Method.java:498)
678   at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBea
679   at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyA
680   at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnot
681   ... 61 more
682 2017-09-26 16:16:10,590 WARN  - [main:] ~ Failed startup of context 
o.e.j.w.WebAppContext@631990cc{/,file:/home/nixon/createpatch/apache-
683 org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'atlasTypeDefStoreInitializer': Invocation of init
684   at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnot
685   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAut
686   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java

{noformat}






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


[jira] [Created] (ATLAS-2175) Infinite refresh scroll appears when a search query is saved.

2017-09-26 Thread Ayub Pathan (JIRA)
Ayub Pathan created ATLAS-2175:
--

 Summary: Infinite refresh scroll appears when a search query is 
saved.
 Key: ATLAS-2175
 URL: https://issues.apache.org/jira/browse/ATLAS-2175
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Affects Versions: 0.9-incubating
Reporter: Ayub Pathan
 Fix For: 0.9-incubating
 Attachments: bug-snap.mp4

Attaching a recording for reference.




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


Review Request 62560: ATLAS-2130 : Call made to fetch tables of a database doesn't have exlcudeDeletedEntities parameter

2017-09-26 Thread keval bhatt

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

Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Nixon Rodrigues, 
and Sharmadha Sainath.


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


Repository: atlas


Description
---

Following is the query fired to fetch the tables in a db :

```
http://localhost:21000/api/atlas/v2/search/relationship?limit=25=8b110b04-b5ad-4738-b7f7-576cc85b2fd4=__hive_table.db=name=ASCENDING&_=1505280717115
```

Since exlcudeDeletedEntities=true is not set in the param , deleted tables are 
also shown in the Tables tab of a hive_database's detailPage.


Diffs
-

  dashboardv2/public/js/router/Router.js 64eb3f3 
  dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js 480e9e3 
  dashboardv2/public/js/views/profile/ProfileLayoutView.js 6b640d9 
  dashboardv2/public/js/views/search/SearchResultLayoutView.js f20dc6e 


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


Testing
---

Tested DB tables tab its working as expected


Thanks,

keval bhatt



Review Request 62559: ATLAS-2168 : When a second search is fired in between the pages of the first search results , offset is not reset to 0

2017-09-26 Thread keval bhatt

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

Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Nixon Rodrigues, 
and Sharmadha Sainath.


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


Repository: atlas


Description
---

1. Created 8 hive_table entities.
2. Created 3 hdfs_path entities.
3. Searched for typename = hive_table , with page limit = 3.
4. Navigated to page 3 which had 2 hive_table entities. Now offset is 6 and 
limit is 3.
5. Now fired basic search typename = hdfs_path. (without clicking Clear).
6. Expected result table would list 3 hdfs_path entities. But no results were 
fetched. Since offset is still set to
7. If Clear button was clicked before making the hdfs_path query , offset is 
set to 0.


Diffs
-

  dashboardv2/public/js/views/search/SearchLayoutView.js b032ea9 


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


Testing
---

Tested by changing tag/query/type UI is resetting offset to 0


Thanks,

keval bhatt



[jira] [Updated] (ATLAS-2168) When a second search is fired in between the pages of the first search results , offset is not reset to 0

2017-09-26 Thread Keval Bhatt (JIRA)

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

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

> When a second search is fired in between the pages of the first search 
> results , offset is not reset to 0
> -
>
> Key: ATLAS-2168
> URL: https://issues.apache.org/jira/browse/ATLAS-2168
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.9-incubating
>Reporter: Sharmadha Sainath
>Assignee: Keval Bhatt
>Priority: Critical
> Attachments: ATLAS-2168.patch
>
>
> 1.Created 8 hive_table entities.
> 2.Created 3 hdfs_path entities.
> 3. Searched for typename = hive_table , with page limit = 3.
> 4. Navigated to page 3 which had 2 hive_table entities. Now offset is 6 and 
> limit is 3.
> 5. Now fired basic search typename = hdfs_path. (without clicking Clear).
> 6.Expected result table would list 3 hdfs_path entities. But no results were 
> fetched. Since offset is still set to 6. 
> 7. If Clear button was clicked before making the hdfs_path query , offset is 
> set to 0.



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


[jira] [Resolved] (ATLAS-2173) Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Nixon Rodrigues (JIRA)

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

Nixon Rodrigues resolved ATLAS-2173.

Resolution: Duplicate

> Atlas AD search filter is not get honored when logging into Atlas UI
> 
>
> Key: ATLAS-2173
> URL: https://issues.apache.org/jira/browse/ATLAS-2173
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Nixon Rodrigues
>Assignee: Péter Gergő Barna
>




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


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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2170: Change pom version from 0.9-SNAPSHOT to 
1.0.0-SNAPSHOT

--
[...truncated 450.24 KB...]
127.0.0.1 - - [26/Sep/2017:06:47:39 +] "GET 
/api/atlas/v2/types/classificationdef/guid/blah HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:39 +] "GET 
/api/atlas/v2/types/entitydef/name/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:39 +] "GET 
/api/atlas/v2/types/entitydef/guid/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:39 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:40 +] "GET 
/api/atlas/v2/types/typedefs/?supertype=AuW1zLE6S7A=CLASS HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:40 +] "GET 
/api/atlas/v2/types/typedefs/?notsupertype=BjUwB89cvvr=AuW1zLE6S7A=CLASS
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:40 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:40 +] "PUT /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:40 +] "GET 
/api/atlas/v2/types/typedefs/?type=ENTITY HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:40 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "POST /api/atlas/types HTTP/1.1" 409 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "GET /api/atlas/types/blah HTTP/1.1" 
404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "GET 
/api/atlas/v2/types/typedef/name/class_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "GET 
/api/atlas/v2/types/typedef/name/secure_trait HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "GET 
/api/atlas/v2/types/typedef/name/pii_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "GET 
/api/atlas/v2/types/typedef/name/ssn_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "GET 
/api/atlas/v2/types/typedef/name/salary_trait HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "GET 
/api/atlas/v2/types/typedef/name/sox_trait HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:41 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "GET /api/atlas/types?type=TRAIT 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "GET 
/api/atlas/v2/types/typedef/name/AurVr5Il1GF HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "GET 
/api/atlas/v2/types/typedef/name/A1kPxdQOVPCc HTTP/1.1" 404 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "GET 
/api/atlas/v2/types/typedef/name/BN8yzTIplQG HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "GET 
/api/atlas/v2/types/typedef/name/CUeUrdfftJO HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:42 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:43 +] "GET 
/api/atlas/types?type=CLASS=AurVr5Il1GF=BN8yzTIplQG 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:43 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:43 +] "PUT /api/atlas/types HTTP/1.1" 200 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [26/Sep/2017:06:47:43 +] "GET /api/atlas/types/MyK7gtp9Uy 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
Tests run: 143, Failures: 16, Errors: 0, Skipped: 100, Time elapsed: 25.413 sec 
<<< FAILURE! - in TestSuite
setUp(org.apache.atlas.web.integration.EntityDiscoveryJerseyResourceIT)  Time 
elapsed: 3.887 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@140806c1 failed with status 400 

[jira] [Created] (ATLAS-2172) Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Nixon Rodrigues (JIRA)
Nixon Rodrigues created ATLAS-2172:
--

 Summary: Atlas AD search filter is not get honored when logging 
into Atlas UI
 Key: ATLAS-2172
 URL: https://issues.apache.org/jira/browse/ATLAS-2172
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Reporter: Nixon Rodrigues
Assignee: Péter Gergő Barna






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


[jira] [Created] (ATLAS-2173) Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Nixon Rodrigues (JIRA)
Nixon Rodrigues created ATLAS-2173:
--

 Summary: Atlas AD search filter is not get honored when logging 
into Atlas UI
 Key: ATLAS-2173
 URL: https://issues.apache.org/jira/browse/ATLAS-2173
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Reporter: Nixon Rodrigues
Assignee: Péter Gergő Barna






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


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

2017-09-26 Thread Apache Jenkins Server
See 


Changes:

[ssubramanian] ATLAS-2170: Change pom version from 0.9-SNAPSHOT to 
1.0.0-SNAPSHOT

--
[...truncated 262.11 KB...]
Running org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
Running org.apache.atlas.query.QueryProcessorTest
Running org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
Running org.apache.atlas.RepositoryServiceLoadingTest
Running org.apache.atlas.discovery.EntityDiscoveryServiceTest
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.query.LineageQueryTest
Running org.apache.atlas.query.ParserTest
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreSoftDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.util.CompiledQueryCacheKeyTest
Running org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1Test
Running org.apache.atlas.BaseRepositoryTest
Running org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.452 sec - in 
org.apache.atlas.TestModules
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.59 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.859 sec - in 
org.apache.atlas.BaseRepositoryTest
Running org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStoreTest
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.945 sec - in 
org.apache.atlas.utils.ObjectUpdateSynchronizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.12 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.72 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.34 sec - in 
org.apache.atlas.query.BaseGremlinTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.495 sec - 
in org.apache.atlas.query.ParserTest
Running org.apache.atlas.repository.graph.TestIntSequence
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.733 sec - in 
org.apache.atlas.util.CompiledQueryCacheKeyTest
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: 32.529 sec - in 
org.apache.atlas.query.QueryProcessorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.45 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.363 sec - in 
org.apache.atlas.query.LexerTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.911 sec - 
in org.apache.atlas.query.ExpressionTest
Running org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.824 sec - in 
org.apache.atlas.RepositoryServiceLoadingTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.908 sec - in 
org.apache.atlas.discovery.DataSetLineageServiceTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.28 sec - in 
org.apache.atlas.services.MetricsServiceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.258 sec - in 
org.apache.atlas.discovery.EntityDiscoveryServiceTest
Running org.apache.atlas.repository.graph.GraphHelperMockTest
Running 

[jira] [Created] (ATLAS-2171) Accessing atlas via knox proxy without "/" at the end logs in as UNKNOWN user

2017-09-26 Thread Sharmadha Sainath (JIRA)
Sharmadha Sainath created ATLAS-2171:


 Summary: Accessing atlas via knox proxy without "/" at the end 
logs in as UNKNOWN user
 Key: ATLAS-2171
 URL: https://issues.apache.org/jira/browse/ATLAS-2171
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 0.9-incubating
Reporter: Sharmadha Sainath
Priority: Critical


1. Enabled knox proxy for atlas.
2.Accessed Atlas UI via proxy using https://knox_gateway:8443/gateway/ui/atlas
3. Provided admin username and password and logged into Atlas
4. Now, opened another tab in browser with URL
{code}
https://knox_gateway:8443/gateway/ui/atlas
{code}
I was not logged in as admin but as an unknown user.No read/write operations 
were allowed. Found the following application logs :
{code}
2017-09-26 05:39:31,467 ERROR - [pool-2-thread-9:] ~ Unable to find Atlas 
Resource corresponding to :
Setting UNKNOWN (AtlasAuthorizationUtils:143)
{code}

If the URL is accessed with "/" at the end , logs in as admin user and all 
operations work fine.
Example :
{code}
https://knox_gateway:8443/gateway/ui/atlas/
{code}





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