[jira] [Commented] (ATLAS-2820) UI : Add replication audits tab for AtlasCluster entity to show Export & Import audit

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


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

ASF subversion and git services commented on ATLAS-2820:


Commit 570f7a8c962c65078f5e4593c8444e073c60ba02 in atlas's branch 
refs/heads/branch-0.8 from [~kevalbhatt]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=570f7a8 ]

ATLAS-2820: Replication Audit: Web-ui

Signed-off-by: Ashutosh Mestry 


> UI : Add replication audits tab for AtlasCluster entity to show Export & 
> Import audit
> -
>
> Key: ATLAS-2820
> URL: https://issues.apache.org/jira/browse/ATLAS-2820
> Project: Atlas
>  Issue Type: Improvement
>Affects Versions: 0.8.3
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
>Priority: Major
> Fix For: 0.8.3
>
> Attachments: ATLAS-2820-WIP.patch, ATLAS-2820.patch
>
>
> Add Replication Audits tab in detail page if entity typename is 
> "*AtlasCluster*".
> inside tab show list of audits in table structure using this new API.
> /api/atlas/admin/expimp/audit?sourceClusterName=



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


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

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


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

ASF subversion and git services commented on ATLAS-2814:


Commit b9aa6d5d36191544174cdd7ee97cda4474aa2ca8 in atlas's branch 
refs/heads/branch-0.8 from [~ashutoshm]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=b9aa6d5 ]

ATLAS-2814: Cluster stores replication details.


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



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


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

2018-08-16 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2823: updated hooks to support asynchronous notifications

--
[...truncated 540.01 KB...]
127.0.0.1 - - [17/Aug/2018:04:23:24 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+(name+%3D+%22Reporting%22)=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:24 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+(name+%3D+%22Reporting%22)+select+name+as+_col_0,+owner+as+_col_1=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:26 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+DB+is+JdbcAccess=10 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:26 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+DB+has+name=10 HTTP/1.1" 
200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:27 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+Table=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:28 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+as+db1+Table+where+(db1.name+%3D+%22Reporting%22)=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:28 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+(name+%3D+%22Reporting%22)+select+name+as+_col_0,+(createTime+%2B+1)+as+_col_1+=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:29 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Dimension=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:31 +] "GET 
/api/atlas/v2/search/dsl?offset=0=JdbcAccess=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:32 +] "GET 
/api/atlas/v2/search/dsl?offset=0=ETL=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:33 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Metric=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:33 +] "GET 
/api/atlas/v2/search/dsl?offset=0=PII=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:34 +] "GET 
/api/atlas/v2/search/dsl?offset=0=%60Log+Data%60=10 HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:35 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Table+where+name%3D%22sales_fact%22,+columns=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:35 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Table+where+name%3D%22sales_fact%22,+columns+as+column+select+column.name,+column.dataType,+column.comment=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:37 +] "GET 
/api/atlas/v2/search/dsl?offset=0=from+DataSet=10 HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:37 +] "GET 
/api/atlas/v2/search/dsl?offset=0=from+Process=10 HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:38 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_daily_mv
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:38 +] "GET 
/api/atlas/v2/lineage/2c004184-8d2a-483d-8a48-f9785ba71eb7?depth=0=BOTH
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/DB?attr:name=Sales HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=time_dim 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_daily_mv
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_monthly_mv
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesDaily
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:40 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesMonthly
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:40 +] "GET 
/api/atlas/v2/lineage/2c004184-8d2a-483d-8a48-f9785ba71eb7?depth=0=BOTH
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:42 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesDaily
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:42 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [17/Aug/2018:04:23:42 +] "GET 

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

2018-08-16 Thread Apache Jenkins Server
See 

--
[...truncated 59.81 KB...]
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ 
atlas-server-api ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] < org.apache.atlas:atlas-notification >-
[INFO] Building Apache Atlas Notification 2.0.0-SNAPSHOT[10/37]
[INFO] [ jar ]-
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atlas-notification ---
[INFO] Deleting 
 
