Re: Review Request 61589: [ATLAS-2040]: Relationship with many-to-many cardinality gives incorrect relationship attribute value

2017-08-28 Thread Madhan Neethiraj

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


Fix it, then Ship it!





intg/src/test/java/org/apache/atlas/TestRelationshipUtilsV2.java
Line 133 (original), 140 (patched)


When both ends have the same type and name, perhaps we should require 
second end to be not specified in relationship def? This can help avoid 
duplicate end-def.


- Madhan Neethiraj


On Aug. 28, 2017, 11:26 p.m., Sarath Subramanian wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61589/
> ---
> 
> (Updated Aug. 28, 2017, 11:26 p.m.)
> 
> 
> Review request for atlas, David Radley and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-2040
> https://issues.apache.org/jira/browse/ATLAS-2040
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Relationship with many-to-many cardinality gives incorrect relationship 
> attribute value when same attribute name and same type is specified at both 
> ends.
> 
> For e.g. employee-friends type where same attribute 'friends' in type 
> 'Employee' is specified at both ends
> 
> Add more unit tests to test these cases
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java 
> 3de02d08 
>   intg/src/main/java/org/apache/atlas/type/AtlasStructType.java 6f30ff35 
>   intg/src/test/java/org/apache/atlas/TestRelationshipUtilsV2.java 98be2b8d 
>   repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java 
> 0177f7e4 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
>  42713763 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
>  fbb98584 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
>  4e7aa473 
>   
> repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreHardDeleteV1Test.java
>  2c311403 
>   
> repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreSoftDeleteV1Test.java
>  33ef8c0f 
>   
> repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1Test.java
>  a35647dc 
> 
> 
> Diff: https://reviews.apache.org/r/61589/diff/4/
> 
> 
> Testing
> ---
> 
> * added new  UTs to test many-to-many relationships on same attribute 
> name/same type
> * added new  UTs to test one-to-one relationships on same attribute name/same 
> type
> * mvn clean install -DskipITs=true suceeded without any failures
> 
> 
> Thanks,
> 
> Sarath Subramanian
> 
>



Re: Review Request 61589: [ATLAS-2040]: Relationship with many-to-many cardinality gives incorrect relationship attribute value

2017-08-28 Thread Sarath Subramanian

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

(Updated Aug. 28, 2017, 4:26 p.m.)


Review request for atlas, David Radley and Madhan Neethiraj.


Changes
---

rebased with latest from master


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


Repository: atlas


Description
---

Relationship with many-to-many cardinality gives incorrect relationship 
attribute value when same attribute name and same type specified at both ends
When same attribute name and same type is mentioned in both ends of 
relationship definition. Creating new relationships fails to retireve the right 
value.
For e.g. employee-friends type: same attribute name 'friends' in type 
'Employee' specified at both ends
Add more unit tests to test these cases


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java 3de02d08 
  intg/src/main/java/org/apache/atlas/type/AtlasStructType.java 6f30ff35 
  intg/src/test/java/org/apache/atlas/TestRelationshipUtilsV2.java 98be2b8d 
  repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java 
0177f7e4 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
 42713763 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java
 fbb98584 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
 4e7aa473 
  
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreHardDeleteV1Test.java
 2c311403 
  
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreSoftDeleteV1Test.java
 33ef8c0f 
  
repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1Test.java
 a35647dc 


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

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


Testing
---

* added new  UTs to test many-to-many relationships on same attribute name/same 
type
* added new  UTs to test one-to-one relationships on same attribute name/same 
type
* mvn clean install -DskipITs=true suceeded without any failures


Thanks,

Sarath Subramanian



[jira] [Assigned] (ATLAS-1708) Incorrect error code while querying an entity for tag for which tag association is removed.

2017-08-28 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian reassigned ATLAS-1708:
-

   Resolution: Fixed
 Assignee: Ruchi Solani  (was: Sarath Subramanian)
Fix Version/s: 0.9-incubating

Committed to master: 
https://git1-us-west.apache.org/repos/asf?p=atlas.git;a=commit;h=35c776448cb932723e64fda6b642f65659e83879