(includes = [**/*.pyc], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ 
atlas-notification ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ atlas-notification 
---
[INFO] Executing: /bin/sh -c cd 
' && 
'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

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

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

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

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

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

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

2018-08-16 Thread Apache Jenkins Server
See 



Re: Review Request 68270: Cluster Entity Updated after Successful Import if Replication Options are Available in Import Request

2018-08-16 Thread Madhan Neethiraj


> On Aug. 17, 2018, 2:35 a.m., Madhan Neethiraj wrote:
> > repository/src/main/java/org/apache/atlas/repository/impexp/ClusterService.java
> > Line 108 (original), 119 (patched)
> > 
> >
> > if entity doesn't already have the attribute, shouldn't the attribute 
> > be added in the vertex?
> 
> Ashutosh Mestry wrote:
> Wouldn't entity always have all the attributes?

Not necessarily. However, in that case, why even have this 'if'?


- Madhan


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


On Aug. 17, 2018, 2:45 a.m., Ashutosh Mestry wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68270/
> ---
> 
> (Updated Aug. 17, 2018, 2:45 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Madhan Neethiraj, and Sarath 
> Subramanian.
> 
> 
> Bugs: ATLAS-2814
> https://issues.apache.org/jira/browse/ATLAS-2814
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> **Approach**
> - New model _ReplicationDetails_ store replication timestamp.
> - _AuditWriter_ updates appropriate _AtlasCluster_ entity with 
> _ReplicationDetails_.
> 
> **REST Call**
> Endpoint: /admin/expimp/audit
> CURL:
> curl -X GET -u admin:admin -H "Content-Type: application/json" -H 
> "Cache-Control: no-cache" 
> http://localhost:21000/api/atlas/admin/expimp/audit?cluster=cl2
> 
> 
> Diffs
> -
> 
>   addons/models/patches/004-base_model_replication_attributes.json 
> bee37180d6f7fa2f241a0b06685e5a48163ccaa6 
>   client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java 
> f73ba2c6e6c9d05e86eb6c17f923a6dda1df5dd9 
>   intg/src/main/java/org/apache/atlas/model/clusterinfo/AtlasCluster.java 
> 3ce50e38b3af45521c2c83d0e6c05398747bcf86 
>   intg/src/main/java/org/apache/atlas/model/impexp/AtlasExportResult.java 
> 85a606c7d3b2158238b2a6defbb9185883434d78 
>   intg/src/main/java/org/apache/atlas/model/impexp/AtlasImportResult.java 
> bfb7637711e08e17fd5f5b16bf121ac541b631a4 
>   
> repository/src/main/java/org/apache/atlas/repository/graph/GraphToTypedInstanceMapper.java
>  55f70767c8076b8e058190dbf9582d4df047b00a 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/AuditsWriter.java 
> 6a3fbecda84dc48e0df1359c1b5a248958db0a4c 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ClusterService.java
>  fd8e2bfe6bbdb7ae5e66ab67ecdf94e9527d9b09 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ExportImportAuditService.java
>  e90b6b942d359f78ccf59ee955c4667f2033e6c4 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ExportService.java
>  b15f828e470eaee972a4ee3f8447f404f813c699 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ImportService.java
>  98ef389bd1bf8f87d23a06dc231d4d93f06b2231 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ImportTransformer.java
>  348bcd2c737ed9a37918847744a98be55ea8238d 
>   
> repository/src/main/java/org/apache/atlas/repository/ogm/AtlasClusterDTO.java 
> 424fb88a5ad2d84ac2245848d061892d40a3f50c 
>   repository/src/main/java/org/apache/atlas/repository/ogm/DataAccess.java 
> b7e943f14084882cd5a3ad22c21168ea098eefcb 
>   
> repository/src/main/java/org/apache/atlas/repository/ogm/ExportImportAuditEntryDTO.java
>  8d1aebf5c2ad3a030e4140e4d28abbc034ac5919 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
>  fcdd379480fa0ce990e0c21b96d7a0529488a1d5 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ClusterServiceTest.java
>  cfd272fb00a970ab0ba28f96b237de6bd5c694e1 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportAuditServiceTest.java
>  d0188dd93bd66654d3f7337033828701deb3afc9 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportTestBase.java
>  fcf90d364950d3afa2c18689d8e22616cfcd3c19 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ExportIncrementalTest.java
>  86ab22294918701270db3ba849f5b0532c1a21a4 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java
>  dc25e92d7115db31cbd7f99bd1a2cb5f75e766a5 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ImportTransformsTest.java
>  9b389225a408ba2bd7b06261bcb0f8e447b60532 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ReplicationEntityAttributeTest.java
>  881368ce2c6803c8cf887a1fc91737c045c5e663 
>   repository/src/test/resources/json/stocksDB-Entities/replicationAttrs.json 
> 82826383c37fccd23db1ff56033134bd2bf71ec6 
>   
> typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeDefinition.java

Re: Review Request 68270: Cluster Entity Updated after Successful Import if Replication Options are Available in Import Request

2018-08-16 Thread Ashutosh Mestry

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

(Updated Aug. 17, 2018, 2:45 a.m.)


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


Changes
---

Updates include:
- Addressed review comments.


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


Repository: atlas


Description
---

**Approach**
- New model _ReplicationDetails_ store replication timestamp.
- _AuditWriter_ updates appropriate _AtlasCluster_ entity with 
_ReplicationDetails_.

**REST Call**
Endpoint: /admin/expimp/audit
CURL:
curl -X GET -u admin:admin -H "Content-Type: application/json" -H 
"Cache-Control: no-cache" 
http://localhost:21000/api/atlas/admin/expimp/audit?cluster=cl2


Diffs (updated)
-

  addons/models/patches/004-base_model_replication_attributes.json 
bee37180d6f7fa2f241a0b06685e5a48163ccaa6 
  client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java 
f73ba2c6e6c9d05e86eb6c17f923a6dda1df5dd9 
  intg/src/main/java/org/apache/atlas/model/clusterinfo/AtlasCluster.java 
3ce50e38b3af45521c2c83d0e6c05398747bcf86 
  intg/src/main/java/org/apache/atlas/model/impexp/AtlasExportResult.java 
85a606c7d3b2158238b2a6defbb9185883434d78 
  intg/src/main/java/org/apache/atlas/model/impexp/AtlasImportResult.java 
bfb7637711e08e17fd5f5b16bf121ac541b631a4 
  
repository/src/main/java/org/apache/atlas/repository/graph/GraphToTypedInstanceMapper.java
 55f70767c8076b8e058190dbf9582d4df047b00a 
  repository/src/main/java/org/apache/atlas/repository/impexp/AuditsWriter.java 
6a3fbecda84dc48e0df1359c1b5a248958db0a4c 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ClusterService.java 
fd8e2bfe6bbdb7ae5e66ab67ecdf94e9527d9b09 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ExportImportAuditService.java
 e90b6b942d359f78ccf59ee955c4667f2033e6c4 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ExportService.java 
b15f828e470eaee972a4ee3f8447f404f813c699 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ImportService.java 
98ef389bd1bf8f87d23a06dc231d4d93f06b2231 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ImportTransformer.java
 348bcd2c737ed9a37918847744a98be55ea8238d 
  repository/src/main/java/org/apache/atlas/repository/ogm/AtlasClusterDTO.java 
424fb88a5ad2d84ac2245848d061892d40a3f50c 
  repository/src/main/java/org/apache/atlas/repository/ogm/DataAccess.java 
b7e943f14084882cd5a3ad22c21168ea098eefcb 
  
repository/src/main/java/org/apache/atlas/repository/ogm/ExportImportAuditEntryDTO.java
 8d1aebf5c2ad3a030e4140e4d28abbc034ac5919 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
 fcdd379480fa0ce990e0c21b96d7a0529488a1d5 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ClusterServiceTest.java
 cfd272fb00a970ab0ba28f96b237de6bd5c694e1 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportAuditServiceTest.java
 d0188dd93bd66654d3f7337033828701deb3afc9 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportTestBase.java
 fcf90d364950d3afa2c18689d8e22616cfcd3c19 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ExportIncrementalTest.java
 86ab22294918701270db3ba849f5b0532c1a21a4 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java
 dc25e92d7115db31cbd7f99bd1a2cb5f75e766a5 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ImportTransformsTest.java
 9b389225a408ba2bd7b06261bcb0f8e447b60532 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ReplicationEntityAttributeTest.java
 881368ce2c6803c8cf887a1fc91737c045c5e663 
  repository/src/test/resources/json/stocksDB-Entities/replicationAttrs.json 
82826383c37fccd23db1ff56033134bd2bf71ec6 
  
typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeDefinition.java
 5561f0b21d98a444c772bcd818a928d16a761a69 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeInfo.java 
c24a55f1811095d0ff4f3ea5761c8441f839c033 
  webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java 
d4e72620b15f69d258e5a2a96521c65a7ef71114 
  
webapp/src/test/java/org/apache/atlas/web/resources/AdminExportImportTestIT.java
 fc804d2e5a1debd7e728dca1773f91402d41fc26 
  webapp/src/test/resources/json/export-incremental.json 
97108411f9e0c177ac13eb0a8ec3bd4475499f89 
  webapp/src/test/resources/stocks-base.zip 
40c7f37eefb46a944921f6a74a916191704cb9a3 


Diff: https://reviews.apache.org/r/68270/diff/10/

Changes: https://reviews.apache.org/r/68270/diff/9-10/


Testing
---

**Unit tests**
New tests added.
Unit tests related to audits now pause for 5 secs before performing asserts. 
This should give time for indexes to be created.

**Pre-commit**

[jira] [Commented] (ATLAS-2823) Update hooks to enable asynchronous notifications

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


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

ASF subversion and git services commented on ATLAS-2823:


Commit 9bdbb31842c93412ebfe27d98bd8dcbabe7d80f4 in atlas's branch 
refs/heads/branch-0.8 from [~mad...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=9bdbb31 ]

ATLAS-2823: updated hooks to support asynchronous notifications

(cherry picked from commit 52ef9e7f3962da2bf77a15ab1a1bcef8d47b2877)


> Update hooks to enable asynchronous notifications
> -
>
> Key: ATLAS-2823
> URL: https://issues.apache.org/jira/browse/ATLAS-2823
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: 1.0.0
>Reporter: Madhan Neethiraj
>Assignee: Madhan Neethiraj
>Priority: Critical
>
> With refactoring of hooks to use V2 style notifications (ATLAS-2491), the 
> option to send notifications asynchronously was removed. Sending the 
> notifications asynchronously is helpful, to avoid delays in host component; 
> hence should be supported.



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


Re: Review Request 68270: Cluster Entity Updated after Successful Import if Replication Options are Available in Import Request

2018-08-16 Thread Madhan Neethiraj

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




repository/src/main/java/org/apache/atlas/repository/impexp/ClusterService.java
Lines 59 (patched)


Consider marking typeRegistry and entityGraphRetriever as 'final'.



repository/src/main/java/org/apache/atlas/repository/impexp/ClusterService.java
Line 108 (original), 119 (patched)


if entity doesn't already have the attribute, shouldn't the attribute be 
added in the vertex?



repository/src/main/java/org/apache/atlas/repository/impexp/ClusterService.java
Line 125 (original), 137 (patched)


Consider moving #137 inside 'if' block at line #133.



repository/src/main/java/org/apache/atlas/repository/ogm/ExportImportAuditEntryDTO.java
Line 41 (original), 43 (patched)


Consider marking this static as 'final'


- Madhan Neethiraj


On Aug. 17, 2018, 2:19 a.m., Ashutosh Mestry wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68270/
> ---
> 
> (Updated Aug. 17, 2018, 2:19 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Madhan Neethiraj, and Sarath 
> Subramanian.
> 
> 
> Bugs: ATLAS-2814
> https://issues.apache.org/jira/browse/ATLAS-2814
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> **Approach**
> - New model _ReplicationDetails_ store replication timestamp.
> - _AuditWriter_ updates appropriate _AtlasCluster_ entity with 
> _ReplicationDetails_.
> 
> **REST Call**
> Endpoint: /admin/expimp/audit
> CURL:
> curl -X GET -u admin:admin -H "Content-Type: application/json" -H 
> "Cache-Control: no-cache" 
> http://localhost:21000/api/atlas/admin/expimp/audit?cluster=cl2
> 
> 
> Diffs
> -
> 
>   addons/models/patches/004-base_model_replication_attributes.json 
> bee37180d6f7fa2f241a0b06685e5a48163ccaa6 
>   client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java 
> f73ba2c6e6c9d05e86eb6c17f923a6dda1df5dd9 
>   intg/src/main/java/org/apache/atlas/model/clusterinfo/AtlasCluster.java 
> 3ce50e38b3af45521c2c83d0e6c05398747bcf86 
>   intg/src/main/java/org/apache/atlas/model/impexp/AtlasExportResult.java 
> 85a606c7d3b2158238b2a6defbb9185883434d78 
>   intg/src/main/java/org/apache/atlas/model/impexp/AtlasImportResult.java 
> bfb7637711e08e17fd5f5b16bf121ac541b631a4 
>   
> repository/src/main/java/org/apache/atlas/repository/graph/GraphToTypedInstanceMapper.java
>  55f70767c8076b8e058190dbf9582d4df047b00a 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/AuditsWriter.java 
> 6a3fbecda84dc48e0df1359c1b5a248958db0a4c 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ClusterService.java
>  fd8e2bfe6bbdb7ae5e66ab67ecdf94e9527d9b09 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ExportImportAuditService.java
>  e90b6b942d359f78ccf59ee955c4667f2033e6c4 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ExportService.java
>  b15f828e470eaee972a4ee3f8447f404f813c699 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ImportService.java
>  98ef389bd1bf8f87d23a06dc231d4d93f06b2231 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ImportTransformer.java
>  348bcd2c737ed9a37918847744a98be55ea8238d 
>   
> repository/src/main/java/org/apache/atlas/repository/ogm/AtlasClusterDTO.java 
> 424fb88a5ad2d84ac2245848d061892d40a3f50c 
>   repository/src/main/java/org/apache/atlas/repository/ogm/DataAccess.java 
> b7e943f14084882cd5a3ad22c21168ea098eefcb 
>   
> repository/src/main/java/org/apache/atlas/repository/ogm/ExportImportAuditEntryDTO.java
>  8d1aebf5c2ad3a030e4140e4d28abbc034ac5919 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
>  fcdd379480fa0ce990e0c21b96d7a0529488a1d5 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ClusterServiceTest.java
>  cfd272fb00a970ab0ba28f96b237de6bd5c694e1 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportAuditServiceTest.java
>  d0188dd93bd66654d3f7337033828701deb3afc9 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportTestBase.java
>  fcf90d364950d3afa2c18689d8e22616cfcd3c19 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ExportIncrementalTest.java
>  86ab22294918701270db3ba849f5b0532c1a21a4 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java
>  dc25e92d7115db31cbd7f99bd1a2cb5f75e766a5 
>   
> 

Re: Review Request 68270: Cluster Entity Updated after Successful Import if Replication Options are Available in Import Request

2018-08-16 Thread Ashutosh Mestry

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

(Updated Aug. 17, 2018, 2:19 a.m.)


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


Changes
---

Updates include:
- Updated _AdminExportImportTestIT_ with teardown and additional asserts.
- Implemented _SetDelete_ in _ImportTransformer_. This is used in teardown for 
ITs using _Import_ for startup.
- Updated v1 APIs to include _softRef_ support.


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


Repository: atlas


Description
---

**Approach**
- New model _ReplicationDetails_ store replication timestamp.
- _AuditWriter_ updates appropriate _AtlasCluster_ entity with 
_ReplicationDetails_.

**REST Call**
Endpoint: /admin/expimp/audit
CURL:
curl -X GET -u admin:admin -H "Content-Type: application/json" -H 
"Cache-Control: no-cache" 
http://localhost:21000/api/atlas/admin/expimp/audit?cluster=cl2


Diffs (updated)
-

  addons/models/patches/004-base_model_replication_attributes.json 
bee37180d6f7fa2f241a0b06685e5a48163ccaa6 
  client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java 
f73ba2c6e6c9d05e86eb6c17f923a6dda1df5dd9 
  intg/src/main/java/org/apache/atlas/model/clusterinfo/AtlasCluster.java 
3ce50e38b3af45521c2c83d0e6c05398747bcf86 
  intg/src/main/java/org/apache/atlas/model/impexp/AtlasExportResult.java 
85a606c7d3b2158238b2a6defbb9185883434d78 
  intg/src/main/java/org/apache/atlas/model/impexp/AtlasImportResult.java 
bfb7637711e08e17fd5f5b16bf121ac541b631a4 
  
repository/src/main/java/org/apache/atlas/repository/graph/GraphToTypedInstanceMapper.java
 55f70767c8076b8e058190dbf9582d4df047b00a 
  repository/src/main/java/org/apache/atlas/repository/impexp/AuditsWriter.java 
6a3fbecda84dc48e0df1359c1b5a248958db0a4c 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ClusterService.java 
fd8e2bfe6bbdb7ae5e66ab67ecdf94e9527d9b09 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ExportImportAuditService.java
 e90b6b942d359f78ccf59ee955c4667f2033e6c4 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ExportService.java 
b15f828e470eaee972a4ee3f8447f404f813c699 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ImportService.java 
98ef389bd1bf8f87d23a06dc231d4d93f06b2231 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ImportTransformer.java
 348bcd2c737ed9a37918847744a98be55ea8238d 
  repository/src/main/java/org/apache/atlas/repository/ogm/AtlasClusterDTO.java 
424fb88a5ad2d84ac2245848d061892d40a3f50c 
  repository/src/main/java/org/apache/atlas/repository/ogm/DataAccess.java 
b7e943f14084882cd5a3ad22c21168ea098eefcb 
  
repository/src/main/java/org/apache/atlas/repository/ogm/ExportImportAuditEntryDTO.java
 8d1aebf5c2ad3a030e4140e4d28abbc034ac5919 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
 fcdd379480fa0ce990e0c21b96d7a0529488a1d5 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ClusterServiceTest.java
 cfd272fb00a970ab0ba28f96b237de6bd5c694e1 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportAuditServiceTest.java
 d0188dd93bd66654d3f7337033828701deb3afc9 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportTestBase.java
 fcf90d364950d3afa2c18689d8e22616cfcd3c19 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ExportIncrementalTest.java
 86ab22294918701270db3ba849f5b0532c1a21a4 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java
 dc25e92d7115db31cbd7f99bd1a2cb5f75e766a5 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ImportTransformsTest.java
 9b389225a408ba2bd7b06261bcb0f8e447b60532 
  
repository/src/test/java/org/apache/atlas/repository/impexp/ReplicationEntityAttributeTest.java
 881368ce2c6803c8cf887a1fc91737c045c5e663 
  repository/src/test/resources/json/stocksDB-Entities/replicationAttrs.json 
82826383c37fccd23db1ff56033134bd2bf71ec6 
  
typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeDefinition.java
 5561f0b21d98a444c772bcd818a928d16a761a69 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/AttributeInfo.java 
c24a55f1811095d0ff4f3ea5761c8441f839c033 
  webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java 
d4e72620b15f69d258e5a2a96521c65a7ef71114 
  
webapp/src/test/java/org/apache/atlas/web/resources/AdminExportImportTestIT.java
 fc804d2e5a1debd7e728dca1773f91402d41fc26 
  webapp/src/test/resources/json/export-incremental.json 
97108411f9e0c177ac13eb0a8ec3bd4475499f89 
  webapp/src/test/resources/stocks-base.zip 
40c7f37eefb46a944921f6a74a916191704cb9a3 


Diff: https://reviews.apache.org/r/68270/diff/9/

Changes: https://reviews.apache.org/r/68270/diff/8-9/


Testing
---

**Unit tests**
New tests added.

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

2018-08-16 Thread Apache Jenkins Server
See 

--
[...truncated 813.53 KB...]
at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:356)
[INFO] Started ServerConnector@2811025a{HTTP/1.1,[http/1.1]}{0.0.0.0:31000}
[INFO] Started @2565221ms
[INFO] Started Jetty Server
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test) @ 
hbase-bridge ---
[WARNING] useSystemClassloader setting has no effect when not forking
[INFO] Failsafe report directory: 

Running org.apache.atlas.hbase.HBaseAtlasHookIT
127.0.0.1 - - [16/Aug/2018:22:23:19 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:23:24 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:23:29 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:23:34 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:23:44 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:23:49 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:23:54 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:23:59 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:24:09 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:24:14 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:24:19 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:24:24 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:24:34 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:24:39 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:24:44 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:24:49 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_namespace?attr:qualifiedName=test_namespace@primary
 HTTP/1.1" 503 383 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:25:12 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_table?attr:qualifiedName=test_namespace1:test_table@primary
 HTTP/1.1" 503 379 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:25:17 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_table?attr:qualifiedName=test_namespace1:test_table@primary
 HTTP/1.1" 503 379 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:25:22 +] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hbase_table?attr:qualifiedName=test_namespace1:test_table@primary
 HTTP/1.1" 503 379 "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:22:25:27 +] "GET 

Jenkins build is back to normal : Atlas-0.8-IntegrationTests #238

2018-08-16 Thread Apache Jenkins Server
See 




Re: Review Request 68368: ATLAS-2823: updated hooks to support asynchronous notifications (branch-0.8)

2018-08-16 Thread Sarath Subramanian

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


Ship it!




Ship It!

- Sarath Subramanian


On Aug. 16, 2018, 2:33 p.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68368/
> ---
> 
> (Updated Aug. 16, 2018, 2:33 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Nixon Rodrigues, 
> Ramesh Mani, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2823
> https://issues.apache.org/jira/browse/ATLAS-2823
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> updated hooks to support asynchronous notifications (branch-0.8)
> 
> 
> Diffs
> -
> 
>   
> addons/falcon-bridge/src/main/java/org/apache/atlas/falcon/hook/FalconHook.java
>  188b7543c 
>   
> addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
>  314ff68e6 
>   addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java 
> e001a06d6 
>   
> addons/sqoop-bridge/src/main/java/org/apache/atlas/sqoop/hook/SqoopHook.java 
> 666ec13c0 
>   
> addons/storm-bridge/src/main/java/org/apache/atlas/storm/hook/StormAtlasHook.java
>  c3df8fcdf 
>   notification/src/main/java/org/apache/atlas/hook/AtlasHook.java 38f320826 
>   notification/src/test/java/org/apache/atlas/hook/AtlasHookTest.java 
> d59cb1cf8 
> 
> 
> Diff: https://reviews.apache.org/r/68368/diff/4/
> 
> 
> Testing
> ---
> 
> Pre-commit test run - 
> https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/593
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



Re: Review Request 68368: ATLAS-2823: updated hooks to support asynchronous notifications (branch-0.8)

2018-08-16 Thread Madhan Neethiraj

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

(Updated Aug. 16, 2018, 9:33 p.m.)


Review request for atlas, Apoorv Naik, Ashutosh Mestry, Nixon Rodrigues, Ramesh 
Mani, and Sarath Subramanian.


Changes
---

moved unit test fixes to a separate patch/commit


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


Repository: atlas


Description
---

updated hooks to support asynchronous notifications (branch-0.8)


Diffs (updated)
-

  
addons/falcon-bridge/src/main/java/org/apache/atlas/falcon/hook/FalconHook.java 
188b7543c 
  
addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
 314ff68e6 
  addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java 
e001a06d6 
  addons/sqoop-bridge/src/main/java/org/apache/atlas/sqoop/hook/SqoopHook.java 
666ec13c0 
  
addons/storm-bridge/src/main/java/org/apache/atlas/storm/hook/StormAtlasHook.java
 c3df8fcdf 
  notification/src/main/java/org/apache/atlas/hook/AtlasHook.java 38f320826 
  notification/src/test/java/org/apache/atlas/hook/AtlasHookTest.java d59cb1cf8 


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

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


Testing
---

Pre-commit test run - 
https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/580


Thanks,

Madhan Neethiraj



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

2018-08-16 Thread Apache Jenkins Server
See 




[jira] [Commented] (ATLAS-2819) UI: Re-evaluate classification propagation during entity delete

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


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

ASF subversion and git services commented on ATLAS-2819:


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

ATLAS-2819: UI: Re-evaluate classification propagation during entity delete #2

Signed-off-by: Sarath Subramanian 
(cherry picked from commit 5b9348f9e9b150592c2a7e41079700672fd53b06)


> UI: Re-evaluate classification propagation during entity delete
> ---
>
> Key: ATLAS-2819
> URL: https://issues.apache.org/jira/browse/ATLAS-2819
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0-alpha, 1.0.0
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: ATLAS-2819.patch, ATLAS-2819_1.patch
>
>
> The current behavior - when we delete an entity *f1*, all tags associate to 
> *f1* which got propagated
> to downstream entities are removed – *PII* tag propagated to *process1* and 
> *t1* is removed
> *Proposed Change*
> _*Soft Delete:*_
> When entity *f1* is deleted, retain the propagated classification edges, so 
> the downstream entities
> – *process1* and *t1* continue to have *PII* classification associated to them
> _*Hard Delete:*_
> In cases of hard delete, the source entity (*f1*) is deleted from atlas, but 
> its classification vertex
> (*PII*) continue to exist and will continue propagating to *process1* and 
> *t1*.



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


[jira] [Commented] (ATLAS-2819) UI: Re-evaluate classification propagation during entity delete

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


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

ASF subversion and git services commented on ATLAS-2819:


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

ATLAS-2819: UI: Re-evaluate classification propagation during entity delete #2

Signed-off-by: Sarath Subramanian 


> UI: Re-evaluate classification propagation during entity delete
> ---
>
> Key: ATLAS-2819
> URL: https://issues.apache.org/jira/browse/ATLAS-2819
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0-alpha, 1.0.0
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: ATLAS-2819.patch, ATLAS-2819_1.patch
>
>
> The current behavior - when we delete an entity *f1*, all tags associate to 
> *f1* which got propagated
> to downstream entities are removed – *PII* tag propagated to *process1* and 
> *t1* is removed
> *Proposed Change*
> _*Soft Delete:*_
> When entity *f1* is deleted, retain the propagated classification edges, so 
> the downstream entities
> – *process1* and *t1* continue to have *PII* classification associated to them
> _*Hard Delete:*_
> In cases of hard delete, the source entity (*f1*) is deleted from atlas, but 
> its classification vertex
> (*PII*) continue to exist and will continue propagating to *process1* and 
> *t1*.



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


[jira] [Commented] (ATLAS-2825) UI : Provide option whether to delete propagated classification on entity delete during add classification

2018-08-16 Thread Sarath Subramanian (JIRA)


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

Sarath Subramanian commented on ATLAS-2825:
---

+1 for the patch, Thanks [~kevalbhatt]

> UI : Provide option whether to delete propagated classification on entity 
> delete during add classification
> --
>
> Key: ATLAS-2825
> URL: https://issues.apache.org/jira/browse/ATLAS-2825
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
>Priority: Major
> Fix For: 1.0.0, 1.1.0
>
> Attachments: ATLAS-2825.patch
>
>
> By default, when an entity is deleted - its associated classifications which 
> have been propagated to downstream entities will be retained.
> This JIRA provides a boolean option when adding a new classification to an 
> entity - *"Remove Propagations on Entity Delete"*
> When this flag is set to :
> *TRUE* - Propagated classifications are removed during entity delete
> *FALSE* - Propagated classifications are retained during entity delete



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


[jira] [Commented] (ATLAS-2819) UI: Re-evaluate classification propagation during entity delete

2018-08-16 Thread Sarath Subramanian (JIRA)


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

Sarath Subramanian commented on ATLAS-2819:
---

+1 Thanks for the patch [~abhib4]

> UI: Re-evaluate classification propagation during entity delete
> ---
>
> Key: ATLAS-2819
> URL: https://issues.apache.org/jira/browse/ATLAS-2819
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0-alpha, 1.0.0
>Reporter: Abhishek Kadam
>Assignee: Abhishek Kadam
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: ATLAS-2819.patch, ATLAS-2819_1.patch
>
>
> The current behavior - when we delete an entity *f1*, all tags associate to 
> *f1* which got propagated
> to downstream entities are removed – *PII* tag propagated to *process1* and 
> *t1* is removed
> *Proposed Change*
> _*Soft Delete:*_
> When entity *f1* is deleted, retain the propagated classification edges, so 
> the downstream entities
> – *process1* and *t1* continue to have *PII* classification associated to them
> _*Hard Delete:*_
> In cases of hard delete, the source entity (*f1*) is deleted from atlas, but 
> its classification vertex
> (*PII*) continue to exist and will continue propagating to *process1* and 
> *t1*.



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


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

2018-08-16 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2355/ATLAS-2362: Fix IT failures (branch-0.8) (picked from master

--
[...truncated 539.44 KB...]
127.0.0.1 - - [16/Aug/2018:19:50:30 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Column+select+Column.name=10 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:31 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Column+select+name=10 HTTP/1.1" 
200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:32 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Column+where+Column.name%3D%22customer_id%22=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:33 +] "GET 
/api/atlas/v2/search/dsl?offset=0=from+Table+select+Table.name=10 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:34 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+(name+%3D+%22Reporting%22)=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:35 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+(name+%3D+%22Reporting%22)+select+name+as+_col_0,+owner+as+_col_1=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:36 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+DB+is+JdbcAccess=10 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:37 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+DB+has+name=10 HTTP/1.1" 
200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:38 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+Table=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:38 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+as+db1+Table+where+(db1.name+%3D+%22Reporting%22)=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:39 +] "GET 
/api/atlas/v2/search/dsl?offset=0=DB+where+(name+%3D+%22Reporting%22)+select+name+as+_col_0,+(createTime+%2B+1)+as+_col_1+=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:41 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Dimension=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:41 +] "GET 
/api/atlas/v2/search/dsl?offset=0=JdbcAccess=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:42 +] "GET 
/api/atlas/v2/search/dsl?offset=0=ETL=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:43 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Metric=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:44 +] "GET 
/api/atlas/v2/search/dsl?offset=0=PII=10 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:45 +] "GET 
/api/atlas/v2/search/dsl?offset=0=%60Log+Data%60=10 HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:46 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Table+where+name%3D%22sales_fact%22,+columns=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:46 +] "GET 
/api/atlas/v2/search/dsl?offset=0=Table+where+name%3D%22sales_fact%22,+columns+as+column+select+column.name,+column.dataType,+column.comment=10
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:48 +] "GET 
/api/atlas/v2/search/dsl?offset=0=from+DataSet=10 HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:49 +] "GET 
/api/atlas/v2/search/dsl?offset=0=from+Process=10 HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:49 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_daily_mv
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:49 +] "GET 
/api/atlas/v2/lineage/5eab8545-81ee-4596-8dc1-40ce19b2426c?depth=0=BOTH
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:51 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/DB?attr:name=Sales HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:51 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:51 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=time_dim 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:51 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_daily_mv
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:51 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/Table?attr:qualifiedName=sales_fact_monthly_mv
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:51 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesDaily
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:19:50:51 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/LoadProcess?attr:qualifiedName=loadSalesMonthly
 

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

2018-08-16 Thread Apache Jenkins Server
See 




[jira] [Commented] (ATLAS-2362) Fix IT failures in sqoop,falcon bridge module

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


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

ASF subversion and git services commented on ATLAS-2362:


Commit 9da91296f4e5637c35d78649f16ed23ebecf8b09 in atlas's branch 
refs/heads/branch-0.8 from [~mad...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=9da9129 ]

ATLAS-2355/ATLAS-2362: Fix IT failures (branch-0.8)
(picked from master branch fix in ecf8095ff92252f252e14292bb5d82d7b6aa1951)
(picked from master branch fix in 0345cd41a80f45e6b7330749b79a0e4c379768b3)


> Fix IT failures in sqoop,falcon bridge module
> -
>
> Key: ATLAS-2362
> URL: https://issues.apache.org/jira/browse/ATLAS-2362
> Project: Atlas
>  Issue Type: Sub-task
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
>Priority: Major
> Fix For: 1.0.0
>
>




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


[jira] [Commented] (ATLAS-2355) Fix IT failures in webapp module

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


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

ASF subversion and git services commented on ATLAS-2355:


Commit 9da91296f4e5637c35d78649f16ed23ebecf8b09 in atlas's branch 
refs/heads/branch-0.8 from [~mad...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=9da9129 ]

ATLAS-2355/ATLAS-2362: Fix IT failures (branch-0.8)
(picked from master branch fix in ecf8095ff92252f252e14292bb5d82d7b6aa1951)
(picked from master branch fix in 0345cd41a80f45e6b7330749b79a0e4c379768b3)


> Fix IT failures in webapp module
> 
>
> Key: ATLAS-2355
> URL: https://issues.apache.org/jira/browse/ATLAS-2355
> Project: Atlas
>  Issue Type: Sub-task
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
>Priority: Major
> Fix For: 1.0.0
>
> Attachments: ATLAS-2355.1.patch
>
>




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


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

2018-08-16 Thread Apache Jenkins Server
See 

--
[...truncated 309.85 KB...]
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 124 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 124 licenses.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 15 resources
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-solr-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-webapp 
---
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:clean (clean) @ atlas-webapp ---
[WARNING] Keystore file 
'
 doesn't exist.
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:generateKeyPair (generateKeyPair) @ 
atlas-webapp ---
[WARNING] 
[WARNING] Warning:
[WARNING] The JKS keystore uses a proprietary format. It is recommended to 
migrate to PKCS12 which is an industry standard format using "keytool 
-importkeystore -srckeystore 

 -destkeystore 

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

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

[INFO] 
:
 Some input files use or override a deprecated API.
[INFO] 
:
 Recompile with -Xlint:deprecation for details.
[INFO] 
:
 Some input files use unchecked or unsafe operations.
[INFO] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-webapp ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (unit-tests) @ atlas-webapp ---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use 
forkCount and reuseForks instead.
[INFO] Surefire report directory: 

[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

---
 T E S T S
---
Running org.apache.atlas.web.service.CuratorFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.269 sec - in 
org.apache.atlas.web.service.CuratorFactoryTest
Running org.apache.atlas.web.service.ActiveInstanceElectorServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time 

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

2018-08-16 Thread Apache Jenkins Server
See 


Changes:

[amestry] ATLAS-2813: SoftRef implementation. Part - 2

--
[...truncated 544.62 KB...]
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "GET 
/api/atlas/entities?type=hive_table HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "GET /api/atlas/entities?type=blah 
HTTP/1.1" 400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "GET 
/api/atlas/v2/types/typedef/name/testTqnKFEloR3 HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "GET 
/api/atlas/entities?type=testTqnKFEloR3 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "GET /api/atlas/entities/blah 
HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "GET 
/api/atlas/v2/types/typedef/name/PII_TraitVWZAYdw5Bv HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:07 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST 
/api/atlas/entities/6a304caf-5a26-46fe-becd-65cc76e81508/traits HTTP/1.1" 201 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "GET 
/api/atlas/entities/6a304caf-5a26-46fe-becd-65cc76e81508/traitDefinitions/PII_TraitVWZAYdw5Bv
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "GET 
/api/atlas/entities/6a304caf-5a26-46fe-becd-65cc76e81508/traitDefinitions 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "GET 
/api/atlas/entities/ddc2727f-52fd-40f7-9954-ce8eefd788c0/traits HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST 
/api/atlas/entities/dc044662-1898-405c-827d-dd028166b112 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "GET 
/api/atlas/entities/dc044662-1898-405c-827d-dd028166b112 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST 
/api/atlas/entities/qualifiedName?type=hive_table=qualifiedName=tableDo4fiE3IUb
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "GET 
/api/atlas/entities/8eb11e17-9064-4d8c-bc72-7a3c19829062 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "GET 
/api/atlas/entities/136a0a7d-3829-4e22-85d6-e116925153df/audit?count=10 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "GET 
/api/atlas/v2/types/typedef/name/oA3yGtY8Qv HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:08 +] "GET 
/api/atlas/entities/4a7ed3fa-695a-409c-b00f-b09914b1cddc HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:09 +] "GET /api/atlas/admin/version 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:13 +] "GET /api/atlas/admin/status 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:18:51:14 +] "GET 

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

2018-08-16 Thread Apache Jenkins Server
See 


Changes:

[amestry] ATLAS-2813: SoftRef implementation. Part - 2

--
[...truncated 267.72 KB...]
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-webapp 
---
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:clean (clean) @ atlas-webapp ---
[WARNING] Keystore file 
'
 doesn't exist.
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:generateKeyPair (generateKeyPair) @ 
atlas-webapp ---
[WARNING] 
[WARNING] Warning:
[WARNING] The JKS keystore uses a proprietary format. It is recommended to 
migrate to PKCS12 which is an industry standard format using "keytool 
-importkeystore -srckeystore 

 -destkeystore 

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

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

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

[WARNING] 
:
 Some input files use or override a deprecated API.
[WARNING] 
:
 Recompile with -Xlint:deprecation for details.
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-webapp ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (unit-tests) @ atlas-webapp ---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use 
forkCount and reuseForks instead.

[jira] [Commented] (ATLAS-2813) Atlas Entity: Support New Attribute 'SoftReference' for Referencing Without Edge

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


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

ASF subversion and git services commented on ATLAS-2813:


Commit 3021027c999c56767e65f410492a378f0e5b3a1f in atlas's branch 
refs/heads/branch-0.8 from [~ashutoshm]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=3021027 ]

ATLAS-2813: SoftRef implementation. Part - 2


> Atlas Entity: Support New Attribute 'SoftReference' for Referencing Without 
> Edge
> 
>
> Key: ATLAS-2813
> URL: https://issues.apache.org/jira/browse/ATLAS-2813
> Project: Atlas
>  Issue Type: Improvement
>  Components:  atlas-core
>Affects Versions: 0.8.3
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: 0.8.3
>
> Attachments: ATLAS-2813-Soft-reference-implementation.patch
>
>
> *Background*
> Cases where types have attributes that reference other objects, existing 
> implementation creates an edge between referencing object and referenced 
> object.
> It may be worthwhile to have this behavior enforced via an attribute.
> Example within existing implementation, is the use of _replicatedToCluster_ 
> attribute. This forces every entity having this attribute set to create an 
> edge to the _AtlasCluster_ entity it is referring to.
> *Approach Guidance*
>  * Define new attribute say _softRefrence._ This will be applied to attribute 
> definition.
>  * When defined, the object Id is stored within the referring object similar 
> to primitive types.
>  * When not defined, the types will continue to use current behavior, where 
> edge is created between referring entity and the referred entity and the edge 
> id is stored within the parent entity. 



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


Jenkins build is back to normal : Atlas-1.0-UnitTests #801

2018-08-16 Thread Apache Jenkins Server
See 



Re: Review Request 68388: ATLAS-2355: Fix for IT failures in branch-0.8

2018-08-16 Thread Apoorv Naik

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


Ship it!




Ship It!

- Apoorv Naik


On Aug. 16, 2018, 5:39 p.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68388/
> ---
> 
> (Updated Aug. 16, 2018, 5:39 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, and Sarath 
> Subramanian.
> 
> 
> Bugs: ATLAS-2355
> https://issues.apache.org/jira/browse/ATLAS-2355
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> - backported fix for IT failures from master branch
> - updated assert() with useful message to enable quicker troubleshooting of 
> failures
> 
> 
> Diffs
> -
> 
>   webapp/src/test/java/org/apache/atlas/web/integration/BasicSearchIT.java 
> 5806a10d6 
>   
> webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java
>  f2a78010a 
>   webapp/src/test/resources/json/search-parameters/entity-filters.json 
> 67b0b51f5 
> 
> 
> Diff: https://reviews.apache.org/r/68388/diff/1/
> 
> 
> Testing
> ---
> 
> verified that the fix addresses failures in BasicSearchIT and 
> EntityJerseyResourceIT.
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



Review Request 68388: ATLAS-2355: Fix for IT failures in branch-0.8

2018-08-16 Thread Madhan Neethiraj

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

Review request for atlas, Apoorv Naik, Ashutosh Mestry, and Sarath Subramanian.


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


Repository: atlas


Description
---

- backported fix for IT failures from master branch
- updated assert() with useful message to enable quicker troubleshooting of 
failures


Diffs
-

  webapp/src/test/java/org/apache/atlas/web/integration/BasicSearchIT.java 
5806a10d6 
  
webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java
 f2a78010a 
  webapp/src/test/resources/json/search-parameters/entity-filters.json 
67b0b51f5 


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


Testing
---

verified that the fix addresses failures in BasicSearchIT and 
EntityJerseyResourceIT.


Thanks,

Madhan Neethiraj



Build failed in Jenkins: PreCommit-ATLAS-Build-Test #590-branch-0.8-ATLAS-2355-branch-0.8.patch

2018-08-16 Thread Apache Jenkins Server
See 


--
[...truncated 65.44 MB...]
Aug 16, 2018 5:39:01 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 
PM'
[INFO] Started 
o.e.j.m.p.JettyWebAppContext@657d8138{/,
[INFO] Started ServerConnector@6f54396a{HTTP/1.1}{0.0.0.0:31000}
[INFO] Started @916ms
[INFO] Started Jetty Server
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test) @ 
storm-bridge ---
[WARNING] useSystemClassloader setting has no effect when not forking
[INFO] Failsafe report directory: 

Running org.apache.atlas.storm.hook.StormAtlasHookIT
2018-08-16 17:39:03,332 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:03,334 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:04,202 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:04,204 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:05,511 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:05,512 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:05,634 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:05,636 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:07,125 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:07,126 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:07,269 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:07,270 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:08,301 DEBUG - [main:] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Server) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:08,303 DEBUG - [main:] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Server): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:08,429 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:08,430 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:08,812 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:08,814 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:08,854 DEBUG - [main-SendThread(localhost:2000):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:08,855 DEBUG - [main-SendThread(localhost:2000):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:08,907 DEBUG - [main-SendThread(localhost:2000):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:08,910 DEBUG - [main-SendThread(localhost:2000):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 17:39:08,962 DEBUG - [main-SendThread(localhost:2000):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 17:39:08,963 DEBUG - [main-SendThread(localhost:2000):] ~ 

Build failed in Jenkins: PreCommit-ATLAS-Build-Test #589-branch-0.8-ATLAS-2813-SoftRef-implementation.-Part-2.patch

2018-08-16 Thread Apache Jenkins Server
See 


Changes:

[nixon] ATLAS-2821:- Update old atlas-simple-authz-policy.json file with

--
[...truncated 440.16 KB...]
127.0.0.1 - - [16/Aug/2018:17:15:27 +] "DELETE 
/api/atlas/entities/20a67714-dbf8-49fb-b5c7-71062f02cb62/traits/blah_trait 
HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:27 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:27 +] "GET 
/api/atlas/entities/d6d28840-1e85-4b54-a49f-6e43a62a7b4d/audit?count=100 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:27 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbM8NlzDiVw3'=10=0
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:28 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:28 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbM8NlzDiVw3'=10=0
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:29 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:29 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbM8NlzDiVw3'=10=0
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:29 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:30 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:30 +] "PUT /api/atlas/types HTTP/1.1" 200 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:30 +] "GET 
/api/atlas/entities/cec0bc98-4679-44d2-84b4-f1b4db909d7e HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:30 +] "POST /api/atlas/entities HTTP/1.1" 
400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:30 +] "POST /api/atlas/entities HTTP/1.1" 
400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:30 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:31 +] "GET 
/api/atlas/entities?type=hive_db=qualifiedName=hMcYh73223 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:31 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:31 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:31 +] "GET 
/api/atlas/entities/633b5899-4c9c-4b17-ae84-d0c53488b107 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:31 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:31 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:32 +] "GET 
/api/atlas/entities?type=hive_table HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:32 +] "GET /api/atlas/entities?type=blah 
HTTP/1.1" 400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:32 +] "GET 
/api/atlas/v2/types/typedef/name/testd5PPnIoD7d HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:32 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:32 +] "GET 
/api/atlas/entities?type=testd5PPnIoD7d HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:32 +] "GET /api/atlas/entities/blah 
HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:32 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:33 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:33 +] "GET 
/api/atlas/v2/types/typedef/name/PII_Traitx87cuawVbC HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:33 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:33 +] "POST 
/api/atlas/entities/df911da7-23dd-4877-b232-b5982dba1118/traits HTTP/1.1" 201 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:33 +] "GET 
/api/atlas/entities/df911da7-23dd-4877-b232-b5982dba1118/traitDefinitions/PII_Traitx87cuawVbC
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:33 +] "GET 
/api/atlas/entities/df911da7-23dd-4877-b232-b5982dba1118/traitDefinitions 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:33 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:34 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:34 +] "GET 
/api/atlas/entities/ad503f34-209f-4f95-b9ef-4acdb2b2e75e/traits HTTP/1.1" 200 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:17:15:34 +] 

[jira] [Updated] (ATLAS-2827) Unable to persist vertex when indexed string attribute is really long

2018-08-16 Thread Apoorv Naik (JIRA)


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

Apoorv Naik updated ATLAS-2827:
---
Affects Version/s: trunk
   0.8.1
   0.8.2
   1.0.0

> Unable to persist vertex when indexed string attribute is really long
> -
>
> Key: ATLAS-2827
> URL: https://issues.apache.org/jira/browse/ATLAS-2827
> Project: Atlas
>  Issue Type: Improvement
>Affects Versions: 0.8.1, 0.8.2, 1.0.0, trunk
>Reporter: Apoorv Naik
>Assignee: Apoorv Naik
>Priority: Major
>
> Titan/Janus  creates an inverted index key which exceeds the row length 
> restriction imposed by HBase hence the vertex fails to persist with backend 
> exception.
>  
> Solution:
> In the entity graph mapping, before persisting the  vertex we need to trim 
> down the value (although it'll cause data loss) to avoid Atlas becoming non 
> functional for such edge cases.



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


[jira] [Created] (ATLAS-2827) Unable to persist vertex when indexed string attribute is really long

2018-08-16 Thread Apoorv Naik (JIRA)
Apoorv Naik created ATLAS-2827:
--

 Summary: Unable to persist vertex when indexed string attribute is 
really long
 Key: ATLAS-2827
 URL: https://issues.apache.org/jira/browse/ATLAS-2827
 Project: Atlas
  Issue Type: Improvement
Reporter: Apoorv Naik
Assignee: Apoorv Naik


Titan/Janus  creates an inverted index key which exceeds the row length 
restriction imposed by HBase hence the vertex fails to persist with backend 
exception.

 

Solution:

In the entity graph mapping, before persisting the  vertex we need to trim down 
the value (although it'll cause data loss) to avoid Atlas becoming non 
functional for such edge cases.



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


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

2018-08-16 Thread Apache Jenkins Server
See 

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

 -destkeystore 

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

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

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

[jira] [Commented] (ATLAS-2724) UI enhancement for Avro schemas and other JSON-valued attributes

2018-08-16 Thread Keval Bhatt (JIRA)


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

Keval Bhatt commented on ATLAS-2724:


Thanks [~barbara] I will review the patch in a day or two

> UI enhancement for Avro schemas and other JSON-valued attributes
> 
>
> Key: ATLAS-2724
> URL: https://issues.apache.org/jira/browse/ATLAS-2724
> Project: Atlas
>  Issue Type: New Feature
>Affects Versions: 0.8-incubating
>Reporter: Barbara Eckman
>Assignee: Barbara Eckman
>Priority: Critical
> Fix For: 0.8.3
>
> Attachments: 0001-Add-pretty-printed-json-values-in-tables.patch
>
>
> Currently JSON-valued attributes are fully displayed in-line with other 
> attributes, not pretty-printed, cluttering the display.  To support a better 
> display, we can display JSON-valued attributes in a one-line box that can be 
> scrolled down, or fully expanded with a mouse click that pretty-prints the 
> JSON. 



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


Jenkins build is back to normal : Atlas-1.0-UnitTests #799

2018-08-16 Thread Apache Jenkins Server
See 




[jira] [Updated] (ATLAS-2825) UI : Provide option whether to delete propagated classification on entity delete during add classification

2018-08-16 Thread Keval Bhatt (JIRA)


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

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

> UI : Provide option whether to delete propagated classification on entity 
> delete during add classification
> --
>
> Key: ATLAS-2825
> URL: https://issues.apache.org/jira/browse/ATLAS-2825
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
>Priority: Major
> Fix For: 1.0.0, 1.1.0
>
> Attachments: ATLAS-2825.patch
>
>
> By default, when an entity is deleted - its associated classifications which 
> have been propagated to downstream entities will be retained.
> This JIRA provides a boolean option when adding a new classification to an 
> entity - *"Remove Propagations on Entity Delete"*
> When this flag is set to :
> *TRUE* - Propagated classifications are removed during entity delete
> *FALSE* - Propagated classifications are retained during entity delete



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


[jira] [Commented] (ATLAS-2808) Enable Atlas to store entity proxies

2018-08-16 Thread Graham Wallis (JIRA)


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

Graham Wallis commented on ATLAS-2808:
--

Refreshed patch to address review comments.


Review at https://reviews.apache.org/r/68188/

> Enable Atlas to store entity proxies
> 
>
> Key: ATLAS-2808
> URL: https://issues.apache.org/jira/browse/ATLAS-2808
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Graham Wallis
>Priority: Major
> Attachments: ATLAS-2808-2018-08-16.patch
>
>
> This feature will enable Atlas to store proxies for entities supplied as 
> relationship ends, to enable Atlas to participate in distributed metadata 
> sharing.



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


[jira] [Updated] (ATLAS-2808) Enable Atlas to store entity proxies

2018-08-16 Thread Graham Wallis (JIRA)


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

Graham Wallis updated ATLAS-2808:
-
Attachment: ATLAS-2808-2018-08-16.patch

> Enable Atlas to store entity proxies
> 
>
> Key: ATLAS-2808
> URL: https://issues.apache.org/jira/browse/ATLAS-2808
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Graham Wallis
>Priority: Major
> Attachments: ATLAS-2808-2018-08-16.patch
>
>
> This feature will enable Atlas to store proxies for entities supplied as 
> relationship ends, to enable Atlas to participate in distributed metadata 
> sharing.



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


[jira] [Commented] (ATLAS-2821) Update old atlas-simple-authz-policy.json file with relationship permission attributes

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


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

ASF subversion and git services commented on ATLAS-2821:


Commit 02ec8b99199569676f69ee1f723ab137307e03b4 in atlas's branch 
refs/heads/master from nixonrodrigues
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=02ec8b9 ]

ATLAS-2821:- Update old atlas-simple-authz-policy.json file with relationship 
permission attributes


> Update old atlas-simple-authz-policy.json file with relationship permission 
> attributes
> --
>
> Key: ATLAS-2821
> URL: https://issues.apache.org/jira/browse/ATLAS-2821
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: ATLAS-2821.patch
>
>
> This utility will update old atlas-simple-authz-policy.json policy file with 
> relationship default permission attributes for ROLE_ADMIN and DATA_STEWARD.
>  
> Usage : ./atlas_update_simple_auth_json.py 



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


[jira] [Updated] (ATLAS-2808) Enable Atlas to store entity proxies

2018-08-16 Thread Graham Wallis (JIRA)


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

Graham Wallis updated ATLAS-2808:
-
Attachment: (was: ATLAS-2808-2012-08-03.patch)

> Enable Atlas to store entity proxies
> 
>
> Key: ATLAS-2808
> URL: https://issues.apache.org/jira/browse/ATLAS-2808
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Graham Wallis
>Priority: Major
>
> This feature will enable Atlas to store proxies for entities supplied as 
> relationship ends, to enable Atlas to participate in distributed metadata 
> sharing.



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


[jira] [Commented] (ATLAS-2821) Update old atlas-simple-authz-policy.json file with relationship permission attributes

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


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

ASF subversion and git services commented on ATLAS-2821:


Commit 8e12c2e19dc9b0fe45df400387e2ef300baa in atlas's branch 
refs/heads/branch-1.0 from nixonrodrigues
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=8e12c2e ]

ATLAS-2821:- Update old atlas-simple-authz-policy.json file with relationship 
permission attributes


> Update old atlas-simple-authz-policy.json file with relationship permission 
> attributes
> --
>
> Key: ATLAS-2821
> URL: https://issues.apache.org/jira/browse/ATLAS-2821
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Fix For: 1.1.0
>
> Attachments: ATLAS-2821.patch
>
>
> This utility will update old atlas-simple-authz-policy.json policy file with 
> relationship default permission attributes for ROLE_ADMIN and DATA_STEWARD.
>  
> Usage : ./atlas_update_simple_auth_json.py 



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


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

2018-08-16 Thread Graham Wallis


> On Aug. 9, 2018, 10:51 a.m., David Radley wrote:
> > repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
> > Lines 174 (patched)
> > 
> >
> > I am wondering what your thoughts are on validation in Atlas. 
> > Specifically for cases like:
> > - the entity is a proxy but has no homeid. 
> > - the entity is a proxy but has none manditory attributes set which 
> > should not be returned
> > - the entity is a proxy so should not be in search results
> > 
> > As coded the caller is responsible for this sort of validation.

Thanks David - good suggestions.
There is already validation (in addEntityProxy) that the metadataCollectionId 
is non null - this will prevent creation of a proxy with a null homeId.
I have added filtering out of proxy entities from search methods (using DSL or 
searchParameters).


- Graham


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


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



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

2018-08-16 Thread Graham Wallis

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

(Updated Aug. 16, 2018, 1:56 p.m.)


Review request for atlas.


Repository: atlas


Description
---

ATLAS_2808: Support for entity proxies


Diffs (updated)
-

  common/src/main/java/org/apache/atlas/repository/Constants.java 
a892551f789cb2a4b21a4f0124a4b6b94bfecd1c 
  intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java 
dc2be412b9ec1b07d7c7befc722810273464cd3f 
  repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java 
9c4b9f2323cae76ed226b3980086c2b331d521d2 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
 2153a5a9e62ecf3e4a4c847b64edc29c1fb8eafc 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java
 52c3745642f3eb2af00cb61e10d710c781b100b7 


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

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


Testing
---

Tested with saveRelationshipReferenceCopy between entities that do not exist in 
the Atlas repository.


Thanks,

Graham Wallis



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

2018-08-16 Thread Apache Jenkins Server
See 

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

 -destkeystore 

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

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

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

[jira] [Commented] (ATLAS-2826) Saving Search fails with 403 auth error after the new relationship auth changes

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


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

ASF subversion and git services commented on ATLAS-2826:


Commit 028a623a7ef1477e870602476887b1073993114c in atlas's branch 
refs/heads/branch-1.0 from [~mad...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=028a623 ]

ATLAS-2826: fix for failure in authorizing save-search operation.

Also, skipping add-relationship authorization if either end has legacy 
attribute - since this would be covered in authorization of entity-update

(cherry picked from commit 5332f2e591d45c5e37492e7b4a441a0578446069)


> Saving Search fails with 403 auth error after the new relationship auth 
> changes
> ---
>
> Key: ATLAS-2826
> URL: https://issues.apache.org/jira/browse/ATLAS-2826
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.1.0
>Reporter: Sharmadha Sainath
>Assignee: Madhan Neethiraj
>Priority: Major
> Fix For: 1.1.0, 2.0.0
>
> Attachments: ATLAS-2826-2.patch, ATLAS-2826.patch, SaveSearchLog.txt
>
>
> Saving search as any user fails with 403 after new fine grained authorization 
> support added for relationship.
> Attached the complete stack trace.



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


[jira] [Commented] (ATLAS-2826) Saving Search fails with 403 auth error after the new relationship auth changes

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


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

ASF subversion and git services commented on ATLAS-2826:


Commit 5332f2e591d45c5e37492e7b4a441a0578446069 in atlas's branch 
refs/heads/master from [~mad...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=5332f2e ]

ATLAS-2826: fix for failure in authorizing save-search operation.

Also, skipping add-relationship authorization if either end has legacy 
attribute - since this would be covered in authorization of entity-update


> Saving Search fails with 403 auth error after the new relationship auth 
> changes
> ---
>
> Key: ATLAS-2826
> URL: https://issues.apache.org/jira/browse/ATLAS-2826
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.1.0
>Reporter: Sharmadha Sainath
>Assignee: Madhan Neethiraj
>Priority: Major
> Fix For: 1.1.0, 2.0.0
>
> Attachments: ATLAS-2826-2.patch, ATLAS-2826.patch, SaveSearchLog.txt
>
>
> Saving search as any user fails with 403 after new fine grained authorization 
> support added for relationship.
> Attached the complete stack trace.



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


Re: Review Request 68377: ATLAS-2826: fix for failure in authorizing save-search operation

2018-08-16 Thread Nixon Rodrigues

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


Ship it!




Ship It!

- Nixon Rodrigues


On Aug. 16, 2018, 11:44 a.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68377/
> ---
> 
> (Updated Aug. 16, 2018, 11:44 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Nixon Rodrigues, and 
> Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2826
> https://issues.apache.org/jira/browse/ATLAS-2826
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> updated the logic to get entity-id for authorization, to support entities 
> that may not have qualifiedName as unique attribute
> 
> 
> Diffs
> -
> 
>   
> authorization/src/main/java/org/apache/atlas/authorize/AtlasAccessRequest.java
>  8cdd6768a 
>   
> authorization/src/main/java/org/apache/atlas/authorize/AtlasEntityAccessRequest.java
>  d87c8300b 
>   
> authorization/src/main/java/org/apache/atlas/authorize/AtlasRelationshipAccessRequest.java
>  87e9b59fc 
>   intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java 8ab41a31d 
>   intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java 
> 5abae95f7 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java
>  c8adcf153 
> 
> 
> Diff: https://reviews.apache.org/r/68377/diff/2/
> 
> 
> Testing
> ---
> 
> - verified that save-search succeeds with this fix
> - pre-commit test run - 
> https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/587/
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



[jira] [Updated] (ATLAS-2826) Saving Search fails with 403 auth error after the new relationship auth changes

2018-08-16 Thread Madhan Neethiraj (JIRA)


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

Madhan Neethiraj updated ATLAS-2826:

Attachment: ATLAS-2826-2.patch

> Saving Search fails with 403 auth error after the new relationship auth 
> changes
> ---
>
> Key: ATLAS-2826
> URL: https://issues.apache.org/jira/browse/ATLAS-2826
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.1.0
>Reporter: Sharmadha Sainath
>Assignee: Madhan Neethiraj
>Priority: Major
> Fix For: 1.1.0, 2.0.0
>
> Attachments: ATLAS-2826-2.patch, ATLAS-2826.patch, SaveSearchLog.txt
>
>
> Saving search as any user fails with 403 after new fine grained authorization 
> support added for relationship.
> Attached the complete stack trace.



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


Re: Review Request 68377: ATLAS-2826: fix for failure in authorizing save-search operation

2018-08-16 Thread Madhan Neethiraj

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

(Updated Aug. 16, 2018, 11:44 a.m.)


Review request for atlas, Apoorv Naik, Ashutosh Mestry, Nixon Rodrigues, and 
Sarath Subramanian.


Changes
---

updated add-relationship authorization, to skip if an end is a legacy attribute 
- as this case would be covered in entity-update authorization


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


Repository: atlas


Description
---

updated the logic to get entity-id for authorization, to support entities that 
may not have qualifiedName as unique attribute


Diffs (updated)
-

  
authorization/src/main/java/org/apache/atlas/authorize/AtlasAccessRequest.java 
8cdd6768a 
  
authorization/src/main/java/org/apache/atlas/authorize/AtlasEntityAccessRequest.java
 d87c8300b 
  
authorization/src/main/java/org/apache/atlas/authorize/AtlasRelationshipAccessRequest.java
 87e9b59fc 
  intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java 8ab41a31d 
  intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java 5abae95f7 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java
 c8adcf153 


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

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


Testing (updated)
---

- verified that save-search succeeds with this fix
- pre-commit test run - 
https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/587/


Thanks,

Madhan Neethiraj



Jenkins build is back to normal : PreCommit-ATLAS-Build-Test #586-master-ATLAS-2826.patch

2018-08-16 Thread Apache Jenkins Server
See 




Re: Review Request 68377: ATLAS-2826: fix for failure in authorizing save-search operation

2018-08-16 Thread Nixon Rodrigues

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


Ship it!




Ship It!

- Nixon Rodrigues


On Aug. 16, 2018, 10:30 a.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68377/
> ---
> 
> (Updated Aug. 16, 2018, 10:30 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Nixon Rodrigues, and 
> Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2826
> https://issues.apache.org/jira/browse/ATLAS-2826
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> updated the logic to get entity-id for authorization, to support entities 
> that may not have qualifiedName as unique attribute
> 
> 
> Diffs
> -
> 
>   
> authorization/src/main/java/org/apache/atlas/authorize/AtlasAccessRequest.java
>  8cdd6768a 
>   
> authorization/src/main/java/org/apache/atlas/authorize/AtlasEntityAccessRequest.java
>  d87c8300b 
>   
> authorization/src/main/java/org/apache/atlas/authorize/AtlasRelationshipAccessRequest.java
>  87e9b59fc 
>   intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java 8ab41a31d 
> 
> 
> Diff: https://reviews.apache.org/r/68377/diff/1/
> 
> 
> Testing
> ---
> 
> - verified that save-search succeeds with this fix
> - pre-commit test run - 
> https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/586/
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



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

2018-08-16 Thread Apache Jenkins Server
See 



[jira] [Updated] (ATLAS-2826) Saving Search fails with 403 auth error after the new relationship auth changes

2018-08-16 Thread Madhan Neethiraj (JIRA)


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

Madhan Neethiraj updated ATLAS-2826:

Attachment: ATLAS-2826.patch

> Saving Search fails with 403 auth error after the new relationship auth 
> changes
> ---
>
> Key: ATLAS-2826
> URL: https://issues.apache.org/jira/browse/ATLAS-2826
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.1.0
>Reporter: Sharmadha Sainath
>Assignee: Madhan Neethiraj
>Priority: Major
> Attachments: ATLAS-2826.patch, SaveSearchLog.txt
>
>
> Saving search as any user fails with 403 after new fine grained authorization 
> support added for relationship.
> Attached the complete stack trace.



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


Review Request 68377: ATLAS-2826: fix for failure in authorizing save-search operation

2018-08-16 Thread Madhan Neethiraj

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

Review request for atlas, Apoorv Naik, Ashutosh Mestry, Nixon Rodrigues, and 
Sarath Subramanian.


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


Repository: atlas


Description
---

updated the logic to get entity-id for authorization, to support entities that 
may not have qualifiedName as unique attribute


Diffs
-

  
authorization/src/main/java/org/apache/atlas/authorize/AtlasAccessRequest.java 
8cdd6768a 
  
authorization/src/main/java/org/apache/atlas/authorize/AtlasEntityAccessRequest.java
 d87c8300b 
  
authorization/src/main/java/org/apache/atlas/authorize/AtlasRelationshipAccessRequest.java
 87e9b59fc 
  intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java 8ab41a31d 


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


Testing
---

- verified that save-search succeeds with this fix
- pre-commit test run - 
https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/586/


Thanks,

Madhan Neethiraj



[jira] [Assigned] (ATLAS-2826) Saving Search fails with 403 auth error after the new relationship auth changes

2018-08-16 Thread Madhan Neethiraj (JIRA)


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

Madhan Neethiraj reassigned ATLAS-2826:
---

Assignee: Madhan Neethiraj

> Saving Search fails with 403 auth error after the new relationship auth 
> changes
> ---
>
> Key: ATLAS-2826
> URL: https://issues.apache.org/jira/browse/ATLAS-2826
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.1.0
>Reporter: Sharmadha Sainath
>Assignee: Madhan Neethiraj
>Priority: Major
> Attachments: SaveSearchLog.txt
>
>
> Saving search as any user fails with 403 after new fine grained authorization 
> support added for relationship.
> Attached the complete stack trace.



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


[jira] [Created] (ATLAS-2826) Saving Search fails with 403 auth error after the new relationship auth changes

2018-08-16 Thread Sharmadha Sainath (JIRA)
Sharmadha Sainath created ATLAS-2826:


 Summary: Saving Search fails with 403 auth error after the new 
relationship auth changes
 Key: ATLAS-2826
 URL: https://issues.apache.org/jira/browse/ATLAS-2826
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 1.1.0
Reporter: Sharmadha Sainath
 Attachments: SaveSearchLog.txt

Saving search as any user fails with 403 after new fine grained authorization 
support added for relationship.

Attached the complete stack trace.



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


[jira] [Updated] (ATLAS-2825) UI : Provide option whether to delete propagated classification on entity delete during add classification

2018-08-16 Thread Keval Bhatt (JIRA)


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

Keval Bhatt updated ATLAS-2825:
---
Fix Version/s: 1.0.0
   1.1.0

> UI : Provide option whether to delete propagated classification on entity 
> delete during add classification
> --
>
> Key: ATLAS-2825
> URL: https://issues.apache.org/jira/browse/ATLAS-2825
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
>Priority: Major
> Fix For: 1.0.0, 1.1.0
>
>
> By default, when an entity is deleted - its associated classifications which 
> have been propagated to downstream entities will be retained.
> This JIRA provides a boolean option when adding a new classification to an 
> entity - *"Remove Propagations on Entity Delete"*
> When this flag is set to :
> *TRUE* - Propagated classifications are removed during entity delete
> *FALSE* - Propagated classifications are retained during entity delete



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


[jira] [Created] (ATLAS-2825) UI : Provide option whether to delete propagated classification on entity delete during add classification

2018-08-16 Thread Keval Bhatt (JIRA)
Keval Bhatt created ATLAS-2825:
--

 Summary: UI : Provide option whether to delete propagated 
classification on entity delete during add classification
 Key: ATLAS-2825
 URL: https://issues.apache.org/jira/browse/ATLAS-2825
 Project: Atlas
  Issue Type: Improvement
Reporter: Keval Bhatt
Assignee: Keval Bhatt


By default, when an entity is deleted - its associated classifications which 
have been propagated to downstream entities will be retained.

This JIRA provides a boolean option when adding a new classification to an 
entity - *"Remove Propagations on Entity Delete"*

When this flag is set to :

*TRUE* - Propagated classifications are removed during entity delete

*FALSE* - Propagated classifications are retained during entity delete



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


Build failed in Jenkins: PreCommit-ATLAS-Build-Test #585-branch-0.8-ATLAS-2823-branch-0.8.patch

2018-08-16 Thread Apache Jenkins Server
See 


--
[...truncated 65.49 MB...]
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, notFoundExceptionMapper, of type 
org.apache.atlas.web.errors.NotFoundExceptionMapper as a provider class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, allExceptionMapper, of type 
org.apache.atlas.web.errors.AllExceptionMapper as a provider class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, atlasBaseExceptionMapper, of type 
org.apache.atlas.web.errors.AtlasBaseExceptionMapper as a provider class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, metadataDiscoveryResource, of type 
org.apache.atlas.web.resources.MetadataDiscoveryResource as a root resource 
class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, adminResource, of type 
org.apache.atlas.web.resources.AdminResource as a root resource class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, typesResource, of type 
org.apache.atlas.web.resources.TypesResource as a root resource class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, dataSetLineageResource, of type 
org.apache.atlas.web.resources.DataSetLineageResource as a root resource class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, entityResource, of type 
org.apache.atlas.web.resources.EntityResource as a root resource class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, lineageResource, of type 
org.apache.atlas.web.resources.LineageResource as a root resource class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, entityService, of type 
org.apache.atlas.web.resources.EntityService as a root resource class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory 
registerSpringBeans
INFO: Registering Spring bean, taxonomyService, of type 
org.apache.atlas.web.resources.TaxonomyService as a root resource class
Aug 16, 2018 7:15:31 AM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 
PM'
[INFO] Started 
o.e.j.m.p.JettyWebAppContext@3be0df6{/,
[INFO] Started ServerConnector@8876aa6{HTTP/1.1}{0.0.0.0:31000}
[INFO] Started @2308333ms
[INFO] Started Jetty Server
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test) @ 
storm-bridge ---
[WARNING] useSystemClassloader setting has no effect when not forking
[INFO] Failsafe report directory: 

Running org.apache.atlas.storm.hook.StormAtlasHookIT
2018-08-16 07:15:37,539 DEBUG - [main:] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Server) 
(InMemoryJAASConfiguration:208)
2018-08-16 07:15:37,545 DEBUG - [main:] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Server): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 07:15:37,877 DEBUG - [main-SendThread(localhost:2000):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 07:15:37,879 DEBUG - [main-SendThread(localhost:2000):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 07:15:37,922 DEBUG - [main-SendThread(localhost:2000):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 07:15:37,923 DEBUG - [main-SendThread(localhost:2000):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2018-08-16 07:15:37,987 DEBUG - [main-SendThread(localhost:2000):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2018-08-16 07:15:37,988 DEBUG - [main-SendThread(localhost:2000):] ~ <== 

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

2018-08-16 Thread Apache Jenkins Server
See 

--
[...truncated 309.49 KB...]
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 124 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 124 licenses.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 15 resources
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-solr-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-webapp 
---
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:clean (clean) @ atlas-webapp ---
[WARNING] Keystore file 
'
 doesn't exist.
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:generateKeyPair (generateKeyPair) @ 
atlas-webapp ---
[WARNING] 
[WARNING] Warning:
[WARNING] The JKS keystore uses a proprietary format. It is recommended to 
migrate to PKCS12 which is an industry standard format using "keytool 
-importkeystore -srckeystore 

 -destkeystore 

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

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

[INFO] 
:
 Some input files use or override a deprecated API.
[INFO] 
:
 Recompile with -Xlint:deprecation for details.
[INFO] 
:
 Some input files use unchecked or unsafe operations.
[INFO] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-webapp ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (unit-tests) @ atlas-webapp ---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use 
forkCount and reuseForks instead.
[INFO] Surefire report directory: 

[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

---
 T E S T S
---
Running 

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

2018-08-16 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2546: Fix for Hive Hook IT failure.

--
[...truncated 549.26 KB...]
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "DELETE 
/api/atlas/entities/dbab23b0-ca47-4dbc-ba56-5843400c6dee/traits/PII_TraitoT0zOGGnsJ
 HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "GET 
/api/atlas/v2/types/typedef/name/PII_Traiti95HjqmF89 HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "POST 
/api/atlas/entities/1b4891ee-2e10-4da3-9ed8-defdffd18db3/traits HTTP/1.1" 201 - 
"-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "GET 
/api/atlas/entities/1b4891ee-2e10-4da3-9ed8-defdffd18db3/audit?count=100 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "DELETE 
/api/atlas/entities/1b4891ee-2e10-4da3-9ed8-defdffd18db3/traits/PII_Traiti95HjqmF89
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "GET 
/api/atlas/entities/1b4891ee-2e10-4da3-9ed8-defdffd18db3/traitDefinitions/PII_Traiti95HjqmF89
 HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "GET 
/api/atlas/entities/1b4891ee-2e10-4da3-9ed8-defdffd18db3/audit?count=100 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:56 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:56 +] "DELETE 
/api/atlas/entities/f1d86b49-fa67-4945-9801-8841ff4760fa/traits/blah_trait 
HTTP/1.1" 404 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:56 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:56 +] "GET 
/api/atlas/entities/6493f136-811a-433a-a9b4-5a8ab698a8f2/audit?count=100 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:56 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbieQw28t1jd'=10=0
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:57 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:57 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbieQw28t1jd'=10=0
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:57 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:57 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbieQw28t1jd'=10=0
 HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:58 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:58 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "PUT /api/atlas/types HTTP/1.1" 200 
- "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "GET 
/api/atlas/entities/3e958252-3231-4121-b8eb-d6e8e1149607 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "POST /api/atlas/entities HTTP/1.1" 
400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "POST /api/atlas/entities HTTP/1.1" 
400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "GET 
/api/atlas/entities?type=hive_db=qualifiedName=kEkN7iE8Ds 
HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "GET 
/api/atlas/entities/7121360a-b270-4a67-98aa-6ed143bc4c04 HTTP/1.1" 200 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:51:59 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:52:00 +] "GET 
/api/atlas/entities?type=hive_table HTTP/1.1" 200 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:52:00 +] "GET /api/atlas/entities?type=blah 
HTTP/1.1" 400 - "-" "Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:52:00 +] "GET 
/api/atlas/v2/types/typedef/name/testPV3oI9KZZk HTTP/1.1" 404 - "-" 
"Java/1.8.0_172"
127.0.0.1 - - [16/Aug/2018:06:52:00 +] "POST 

Re: Review Request 68341: ATLAS-2821 :- Update old atlas-simple-authz-policy.json file with relationship permission attributes

2018-08-16 Thread Madhan Neethiraj

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


Ship it!




Ship It!

- Madhan Neethiraj


On Aug. 14, 2018, 1:26 p.m., Nixon Rodrigues wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68341/
> ---
> 
> (Updated Aug. 14, 2018, 1:26 p.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Sarath 
> Subramanian.
> 
> 
> Bugs: ATLAS-2821
> https://issues.apache.org/jira/browse/ATLAS-2821
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> This patch inclues utility which will update old 
> atlas-simple-authz-policy.json policy file with relationship default 
> permission attributes for ROLE_ADMIN and DATA_STEWARD.
> 
>  
> 
> Usage : ./atlas_update_simple_auth_json.py 
> 
> 
> Diffs
> -
> 
>   
> authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasSimpleAuthzUpdateTool.java
>  PRE-CREATION 
>   distro/src/bin/atlas_update_simple_auth_json.py PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/68341/diff/1/
> 
> 
> Testing
> ---
> 
> Tested in cmd line with old atlas-simple-authz-policy.json for relationship 
> default permissions.
> 
> 
> Thanks,
> 
> Nixon Rodrigues
> 
>



Re: Review Request 68368: ATLAS-2823: updated hooks to support asynchronous notifications (branch-0.8)

2018-08-16 Thread Madhan Neethiraj

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

(Updated Aug. 16, 2018, 6:38 a.m.)


Review request for atlas, Apoorv Naik, Ashutosh Mestry, Nixon Rodrigues, Ramesh 
Mani, and Sarath Subramanian.


Changes
---

More unit test fixes


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


Repository: atlas


Description
---

updated hooks to support asynchronous notifications (branch-0.8)


Diffs (updated)
-

  
addons/falcon-bridge/src/main/java/org/apache/atlas/falcon/hook/FalconHook.java 
188b7543c 
  
addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java
 314ff68e6 
  addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java 
e001a06d6 
  addons/sqoop-bridge/src/main/java/org/apache/atlas/sqoop/hook/SqoopHook.java 
666ec13c0 
  
addons/storm-bridge/src/main/java/org/apache/atlas/storm/hook/StormAtlasHook.java
 c3df8fcdf 
  notification/src/main/java/org/apache/atlas/hook/AtlasHook.java 38f320826 
  notification/src/test/java/org/apache/atlas/hook/AtlasHookTest.java d59cb1cf8 
  webapp/src/test/java/org/apache/atlas/web/integration/BasicSearchIT.java 
5806a10d6 
  
webapp/src/test/java/org/apache/atlas/web/integration/EntityJerseyResourceIT.java
 f2a78010a 
  webapp/src/test/resources/json/search-parameters/entity-filters.json 
67b0b51f5 


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

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


Testing
---

Pre-commit test run - 
https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/580


Thanks,

Madhan Neethiraj



Jenkins build is back to normal : Atlas-1.0-IntegrationTests #785

2018-08-16 Thread Apache Jenkins Server
See 




[jira] [Commented] (ATLAS-2546) Fix unstable Hive Hook IT tests

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


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

ASF subversion and git services commented on ATLAS-2546:


Commit 6641a17b102370b366ab90cc333c2e91dcfb8482 in atlas's branch 
refs/heads/branch-0.8 from [~bpgergo]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=6641a17 ]

ATLAS-2546: Fix for Hive Hook IT failure.

Signed-off-by: Ashutosh Mestry 
(cherry picked from commit 71965e31a2d50fcddb04e36fd473cc199baa875f)


> Fix unstable Hive Hook IT tests
> ---
>
> Key: ATLAS-2546
> URL: https://issues.apache.org/jira/browse/ATLAS-2546
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: 1.0.0
>Reporter: Péter Gergő Barna
>Assignee: Péter Gergő Barna
>Priority: Major
> Fix For: 1.0.0
>
> Attachments: ATLAS-2546-1.patch, ATLAS-2546-2.patch
>
>
> Hive hook integration tests fail to initialize hive hook
>  
> Example 
> https://builds.apache.org/blue/rest/organizations/jenkins/pipelines/Atlas-master-IntegrationTests/runs/991/log/?start=0
>  
> {noformat}
> 127.0.0.1 - - [09/Apr/2018:06:51:35 +] "GET 
> //localhost:31000/api/atlas/v2/entity/guid/d643540d-dde8-4020-8cd9-2afb999b0afe
>  HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
> Tests run: 46, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 482.819 sec 
> <<< FAILURE! - in TestSuite
> testAlterTablePartitionColumnType(org.apache.atlas.hive.hook.HiveHookIT)  
> Time elapsed: 80.657 sec  <<< FAILURE!
> java.lang.AssertionError: Assertions failed. Failing after waiting for 
> timeout 8 msecs
>   at 
> org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
>   at 
> org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
>   at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:228)
>   at 
> org.apache.atlas.AtlasClientV2.getEntityByAttribute(AtlasClientV2.java:264)
>   at org.apache.atlas.hive.HiveITBase$1.evaluate(HiveITBase.java:209)
>   at org.apache.atlas.hive.HiveITBase.waitFor(HiveITBase.java:266)
>   at 
> org.apache.atlas.hive.HiveITBase.assertEntityIsRegistered(HiveITBase.java:206)
>   at 
> org.apache.atlas.hive.hook.HiveHookIT.assertColumnIsRegistered(HiveHookIT.java:288)
>   at 
> org.apache.atlas.hive.hook.HiveHookIT.testAlterTablePartitionColumnType(HiveHookIT.java:1309)
> testAlterTableRename(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 
> 14.214 sec  <<< FAILURE!
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>   at java.util.ArrayList.rangeCheck(ArrayList.java:657)
>   at java.util.ArrayList.get(ArrayList.java:433)
>   at 
> org.apache.atlas.hive.hook.HiveHookIT.assertTrait(HiveHookIT.java:1018)
>   at 
> org.apache.atlas.hive.hook.HiveHookIT.testAlterTableRename(HiveHookIT.java:970)
> testCreateTableHiveProcessNameAttribute(org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT)
>   Time elapsed: 0.011 sec  <<< FAILURE!
> java.lang.AssertionError: expected [0] but found [4]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:496)
>   at org.testng.Assert.assertEquals(Assert.java:125)
>   at org.testng.Assert.assertEquals(Assert.java:372)
>   at org.testng.Assert.assertEquals(Assert.java:382)
>   at 
> org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:154)
>   at 
> org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:147)
>   at org.apache.atlas.hive.HiveITBase.runCommand(HiveITBase.java:139)
>   at 
> org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute(HiveMetastoreBridgeIT.java:105)
> Results :
> Failed tests: 
>   
> HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute:105->HiveITBase.runCommand:139->HiveITBase.runCommandWithDelay:147->HiveITBase.runCommandWithDelay:154
>  expected [0] but found [4]
>   
> HiveHookIT.testAlterTablePartitionColumnType:1309->assertColumnIsRegistered:288->HiveITBase.assertEntityIsRegistered:206->HiveITBase.waitFor:270
>  Assertions failed. Failing after waiting for timeout 8 msecs
>   HiveHookIT.testAlterTableRename:970->assertTrait:1018 » IndexOutOfBounds 
> Index...
> Tests run: 46, Failures: 3, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] --- jetty-maven-plugin:9.3.14.v20161028:stop (stop-jetty) @ 
> hive-bridge ---
> [INFO] Waiting 10 seconds for jetty to stop
> [INFO] Stopped ServerConnector@7ac4e393{HTTP/1.1,[http/1.1]}{0.0.0.0:31000}
> [INFO] Closing Spring root WebApplicationContext
> [INFO] Shutting down log4j
> [INFO] Stopped 
>