> Incorrect error code while querying an entity for tag for which tag 
> association is removed.
> ---
>
> Key: ATLAS-1708
> URL: https://issues.apache.org/jira/browse/ATLAS-1708
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: trunk, 0.9-incubating
>Reporter: Sharmadha Sainath
>Assignee: Ruchi Solani
> Fix For: 0.9-incubating
>
> Attachments: ATLAS-1708.2.patch, EntityTagException.txt
>
>
> 1. Associated a tag PII to an entity.
> 2. /api/atlas/v2/entity/guid/{guid}/classification/PII GET query returned 200 
> OK.
> 3. Removed the PII tag from the entity.
> 4. /api/atlas/v2/entity/guid/{guid}/classification/PII GET query returned 500 
> Internal Server error. It should return 404 ideally.
> Attached the exception stack trace from application logs when GET query is 
> fired.
> Note : When a tag is not associated to the entity at all, and when the same 
> GET request is made with that tag name , 404 is returned.
> For example , Tag Personal is not associated to the entity and the same GET 
> request with tag Personal returns 404 . *Only when a tag is associated and 
> disassociated from an entity, GET request throws 500 internal server *



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


[jira] [Commented] (ATLAS-2083) Refactor AtlasDefStore classes to reduce code duplication

2017-08-28 Thread Richard Ding (JIRA)

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

Richard Ding commented on ATLAS-2083:
-

Thank you for the reviews [~madhan.neethiraj].

> Refactor AtlasDefStore classes to reduce code duplication
> ---
>
> Key: ATLAS-2083
> URL: https://issues.apache.org/jira/browse/ATLAS-2083
> Project: Atlas
>  Issue Type: Improvement
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Richard Ding
>Assignee: Richard Ding
> Fix For: 0.9-incubating
>
> Attachments: ATLAS-2083_1.patch, ATLAS-2083.patch
>
>
> Currently each top-level TypeDef defines its own DefStore interface. These 
> interfaces have the same methods.  I suggest that we use generic interface to 
> reduce the code duplication.
> We can also tighten the type restriction on these interfaces. Replacing 
> Object reference with AtlasVertex reference.



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


[jira] [Resolved] (ATLAS-2083) Refactor AtlasDefStore classes to reduce code duplication

2017-08-28 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj resolved ATLAS-2083.
-
Resolution: Fixed

Committed to master: 
http://git-wip-us.apache.org/repos/asf/atlas/commit/15d67e52

[~rding] - thanks for the patch. I committed the patch with few minor updates 
like removal of unused imports, typo. Please review.

> Refactor AtlasDefStore classes to reduce code duplication
> ---
>
> Key: ATLAS-2083
> URL: https://issues.apache.org/jira/browse/ATLAS-2083
> Project: Atlas
>  Issue Type: Improvement
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Richard Ding
>Assignee: Richard Ding
> Fix For: 0.9-incubating
>
> Attachments: ATLAS-2083_1.patch, ATLAS-2083.patch
>
>
> Currently each top-level TypeDef defines its own DefStore interface. These 
> interfaces have the same methods.  I suggest that we use generic interface to 
> reduce the code duplication.
> We can also tighten the type restriction on these interfaces. Replacing 
> Object reference with AtlasVertex reference.



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


[RESULT] [VOTE] Release Apache Atlas 0.8.1 - RC 1

2017-08-28 Thread Sarath Subramanian
Hello all,

The voting process for Apache Atlas 0.8.1 RC1 has completed. Thanks to all
who participated in the voting process. The vote is in favor of releasing
Apache Atlas 0.8.1 RC1.

The final votes are as follows:
12 +1s (7 binding,  5 non-binding) and no 0s and -1s.

Seven +1 votes from following members (binding):
+1 Sarath Subramanian (Committer, PMC)
+1 Nixon Rodrigues (Committer, PMC)
+1 Keval Bhatt (Committer, PMC)
+1 Apoorv Naik (Committer, PMC)
+1 Madhan Neethiraj (Committer, PMC)
+1 Ashutosh Mestry (Committer)
+1 Ayub Khan Pathan (Committer, PMC)

Five +1 vote from following members (non-binding):
+1 Ramesh Mani
+1 Don Bosco Durai
+1 Vishal Suvagia
+1 Srikanth Venkat
+1 Sharmadha Sainath

Zero +0 votes

Zero –1 votes

It has been 72 hours since the vote request and the voting is now closed. I
will begin the process of creating the release artifacts for Apache Atlas
0.8.1 based on RC1.


-- 
Thanks,
Sarath Subramanian


Re: Review Request 61940: ATLAS-2090 : UI - Cache busting for static content (css, js)

2017-08-28 Thread Ashutosh Mestry

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



Question: _require.js_ does not have bust parameter. Is this intentional? If 
yes, what is the rationale?

http://localhost:21000/js/libs/requirejs/require.js

- Ashutosh Mestry


On Aug. 28, 2017, 1:22 p.m., keval bhatt wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61940/
> ---
> 
> (Updated Aug. 28, 2017, 1:22 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, 
> Nixon Rodrigues, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2090
> https://issues.apache.org/jira/browse/ATLAS-2090
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Grunt task is updated to handle Cache busting issue, so now after every 
> successful build grunt task will add new time as the query string for static 
> content i.e .CSS and .JS
> 
> 
> Diffs
> -
> 
>   dashboardv2/gruntfile.js 900ee40 
>   dashboardv2/package.json 6068c79 
>   dashboardv2/public/index.html f572049 
>   dashboardv2/public/index.html.tpl PRE-CREATION 
>   dashboardv2/public/js/main.js 63e9abc 
> 
> 
> Diff: https://reviews.apache.org/r/61940/diff/1/
> 
> 
> Testing
> ---
> 
> Build the atlas code and checked the query string for static content i.e.CSS 
> and .JS, its working as expected.
> 
> 
> Thanks,
> 
> keval bhatt
> 
>



Re: Review Request 61940: ATLAS-2090 : UI - Cache busting for static content (css, js)

2017-08-28 Thread Ashutosh Mestry

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



This is an elegant solution. It will ensure that JS libraries & templates are 
loaded from the server for each build that is deployed.

I verified:
- Firefox
- Chrome

Played around with the UI while noting the URLs requested from server.

Good thing is that the _bust_ value remains constant across browsers 
(re-stating the point above).

- Ashutosh Mestry


On Aug. 28, 2017, 1:22 p.m., keval bhatt wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61940/
> ---
> 
> (Updated Aug. 28, 2017, 1:22 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, 
> Nixon Rodrigues, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2090
> https://issues.apache.org/jira/browse/ATLAS-2090
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Grunt task is updated to handle Cache busting issue, so now after every 
> successful build grunt task will add new time as the query string for static 
> content i.e .CSS and .JS
> 
> 
> Diffs
> -
> 
>   dashboardv2/gruntfile.js 900ee40 
>   dashboardv2/package.json 6068c79 
>   dashboardv2/public/index.html f572049 
>   dashboardv2/public/index.html.tpl PRE-CREATION 
>   dashboardv2/public/js/main.js 63e9abc 
> 
> 
> Diff: https://reviews.apache.org/r/61940/diff/1/
> 
> 
> Testing
> ---
> 
> Build the atlas code and checked the query string for static content i.e.CSS 
> and .JS, its working as expected.
> 
> 
> Thanks,
> 
> keval bhatt
> 
>



Re: [VOTE] Release Apache Atlas 0.8.1 - release candidate 1

2017-08-28 Thread Sharmadha Sainath
+1 for the release.


1.Sanity Testing Successful.
2.Tested new Search functionality from UI and Rest API.



On 8/28/17, 6:33 PM, "Srikanth Venkat"  wrote:

>+1 (non-binding)
>
>I’ve tested on a local VM with a few test scenarios and improvements looks 
>great.
>The new entity and tag attribute search and column results filter work well 
>and will be great addition for Atlas users.
>Thanks to the Atlas community for thoughtfully designing and implementing this 
>within such a short period!
>
>Cheers
>Srikanth
>
>Srikanth Venkat | Senior Director, Product Management | 
>sven...@hortonworks.com | 
> 
>
>On 8/25/17, 2:13 PM, "Ramesh Mani"  wrote:
>
>+1 for the rc1 of Apache Atlas 0.8.1 release
>
>Verified the build with the source
>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz
>
>
>Thanks,
>Ramesh
>
>On 8/23/17, 4:48 PM, "Sarath Subramanian"  wrote:
>
>>Atlas team,
>>
>>I have created a build for Apache Atlas 0.8.1 - release candidate #1.
>>Thanks to everyone who have contributed to this release and tested
>>this.
>>
>>
>>Changes since last release-candidate:
>>
>>   - ATLAS-2038: Minor refactoring to use
>>org.apache.commons.codec.binary.Base64.
>>   - ATLAS-2073: UI - removing tag or type from drop-down will not
>>exclude respective filters
>>   - ATLAS-2074: AtlasType.resolveReferences() method made package-private
>>   - ATLAS-2078: Type update using v1 API doesn't route to
>>createUpdateTypesDef in v2 API
>>   - ATLAS-2079: Fix coverity scan issue and IT failures introduced by
>>ATLAS-2062
>>   - ATLAS-2080: fix - tag filters should not be added in the results
>>attributes list
>>   - ATLAS-2082: basic-search fails when in-memory filters all results
>>from index-query
>>
>>Git tag for the release:
>>
>>https://github.com/apache/atlas/tree/release-0.8.1-rc1
>>
>>
>>Sources for the release:
>>
>>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>>sources.tar.gz
>>
>>Source release verification:
>>  PGP Signature :
>>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>>sources.tar.gz.asc
>>  MD5 Checksum :
>>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>>sources.tar.gz.md5
>>
>>  SHA512 Checksum :
>>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>>sources.tar.gz.sha512
>>
>>Keys to verify the signature of the release artifacts are available at:
>>
>>https://dist.apache.org/repos/dist/dev/atlas/KEYS
>>
>>
>>List of improvements and issues addressed in this release:
>>
>>https://issues.apache.org/jira/browse/ATLAS-2066?jql=project%20%3D%20ATLAS
>>%20AND%20status%20%3D%20Resolved%20AND%20resolution%20%3D%20Fixed%20AND%20
>>fixVersion%20%3D%200.8.1-incubating%20ORDER%20BY%20key%20DESC
>>
>>
>>Note that this is a source only release and we are voting on the
>>source *release-0.8.1-rc1*. Please download, test, and try it out.
>>
>>Voting will be open for at least *72 hours* (until the required number
>>of votes are obtained) till 26th August, 2017 04:45 PM PT.
>>
>>[ ] +1 approve
>>[ ] +0 no opinion
>>[ ] -1 disapprove (and reason why)
>>
>>+1 from my side for the release.
>>
>>
>>Thanks,
>>
>>Sarath Subramanian
>
>
>


Review Request 61940: ATLAS-2090 : UI - Cache busting for static content (css, js)

2017-08-28 Thread keval bhatt

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

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


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


Repository: atlas


Description
---

Grunt task is updated to handle Cache busting issue, so now after every 
successful build grunt task will add new time as the query string for static 
content i.e .CSS and .JS


Diffs
-

  dashboardv2/gruntfile.js 900ee40 
  dashboardv2/package.json 6068c79 
  dashboardv2/public/index.html f572049 
  dashboardv2/public/index.html.tpl PRE-CREATION 
  dashboardv2/public/js/main.js 63e9abc 


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


Testing
---

Build the atlas code and checked the query string for static content i.e.CSS 
and .JS, its working as expected.


Thanks,

keval bhatt



[jira] [Updated] (ATLAS-2090) UI - Cache busting for static content (css, js)

2017-08-28 Thread Keval Bhatt (JIRA)

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

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

> UI - Cache busting for static content (css, js)
> ---
>
> Key: ATLAS-2090
> URL: https://issues.apache.org/jira/browse/ATLAS-2090
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.9-incubating
>Reporter: Nixon Rodrigues
>Assignee: Keval Bhatt
> Fix For: 0.9-incubating
>
> Attachments: ATLAS-2090.patch
>
>




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


Re: [VOTE] Release Apache Atlas 0.8.1 - release candidate 1

2017-08-28 Thread Srikanth Venkat
+1 (non-binding)

I’ve tested on a local VM with a few test scenarios and improvements looks 
great.
The new entity and tag attribute search and column results filter work well and 
will be great addition for Atlas users.
Thanks to the Atlas community for thoughtfully designing and implementing this 
within such a short period!

Cheers
Srikanth

Srikanth Venkat | Senior Director, Product Management | 
sven...@hortonworks.com | 
 

On 8/25/17, 2:13 PM, "Ramesh Mani"  wrote:

+1 for the rc1 of Apache Atlas 0.8.1 release

Verified the build with the source
https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
sources.tar.gz


Thanks,
Ramesh

On 8/23/17, 4:48 PM, "Sarath Subramanian"  wrote:

>Atlas team,
>
>I have created a build for Apache Atlas 0.8.1 - release candidate #1.
>Thanks to everyone who have contributed to this release and tested
>this.
>
>
>Changes since last release-candidate:
>
>   - ATLAS-2038: Minor refactoring to use
>org.apache.commons.codec.binary.Base64.
>   - ATLAS-2073: UI - removing tag or type from drop-down will not
>exclude respective filters
>   - ATLAS-2074: AtlasType.resolveReferences() method made package-private
>   - ATLAS-2078: Type update using v1 API doesn't route to
>createUpdateTypesDef in v2 API
>   - ATLAS-2079: Fix coverity scan issue and IT failures introduced by
>ATLAS-2062
>   - ATLAS-2080: fix - tag filters should not be added in the results
>attributes list
>   - ATLAS-2082: basic-search fails when in-memory filters all results
>from index-query
>
>Git tag for the release:
>
>https://github.com/apache/atlas/tree/release-0.8.1-rc1
>
>
>Sources for the release:
>
>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz
>
>Source release verification:
>  PGP Signature :
>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz.asc
>  MD5 Checksum :
>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz.md5
>
>  SHA512 Checksum :
>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz.sha512
>
>Keys to verify the signature of the release artifacts are available at:
>
>https://dist.apache.org/repos/dist/dev/atlas/KEYS
>
>
>List of improvements and issues addressed in this release:
>
>https://issues.apache.org/jira/browse/ATLAS-2066?jql=project%20%3D%20ATLAS
>%20AND%20status%20%3D%20Resolved%20AND%20resolution%20%3D%20Fixed%20AND%20
>fixVersion%20%3D%200.8.1-incubating%20ORDER%20BY%20key%20DESC
>
>
>Note that this is a source only release and we are voting on the
>source *release-0.8.1-rc1*. Please download, test, and try it out.
>
>Voting will be open for at least *72 hours* (until the required number
>of votes are obtained) till 26th August, 2017 04:45 PM PT.
>
>[ ] +1 approve
>[ ] +0 no opinion
>[ ] -1 disapprove (and reason why)
>
>+1 from my side for the release.
>
>
>Thanks,
>
>Sarath Subramanian





[jira] [Updated] (ATLAS-2090) UI - Cache busting for static content (css, js)

2017-08-28 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-2090:
---
Attachment: (was: ATLAS-2090.patch)

> UI - Cache busting for static content (css, js)
> ---
>
> Key: ATLAS-2090
> URL: https://issues.apache.org/jira/browse/ATLAS-2090
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.9-incubating
>Reporter: Nixon Rodrigues
>Assignee: Keval Bhatt
> Fix For: 0.9-incubating
>
>




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


[jira] [Updated] (ATLAS-2090) UI - Cache busting for static content (css, js)

2017-08-28 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-2090:
---
Fix Version/s: 0.9-incubating

> UI - Cache busting for static content (css, js)
> ---
>
> Key: ATLAS-2090
> URL: https://issues.apache.org/jira/browse/ATLAS-2090
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.9-incubating
>Reporter: Nixon Rodrigues
>Assignee: Keval Bhatt
> Fix For: 0.9-incubating
>
> Attachments: ATLAS-2090.patch
>
>




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


[jira] [Updated] (ATLAS-2090) UI - Cache busting for static content (css, js)

2017-08-28 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-2090:
---
Affects Version/s: 0.9-incubating

> UI - Cache busting for static content (css, js)
> ---
>
> Key: ATLAS-2090
> URL: https://issues.apache.org/jira/browse/ATLAS-2090
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.9-incubating
>Reporter: Nixon Rodrigues
>Assignee: Keval Bhatt
> Fix For: 0.9-incubating
>
> Attachments: ATLAS-2090.patch
>
>




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


[jira] [Updated] (ATLAS-2090) UI - Cache busting for static content (css, js)

2017-08-28 Thread Keval Bhatt (JIRA)

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

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

> UI - Cache busting for static content (css, js)
> ---
>
> Key: ATLAS-2090
> URL: https://issues.apache.org/jira/browse/ATLAS-2090
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nixon Rodrigues
>Assignee: Keval Bhatt
> Attachments: ATLAS-2090.patch
>
>




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


[jira] [Created] (ATLAS-2090) UI - Cache busting for static content (css, js)

2017-08-28 Thread Nixon Rodrigues (JIRA)
Nixon Rodrigues created ATLAS-2090:
--

 Summary: UI - Cache busting for static content (css, js)
 Key: ATLAS-2090
 URL: https://issues.apache.org/jira/browse/ATLAS-2090
 Project: Atlas
  Issue Type: Bug
Reporter: Nixon Rodrigues
Assignee: Keval Bhatt






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


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

2017-08-28 Thread Nixon Rodrigues (JIRA)
Nixon Rodrigues created ATLAS-2089:
--

 Summary: Upgrade Jetty version for Atlas
 Key: ATLAS-2089
 URL: https://issues.apache.org/jira/browse/ATLAS-2089
 Project: Atlas
  Issue Type: Bug
Reporter: Nixon Rodrigues
Assignee: Nixon Rodrigues



Jetty version in Atlas pom.xml is ‘9.2.12.v20150709’, which is about 2 years 
old (released date 2015-07-09). Most recent one in maven central is 
‘9.4.6.v20170531’. We should try this version.



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


Re: [VOTE] Release Apache Atlas 0.8.1 - release candidate 1

2017-08-28 Thread Ayub Khan Pathan
+1 for the release candidate.
- Verified the build
- Sanity testing successful.

Thanks
Ayub Khan

On 8/28/17, 12:09 PM, "vishal suvagia"  wrote:


Thanks Sarath, for  putting up the Atlas-0.8.1-rc-1.

+1 for the Atlas 0.8.1-rc1 build.
Verified the build source from tag : 
https://github.com/apache/atlas/tree/release-0.8.1-rc1.

Thanks,
Vishal Suvagia.

 

On Saturday, 26 August 2017 5:11 AM, Don Bosco Durai  
wrote:
 

 +1 
- No binary files, except zip files containing json files
- Verified build with -DskipTests=true  (my build env as some issues)

Thanks

Bosco


On 8/25/17, 2:13 PM, "Ramesh Mani"  wrote:

+1 for the rc1 of Apache Atlas 0.8.1 release

Verified the build with the source

https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
sources.tar.gz


Thanks,
Ramesh

On 8/23/17, 4:48 PM, "Sarath Subramanian"  wrote:

>Atlas team,
>
>I have created a build for Apache Atlas 0.8.1 - release candidate #1.
>Thanks to everyone who have contributed to this release and tested
>this.
>
>
>Changes since last release-candidate:
>
>  - ATLAS-2038: Minor refactoring to use
>org.apache.commons.codec.binary.Base64.
>  - ATLAS-2073: UI - removing tag or type from drop-down will not
>exclude respective filters
>  - ATLAS-2074: AtlasType.resolveReferences() method made 
package-private
>  - ATLAS-2078: Type update using v1 API doesn't route to
>createUpdateTypesDef in v2 API
>  - ATLAS-2079: Fix coverity scan issue and IT failures introduced by
>ATLAS-2062
>  - ATLAS-2080: fix - tag filters should not be added in the results
>attributes list
>  - ATLAS-2082: basic-search fails when in-memory filters all results
>from index-query
>
>Git tag for the release:
>
>https://github.com/apache/atlas/tree/release-0.8.1-rc1
>
>
>Sources for the release:
>

>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz
>
>Source release verification:
>  PGP Signature :

>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz.asc
>  MD5 Checksum :

>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz.md5
>
>  SHA512 Checksum :

>https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
>sources.tar.gz.sha512
>
>Keys to verify the signature of the release artifacts are available at:
>
>https://dist.apache.org/repos/dist/dev/atlas/KEYS
>
>
>List of improvements and issues addressed in this release:
>

>https://issues.apache.org/jira/browse/ATLAS-2066?jql=project%20%3D%20ATLAS

>%20AND%20status%20%3D%20Resolved%20AND%20resolution%20%3D%20Fixed%20AND%20
>fixVersion%20%3D%200.8.1-incubating%20ORDER%20BY%20key%20DESC
>
>
>Note that this is a source only release and we are voting on the
>source *release-0.8.1-rc1*. Please download, test, and try it out.
>
>Voting will be open for at least *72 hours* (until the required number
>of votes are obtained) till 26th August, 2017 04:45 PM PT.
>
>[ ] +1 approve
>[ ] +0 no opinion
>[ ] -1 disapprove (and reason why)
>
>+1 from my side for the release.
>
>
>Thanks,
>
>Sarath Subramanian






   



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

2017-08-28 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-2071 : UI : Minification of atlas code (js,css)

--
[...truncated 36.63 MB...]
2017-08-28 06:56:35,570 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2017-08-28 06:56:35,570 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2017-08-28 06:56:35,571 WARN  - [main-SendThread(localhost:19026):] ~ Session 
0x15e279b5b66 for server null, unexpected error, closing socket connection 
and attempting reconnect (ClientCnxn$SendThread:1102)
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-08-28 06:56:35,696 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2017-08-28 06:56:35,696 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2017-08-28 06:56:37,322 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2017-08-28 06:56:37,322 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2017-08-28 06:56:37,323 WARN  - [main-SendThread(localhost:19026):] ~ Session 
0x15e279b5b66 for server null, unexpected error, closing socket connection 
and attempting reconnect (ClientCnxn$SendThread:1102)
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-08-28 06:56:37,443 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2017-08-28 06:56:37,443 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2017-08-28 06:56:37,444 WARN  - [main-SendThread(localhost:19026):] ~ Session 
0x15e279b5b66 for server null, unexpected error, closing socket connection 
and attempting reconnect (ClientCnxn$SendThread:1102)
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-08-28 06:56:37,757 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2017-08-28 06:56:37,757 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2017-08-28 06:56:38,206 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2017-08-28 06:56:38,207 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2017-08-28 06:56:38,805 DEBUG - [main-SendThread(localhost:19026):] ~ ==> 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client) 
(InMemoryJAASConfiguration:208)
2017-08-28 06:56:38,805 DEBUG - [main-SendThread(localhost:19026):] ~ <== 
InMemoryJAASConfiguration.getAppConfigurationEntry(Client): {} 
(InMemoryJAASConfiguration:238)
2017-08-28 06:56:38,806 WARN  - [main-SendThread(localhost:19026):] ~ Session 
0x15e279b5b66 for server null, unexpected error, closing socket connection 
and attempting reconnect (ClientCnxn$SendThread:1102)
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-08-28 06:56:39,034 DEBUG - 

Re: [VOTE] Release Apache Atlas 0.8.1 - release candidate 1

2017-08-28 Thread vishal suvagia

Thanks Sarath, for  putting up the Atlas-0.8.1-rc-1.

+1 for the Atlas 0.8.1-rc1 build.
Verified the build source from tag : 
https://github.com/apache/atlas/tree/release-0.8.1-rc1.

Thanks,
Vishal Suvagia.

 

On Saturday, 26 August 2017 5:11 AM, Don Bosco Durai  
wrote:
 

 +1 
- No binary files, except zip files containing json files
- Verified build with -DskipTests=true  (my build env as some issues)

Thanks

Bosco


On 8/25/17, 2:13 PM, "Ramesh Mani"  wrote:

    +1 for the rc1 of Apache Atlas 0.8.1 release
    
    Verified the build with the source
    https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
    sources.tar.gz
    
    
    Thanks,
    Ramesh
    
    On 8/23/17, 4:48 PM, "Sarath Subramanian"  wrote:
    
    >Atlas team,
    >
    >I have created a build for Apache Atlas 0.8.1 - release candidate #1.
    >Thanks to everyone who have contributed to this release and tested
    >this.
    >
    >
    >Changes since last release-candidate:
    >
    >  - ATLAS-2038: Minor refactoring to use
    >org.apache.commons.codec.binary.Base64.
    >  - ATLAS-2073: UI - removing tag or type from drop-down will not
    >exclude respective filters
    >  - ATLAS-2074: AtlasType.resolveReferences() method made package-private
    >  - ATLAS-2078: Type update using v1 API doesn't route to
    >createUpdateTypesDef in v2 API
    >  - ATLAS-2079: Fix coverity scan issue and IT failures introduced by
    >ATLAS-2062
    >  - ATLAS-2080: fix - tag filters should not be added in the results
    >attributes list
    >  - ATLAS-2082: basic-search fails when in-memory filters all results
    >from index-query
    >
    >Git tag for the release:
    >
    >https://github.com/apache/atlas/tree/release-0.8.1-rc1
    >
    >
    >Sources for the release:
    >
    >https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
    >sources.tar.gz
    >
    >Source release verification:
    >  PGP Signature :
    >https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
    >sources.tar.gz.asc
    >  MD5 Checksum :
    >https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
    >sources.tar.gz.md5
    >
    >  SHA512 Checksum :
    >https://dist.apache.org/repos/dist/dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-
    >sources.tar.gz.sha512
    >
    >Keys to verify the signature of the release artifacts are available at:
    >
    >https://dist.apache.org/repos/dist/dev/atlas/KEYS
    >
    >
    >List of improvements and issues addressed in this release:
    >
    >https://issues.apache.org/jira/browse/ATLAS-2066?jql=project%20%3D%20ATLAS
    >%20AND%20status%20%3D%20Resolved%20AND%20resolution%20%3D%20Fixed%20AND%20
    >fixVersion%20%3D%200.8.1-incubating%20ORDER%20BY%20key%20DESC
    >
    >
    >Note that this is a source only release and we are voting on the
    >source *release-0.8.1-rc1*. Please download, test, and try it out.
    >
    >Voting will be open for at least *72 hours* (until the required number
    >of votes are obtained) till 26th August, 2017 04:45 PM PT.
    >
    >[ ] +1 approve
    >[ ] +0 no opinion
    >[ ] -1 disapprove (and reason why)
    >
    >+1 from my side for the release.
    >
    >
    >Thanks,
    >
    >Sarath Subramanian
    
    




   

Re: Review Request 61926: ATLAS-2088: add dev-test scripts to invoke Atlas REST APIs

2017-08-28 Thread Nixon Rodrigues

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


Ship it!




Thanks Madhan for the shell scripts to make api to Atlas server, can you add 
pointer to this scripts in twiki docs so that it is visible to new users.

- Nixon Rodrigues


On Aug. 26, 2017, 10:11 a.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61926/
> ---
> 
> (Updated Aug. 26, 2017, 10:11 a.m.)
> 
> 
> Review request for atlas.
> 
> 
> Bugs: ATLAS-2088
> https://issues.apache.org/jira/browse/ATLAS-2088
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Adding scripts I use to make ATLAS REST API calls during development. Hope 
> this will be useful for wider community
> 
> 
> Diffs
> -
> 
>   dev-support/atlas-scripts/README.txt PRE-CREATION 
>   dev-support/atlas-scripts/admin_status.sh PRE-CREATION 
>   dev-support/atlas-scripts/classificationdef_get.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_classification_bulk.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_classifications_add.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_classifications_delete.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_classifications_update.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_create.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_delete_by_guid.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_get_by_guid.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_get_by_type_and_unique_attr.sh 
> PRE-CREATION 
>   dev-support/atlas-scripts/entity_update.sh PRE-CREATION 
>   dev-support/atlas-scripts/entity_update_by_type_and_unique_attr.sh 
> PRE-CREATION 
>   dev-support/atlas-scripts/entitydef_get.sh PRE-CREATION 
>   dev-support/atlas-scripts/enumdef_get.sh PRE-CREATION 
>   dev-support/atlas-scripts/env_atlas.sh PRE-CREATION 
>   dev-support/atlas-scripts/export_entity_by_guid.sh PRE-CREATION 
>   dev-support/atlas-scripts/export_entity_by_type_and_attr.sh PRE-CREATION 
>   dev-support/atlas-scripts/import_zip.sh PRE-CREATION 
>   dev-support/atlas-scripts/sample-data/add_classifications-Employee-1.json 
> PRE-CREATION 
>   dev-support/atlas-scripts/sample-data/bulk_classification.json PRE-CREATION 
>   dev-support/atlas-scripts/sample-data/entity-create-Employee-1.json 
> PRE-CREATION 
>   dev-support/atlas-scripts/sample-data/entity-create-Employee-2.json 
> PRE-CREATION 
>   dev-support/atlas-scripts/sample-data/entity-update-Employee-1.json 
> PRE-CREATION 
>   
> dev-support/atlas-scripts/sample-data/search_basic_with_attribute_filters.json
>  PRE-CREATION 
>   dev-support/atlas-scripts/sample-data/typedefs_create.json PRE-CREATION 
>   dev-support/atlas-scripts/sample-data/typedefs_delete.json PRE-CREATION 
>   dev-support/atlas-scripts/sample-data/typedefs_update.json PRE-CREATION 
>   
> dev-support/atlas-scripts/sample-data/update_classifications-Employee-1.json 
> PRE-CREATION 
>   dev-support/atlas-scripts/search_basic.sh PRE-CREATION 
>   dev-support/atlas-scripts/search_basic_with_attribute_filters.sh 
> PRE-CREATION 
>   dev-support/atlas-scripts/search_dsl.sh PRE-CREATION 
>   dev-support/atlas-scripts/structdef_get.sh PRE-CREATION 
>   dev-support/atlas-scripts/typedefs_create.sh PRE-CREATION 
>   dev-support/atlas-scripts/typedefs_delete.sh PRE-CREATION 
>   dev-support/atlas-scripts/typedefs_get.sh PRE-CREATION 
>   dev-support/atlas-scripts/typedefs_update.sh PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/61926/diff/1/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>