Re: Review Request 57302: [ATLAS-1630] : Basic search implementation using fulltext

2017-03-03 Thread Madhan Neethiraj

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


Ship it!




Ship It!

- Madhan Neethiraj


On March 4, 2017, 7:51 a.m., Sarath Subramanian wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57302/
> ---
> 
> (Updated March 4, 2017, 7:51 a.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-1630
> https://issues.apache.org/jira/browse/ATLAS-1630
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> 1. Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this is 
> in addition to existing /dsl and /fulltext
> 2. This method should take the following query parameters:
> a. query
> b. type
> c. classification
> d. limit
> e. offset
> 3. Given ‘query’ should be matched against ‘entityText’ attribute
> 
> g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, 
> ‘query’)
> 4. If ‘type’ is provided, add the following filter:
> .has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
> 5. If ‘classification’ is provided, add the following filter:
> .has(‘__traitNames’, T.in, [‘classification’, 
> ‘super-types-of-classification’])
> 6. limit/offset parameters..
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 
> c4c0063 
>   intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java 
> 82b0310 
>   intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java c6be8f5 
>   
> repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java
>  21ce14d 
>   
> repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
>  5628ed8 
>   
> repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java
>  e4777be 
>   
> repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 
> f076750 
>   webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 7f75a27 
> 
> 
> Diff: https://reviews.apache.org/r/57302/diff/6/
> 
> 
> Testing
> ---
> 
> REST API testing suceeded.
> 
> 
> Thanks,
> 
> Sarath Subramanian
> 
>



Re: Review Request 57302: [ATLAS-1630] : Basic search implementation using fulltext

2017-03-03 Thread Sarath Subramanian

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

(Updated March 3, 2017, 11:51 p.m.)


Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

1. Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this is 
in addition to existing /dsl and /fulltext
2. This method should take the following query parameters:
a. query
b. type
c. classification
d. limit
e. offset
3. Given ‘query’ should be matched against ‘entityText’ attribute

g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, 
‘query’)
4. If ‘type’ is provided, add the following filter:
.has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
5. If ‘classification’ is provided, add the following filter:
.has(‘__traitNames’, T.in, [‘classification’, 
‘super-types-of-classification’])
6. limit/offset parameters..


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 
c4c0063 
  intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java 82b0310 
  intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java c6be8f5 
  
repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java 
21ce14d 
  
repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java 
5628ed8 
  
repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java 
e4777be 
  repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 
f076750 
  webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 7f75a27 


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

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


Testing
---

REST API testing suceeded.


Thanks,

Sarath Subramanian



Build failed in Jenkins: apache-atlas-nightly #664

2017-03-03 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-1630: basic search implementation using fulltext with support for

--
[...truncated 491.28 KB...]
java.lang.IllegalArgumentException: Path segment is null

testInputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.002 sec  <<< FAILURE!
java.lang.IllegalArgumentException: One or more of query value parameters are 
null

testOutputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 0.016 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@41544701 failed with status 404 (Not 
Found) Response Body ({"error":"Dataset with name = sales_factC2Fp1NQKXE does 
not exist"})

testOutputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.015 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@bdaf1cd failed with status 404 (Not 
Found) Response Body ({"error":"Instance hive_table_v1 with unique attribute 
{qualifiedName=sales_factC2Fp1NQKXE} does not exist"})

testSchema(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  Time 
elapsed: 0.011 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@36d349b8 failed with status 404 (Not 
Found) Response Body ({"error":"Dataset with name = sales_factC2Fp1NQKXE does 
not exist"})

testSchemaForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.013 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@3a0aac61 failed with status 404 (Not 
Found) Response Body ({"error":"Instance hive_table_v1 with unique attribute 
{qualifiedName=sales_factC2Fp1NQKXE} does not exist"})

Running org.apache.atlas.CredentialProviderUtilityIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.738 sec - in 
org.apache.atlas.CredentialProviderUtilityIT
Running org.apache.atlas.notification.EntityNotificationIT
127.0.0.1 - - [04/Mar/2017:07:28:24 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:24 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:24 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:24 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:25 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:26 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:26 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:26 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
Tests run: 5, Failures: 2, Errors: 0, Skipped: 3, Time elapsed: 4.671 sec <<< 
FAILURE! - in org.apache.atlas.notification.EntityNotificationIT
testCreateEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.25 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@27ff5468 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testCreateEntity(EntityNotificationIT.java:79)

testDeleteEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.082 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@1e054543 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testDeleteEntity(EntityNotificationIT.java:108)

Running org.apache.atlas.notification.NotificationHookConsumerIT
127.0.0.1 - - [04/Mar/2017:07:28:29 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:30 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:30 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:30 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:31 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbR8R4fTqyYP'&limit=10&offset=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [04/Mar/2017:07:28:32 +] "GET 
/api/atlas/entities?type=hive_db&property=qualifiedName&

Re: Review Request 57302: [ATLAS-1630] : Basic search implementation using fulltext

2017-03-03 Thread Sarath Subramanian

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

(Updated March 3, 2017, 11:10 p.m.)


Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

1. Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this is 
in addition to existing /dsl and /fulltext
2. This method should take the following query parameters:
a. query
b. type
c. classification
d. limit
e. offset
3. Given ‘query’ should be matched against ‘entityText’ attribute

g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, 
‘query’)
4. If ‘type’ is provided, add the following filter:
.has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
5. If ‘classification’ is provided, add the following filter:
.has(‘__traitNames’, T.in, [‘classification’, 
‘super-types-of-classification’])
6. limit/offset parameters..


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 
c4c0063 
  intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java 82b0310 
  intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java c6be8f5 
  
repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java 
21ce14d 
  
repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java 
5628ed8 
  
repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java 
e4777be 
  repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 
f076750 
  webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 7f75a27 


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

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


Testing
---

REST API testing suceeded.


Thanks,

Sarath Subramanian



Re: Review Request 57302: [ATLAS-1630] : Basic search implementation using fulltext

2017-03-03 Thread Madhan Neethiraj

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


Ship it!




Ship It!

- Madhan Neethiraj


On March 4, 2017, 12:51 a.m., Sarath Subramanian wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57302/
> ---
> 
> (Updated March 4, 2017, 12:51 a.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-1630
> https://issues.apache.org/jira/browse/ATLAS-1630
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> 1. Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this is 
> in addition to existing /dsl and /fulltext
> 2. This method should take the following query parameters:
> a. query
> b. type
> c. classification
> d. limit
> e. offset
> 3. Given ‘query’ should be matched against ‘entityText’ attribute
> 
> g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, 
> ‘query’)
> 4. If ‘type’ is provided, add the following filter:
> .has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
> 5. If ‘classification’ is provided, add the following filter:
> .has(‘__traitNames’, T.in, [‘classification’, 
> ‘super-types-of-classification’])
> 6. limit/offset parameters..
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 
> c4c0063 
>   intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java c6be8f5 
>   
> repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java
>  21ce14d 
>   
> repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
>  5628ed8 
>   
> repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java
>  e4777be 
>   
> repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 
> f076750 
>   webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 7f75a27 
> 
> 
> Diff: https://reviews.apache.org/r/57302/diff/4/
> 
> 
> Testing
> ---
> 
> REST API testing suceeded.
> 
> 
> Thanks,
> 
> Sarath Subramanian
> 
>



Reg : Lineage using SQOOP Export

2017-03-03 Thread Karthik K
Team,

Is it possible to track lineage of mysql table which is created from SQOOP
Export via Hive table.

The hive table is exported to mysql via SQOOP. But in Atlas i couldnt find
new mysql table. But if i create hive table via sqoop import from mysql, am
able to find both mysql and hive table.

Is there any way to track lineage for sqoop export table as well.

Thanks & Regards,
K.Karthikeyan


Re: Podling Report Reminder - March 2017

2017-03-03 Thread John D. Ament
All,

There's been no response to this.  Can someone look at creating a report?

John

On 2017-03-01 22:07 (-0500), johndam...@apache.org wrote: 
> Dear podling,
> 
> This email was sent by an automated system on behalf of the Apache
> Incubator PMC. It is an initial reminder to give you plenty of time to
> prepare your quarterly board report.
> 
> The board meeting is scheduled for Wed, 15 March 2017, 10:30 am PDT.
> The report for your podling will form a part of the Incubator PMC
> report. The Incubator PMC requires your report to be submitted 2 weeks
> before the board meeting, to allow sufficient time for review and
> submission (Wed, March 01).
> 
> Please submit your report with sufficient time to allow the Incubator
> PMC, and subsequently board members to review and digest. Again, the
> very latest you should submit your report is 2 weeks prior to the board
> meeting.
> 
> Thanks,
> 
> The Apache Incubator PMC
> 
> Submitting your Report
> 
> --
> 
> Your report should contain the following:
> 
> *   Your project name
> *   A brief description of your project, which assumes no knowledge of
> the project or necessarily of its field
> *   A list of the three most important issues to address in the move
> towards graduation.
> *   Any issues that the Incubator PMC or ASF Board might wish/need to be
> aware of
> *   How has the community developed since the last report
> *   How has the project developed since the last report.
> *   How does the podling rate their own maturity.
> 
> This should be appended to the Incubator Wiki page at:
> 
> https://wiki.apache.org/incubator/March2017
> 
> Note: This is manually populated. You may need to wait a little before
> this page is created from a template.
> 
> Mentors
> ---
> 
> Mentors should review reports for their project(s) and sign them off on
> the Incubator wiki page. Signing off reports shows that you are
> following the project - projects that are not signed may raise alarms
> for the Incubator PMC.
> 
> Incubator PMC
> 


Re: Review Request 57302: [ATLAS-1630] : Basic search implementation using fulltext

2017-03-03 Thread Sarath Subramanian

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

(Updated March 3, 2017, 4:51 p.m.)


Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

1. Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this is 
in addition to existing /dsl and /fulltext
2. This method should take the following query parameters:
a. query
b. type
c. classification
d. limit
e. offset
3. Given ‘query’ should be matched against ‘entityText’ attribute

g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, 
‘query’)
4. If ‘type’ is provided, add the following filter:
.has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
5. If ‘classification’ is provided, add the following filter:
.has(‘__traitNames’, T.in, [‘classification’, 
‘super-types-of-classification’])
6. limit/offset parameters..


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 
c4c0063 
  intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java c6be8f5 
  
repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java 
21ce14d 
  
repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java 
5628ed8 
  
repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java 
e4777be 
  repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 
f076750 
  webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 7f75a27 


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

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


Testing
---

REST API testing suceeded.


Thanks,

Sarath Subramanian



Re: Review Request 57302: [ATLAS-1630] : Basic search implementation using fulltext

2017-03-03 Thread Sarath Subramanian

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

(Updated March 3, 2017, 4:46 p.m.)


Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

1. Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this is 
in addition to existing /dsl and /fulltext
2. This method should take the following query parameters:
a. query
b. type
c. classification
d. limit
e. offset
3. Given ‘query’ should be matched against ‘entityText’ attribute

g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, 
‘query’)
4. If ‘type’ is provided, add the following filter:
.has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
5. If ‘classification’ is provided, add the following filter:
.has(‘__traitNames’, T.in, [‘classification’, 
‘super-types-of-classification’])
6. limit/offset parameters..


Diffs
-

  intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 
c4c0063 
  intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java c6be8f5 
  
repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java 
21ce14d 
  
repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java 
5628ed8 
  
repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java 
e4777be 
  repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 
f076750 
  webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 7f75a27 


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


Testing (updated)
---

REST API testing suceeded.


Thanks,

Sarath Subramanian



Re: Review Request 57302: [ATLAS-1630] : Basic search implementation using fulltext

2017-03-03 Thread Sarath Subramanian

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

(Updated March 3, 2017, 4:44 p.m.)


Review request for atlas and Madhan Neethiraj.


Changes
---

addressed review comments


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


Repository: atlas


Description
---

1. Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this is 
in addition to existing /dsl and /fulltext
2. This method should take the following query parameters:
a. query
b. type
c. classification
d. limit
e. offset
3. Given ‘query’ should be matched against ‘entityText’ attribute

g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, 
‘query’)
4. If ‘type’ is provided, add the following filter:
.has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
5. If ‘classification’ is provided, add the following filter:
.has(‘__traitNames’, T.in, [‘classification’, 
‘super-types-of-classification’])
6. limit/offset parameters..


Diffs (updated)
-

  intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java 
c4c0063 
  intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java c6be8f5 
  
repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java 
21ce14d 
  
repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java 
5628ed8 
  
repository/src/main/java/org/apache/atlas/util/AtlasGremlin2QueryProvider.java 
e4777be 
  repository/src/main/java/org/apache/atlas/util/AtlasGremlinQueryProvider.java 
f076750 
  webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 7f75a27 


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

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


Testing
---

TODO: 
1. Handle SuperType cases for typeNames and TraitNames

Update: Keval's patch ATLAS-1608 not handling basic search results


Thanks,

Sarath Subramanian



[jira] [Created] (ATLAS-1630) Basic search implementation using fulltext

2017-03-03 Thread Sarath Subramanian (JIRA)
Sarath Subramanian created ATLAS-1630:
-

 Summary: Basic search implementation using fulltext
 Key: ATLAS-1630
 URL: https://issues.apache.org/jira/browse/ATLAS-1630
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 0.8-incubating
Reporter: Sarath Subramanian
Assignee: Sarath Subramanian


1.  Introduce a new search endpoint in DiscoveryREST called ‘/basic’ – this 
is in addition to existing /dsl and /fulltext
2.  This method should take the following query parameters:
 query, type, classification, limit and offset.
3.  Given ‘query’ should be matched against ‘entityText’ attribute
a
g.V().has(‘entityText’,com.thinkaurelius.titan.core.attribute.Text.CONTAINS, 
‘query’)
4.  If ‘type’ is provided, add the following filter:
 a. .has(‘__typeName’, T.in, [‘type’, ‘super-types-of-type’])
5.  If ‘classification’ is provided, add the following filter:
a.  .has(‘__traitNames’, T.in, [‘classification’, 
‘super-types-of-classification’])
6.  And the usual limit/offset parameters..



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Build failed in Jenkins: apache-atlas-nightly #663

2017-03-03 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-1626: updated Atlas type-load to be resilient to incorrect

[madhan] ATLAS-1627: fix for missed update to full-text index attribute on

[madhan] ATLAS-1629: updated copyright date in NOTICE file

--
[...truncated 491.49 KB...]
java.lang.IllegalArgumentException: Path segment is null

testInputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.IllegalArgumentException: One or more of query value parameters are 
null

testOutputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 0.013 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@7a6b8215 failed with status 404 (Not 
Found) Response Body ({"error":"Dataset with name = sales_factB9FLeNCTcQ does 
not exist"})

testOutputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.012 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@38568c24 failed with status 404 (Not 
Found) Response Body ({"error":"Instance hive_table_v1 with unique attribute 
{qualifiedName=sales_factB9FLeNCTcQ} does not exist"})

testSchema(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  Time 
elapsed: 0.009 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@12bb320c failed with status 404 (Not 
Found) Response Body ({"error":"Dataset with name = sales_factB9FLeNCTcQ does 
not exist"})

testSchemaForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.014 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@3f15de6 failed with status 404 (Not 
Found) Response Body ({"error":"Instance hive_table_v1 with unique attribute 
{qualifiedName=sales_factB9FLeNCTcQ} does not exist"})

Running org.apache.atlas.CredentialProviderUtilityIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.713 sec - in 
org.apache.atlas.CredentialProviderUtilityIT
Running org.apache.atlas.notification.EntityNotificationIT
127.0.0.1 - - [03/Mar/2017:17:49:18 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:18 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:19 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:19 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:19 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:20 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:20 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:20 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
Tests run: 5, Failures: 2, Errors: 0, Skipped: 3, Time elapsed: 4.77 sec <<< 
FAILURE! - in org.apache.atlas.notification.EntityNotificationIT
testCreateEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.266 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@595ecff3 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testCreateEntity(EntityNotificationIT.java:79)

testDeleteEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.081 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@3c6463d9 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testDeleteEntity(EntityNotificationIT.java:108)

Running org.apache.atlas.notification.NotificationHookConsumerIT
127.0.0.1 - - [03/Mar/2017:17:49:24 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:24 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:24 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:24 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:17:49:25 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbJYaTCnMSrq'&limit=10&offset=0
 HTTP/1.1" 20

Re: Review Request 57277: ATLAS-1627: fix for missed update to full-text index attribute on entity-update

2017-03-03 Thread Apoorv Naik

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


Ship it!




Ship It!

- Apoorv Naik


On March 3, 2017, 10:47 a.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57277/
> ---
> 
> (Updated March 3, 2017, 10:47 a.m.)
> 
> 
> Review request for atlas.
> 
> 
> Bugs: ATLAS-1627
> https://issues.apache.org/jira/browse/ATLAS-1627
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> updated the entity-change event processing to complete update of full-text 
> index attribute before notification calls legacy store API (which starts a 
> nested transaction)
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityChangeNotifier.java
>  5243f36 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
>  ea5bf93 
> 
> 
> Diff: https://reviews.apache.org/r/57277/diff/1/
> 
> 
> Testing
> ---
> 
> - verified that full-text attribute index updates are preserved in the store
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



Re: Review Request 57273: ATLAS-1626: updated Atlas type-load to be resilient to incorrect constraints in the store (from earlier version env)

2017-03-03 Thread Apoorv Naik

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


Ship it!




Ship It!

- Apoorv Naik


On March 3, 2017, 10:26 a.m., Madhan Neethiraj wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57273/
> ---
> 
> (Updated March 3, 2017, 10:26 a.m.)
> 
> 
> Review request for atlas.
> 
> 
> Bugs: ATLAS-1626
> https://issues.apache.org/jira/browse/ATLAS-1626
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> updated Atlas type-load to ignore incorrect constraints in the store - for 
> example isComposite=true on non-entity attributes
> 
> 
> Diffs
> -
> 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java
>  084f09e 
> 
> 
> Diff: https://reviews.apache.org/r/57273/diff/1/
> 
> 
> Testing
> ---
> 
> Verified that Atlas loads successfully with the DB from earlier version, by 
> ignoring the following:
>WARN  - [main:] ~ Invalid constraint ownedRef for attribute 
> hive_storagedesc.serdeInfo
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>



[jira] [Updated] (ATLAS-1629) Update copyright date in NOTICE

2017-03-03 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj updated ATLAS-1629:

Attachment: ATLAS-1629.patch

> Update copyright date in NOTICE
> ---
>
> Key: ATLAS-1629
> URL: https://issues.apache.org/jira/browse/ATLAS-1629
> Project: Atlas
>  Issue Type: Task
>Affects Versions: 0.8-incubating
>Reporter: Madhan Neethiraj
>Assignee: Madhan Neethiraj
> Attachments: ATLAS-1629.patch
>
>
> NOTICE file has copyright year as 2015-2016. This needs to be updated as 
> 2015-2017.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ATLAS-1629) Update copyright date in NOTICE

2017-03-03 Thread Madhan Neethiraj (JIRA)
Madhan Neethiraj created ATLAS-1629:
---

 Summary: Update copyright date in NOTICE
 Key: ATLAS-1629
 URL: https://issues.apache.org/jira/browse/ATLAS-1629
 Project: Atlas
  Issue Type: Task
Affects Versions: 0.8-incubating
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj


NOTICE file has copyright year as 2015-2016. This needs to be updated as 
2015-2017.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (ATLAS-1505) Missing Apache Copyright in a source file - fails rat check

2017-03-03 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj resolved ATLAS-1505.
-
   Resolution: Fixed
 Assignee: Madhan Neethiraj
Fix Version/s: 0.8-incubating

Fix committed to master: 
http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/2763ff30

> Missing Apache Copyright in a source file - fails rat check
> ---
>
> Key: ATLAS-1505
> URL: https://issues.apache.org/jira/browse/ATLAS-1505
> Project: Atlas
>  Issue Type: Bug
>Reporter: Selvamohan Neethiraj
>Assignee: Madhan Neethiraj
> Fix For: 0.8-incubating
>
> Attachments: 
> 0001-ATLAS-1505-added-Apache-copyright-header-to-avoid-ra.patch
>
>
> File: 
> repository/src/test/java/org/apache/atlas/util/CompiledQueryCacheKeyTest.java 
>  (does not have a apache copyright) ... Maven install fails.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Build failed in Jenkins: apache-atlas-nightly #662

2017-03-03 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-1628 Restrict user from entering text in datepicker input

--
[...truncated 491.92 KB...]
127.0.0.1 - - [03/Mar/2017:15:33:31 +] "GET 
/api/atlas/entities?type=hive_table_v1&property=qualifiedName&value=sales_factn6Ra1Ri0jY
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:31 +] "GET 
/api/atlas/lineage/a485ae9b-2e29-44bb-b8af-2e717e58b828/schema HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:32 +] "GET 
/api/atlas/lineage/hive/table/blah/schema HTTP/1.1" 404 - "-" "Java/1.7.0_80"
Tests run: 12, Failures: 5, Errors: 0, Skipped: 3, Time elapsed: 8.502 sec <<< 
FAILURE! - in org.apache.atlas.web.resources.EntityLineageJerseyResourceIT
setUp(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  Time 
elapsed: 3.395 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@2779d578 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.web.resources.EntityLineageJerseyResourceIT.setUp(EntityLineageJerseyResourceIT.java:61)

testInputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.IllegalArgumentException: Path segment is null

testInputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.IllegalArgumentException: One or more of query value parameters are 
null

testOutputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 2.218 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<0>

testOutputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 1.047 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<0>

Running org.apache.atlas.CredentialProviderUtilityIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.613 sec - in 
org.apache.atlas.CredentialProviderUtilityIT
Running org.apache.atlas.notification.EntityNotificationIT
127.0.0.1 - - [03/Mar/2017:15:33:37 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:37 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:37 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:37 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:38 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:39 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:39 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:39 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
Tests run: 5, Failures: 2, Errors: 0, Skipped: 3, Time elapsed: 4.585 sec <<< 
FAILURE! - in org.apache.atlas.notification.EntityNotificationIT
testCreateEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.319 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@dabaed5 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testCreateEntity(EntityNotificationIT.java:79)

testDeleteEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.111 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@72f63eec failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testDeleteEntity(EntityNotificationIT.java:108)

Running org.apache.atlas.notification.NotificationHookConsumerIT
127.0.0.1 - - [03/Mar/2017:15:33:42 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:43 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:43 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:43 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:44 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbvObi67gaF5'&limit=10&offset=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:15:33:45 +] "GET 
/api/atlas/entities?type=hive

Build failed in Jenkins: apache-atlas-nightly #661

2017-03-03 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-1605 Edit Entity in UI : Update button is not enabled when

[kbhatt] ATLAS-1538 Make AtlasLdapAuthenticationProvider like Ranger for 
OpenLdap

--
[...truncated 492.48 KB...]
setUp(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  Time 
elapsed: 3.482 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@6b4d128c failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.web.resources.EntityLineageJerseyResourceIT.setUp(EntityLineageJerseyResourceIT.java:61)

testInputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.IllegalArgumentException: Path segment is null

testInputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.002 sec  <<< FAILURE!
java.lang.IllegalArgumentException: One or more of query value parameters are 
null

testOutputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 2.43 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<0>

testOutputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 1.295 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<0>

Running org.apache.atlas.CredentialProviderUtilityIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.671 sec - in 
org.apache.atlas.CredentialProviderUtilityIT
Running org.apache.atlas.notification.EntityNotificationIT
127.0.0.1 - - [03/Mar/2017:14:28:37 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:37 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:37 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:37 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:38 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:39 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:39 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:39 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
Tests run: 5, Failures: 2, Errors: 0, Skipped: 3, Time elapsed: 4.836 sec <<< 
FAILURE! - in org.apache.atlas.notification.EntityNotificationIT
testCreateEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.374 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@5b21591b failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testCreateEntity(EntityNotificationIT.java:79)

testDeleteEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.149 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@2f3acc3c failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testDeleteEntity(EntityNotificationIT.java:108)

Running org.apache.atlas.notification.NotificationHookConsumerIT
127.0.0.1 - - [03/Mar/2017:14:28:42 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:43 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:43 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:43 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:44 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbStJjp7qNX8'&limit=10&offset=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:45 +] "GET 
/api/atlas/entities?type=hive_db&property=qualifiedName&value=dbStJjp7qNX8 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:45 +] "GET 
/api/atlas/entities/c60ab8ed-4de9-4f76-8778-f734fe2dd2fc/audit?count=1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:45 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28:45 +] "GET 
/api/atlas/entities/07e432d9-f19c-4ccf-b857-2f1c4bb07e33 HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:14:28

[jira] [Resolved] (ATLAS-1628) Restrict user from entering text in datepicker input

2017-03-03 Thread Keval Bhatt (JIRA)

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

Keval Bhatt resolved ATLAS-1628.

Resolution: Fixed

Thanks [~nixonrodrigues] for review, Committed to master 
(http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/b99151fb)

> Restrict user from entering text in datepicker input
> 
>
> Key: ATLAS-1628
> URL: https://issues.apache.org/jira/browse/ATLAS-1628
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.8-incubating
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1628.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ATLAS-1628) Restrict user from entering text in datepicker input

2017-03-03 Thread Nixon Rodrigues (JIRA)

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

Nixon Rodrigues commented on ATLAS-1628:


+1 for the patch.

> Restrict user from entering text in datepicker input
> 
>
> Key: ATLAS-1628
> URL: https://issues.apache.org/jira/browse/ATLAS-1628
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.8-incubating
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1628.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1628) Restrict user from entering text in datepicker input

2017-03-03 Thread Keval Bhatt (JIRA)

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

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

> Restrict user from entering text in datepicker input
> 
>
> Key: ATLAS-1628
> URL: https://issues.apache.org/jira/browse/ATLAS-1628
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.8-incubating
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1628.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ATLAS-1628) Restrict user from entering text in datepicker input

2017-03-03 Thread Keval Bhatt (JIRA)
Keval Bhatt created ATLAS-1628:
--

 Summary: Restrict user from entering text in datepicker input
 Key: ATLAS-1628
 URL: https://issues.apache.org/jira/browse/ATLAS-1628
 Project: Atlas
  Issue Type: Bug
Affects Versions: 0.8-incubating
Reporter: Keval Bhatt
Assignee: Keval Bhatt
 Fix For: 0.8-incubating






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Build failed in Jenkins: apache-atlas-nightly #660

2017-03-03 Thread Apache Jenkins Server
See 


Changes:

[kbhatt] ATLAS-1595:Create Entity in UI : All attributes are not listed for

--
[...truncated 493.06 KB...]
testInputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.IllegalArgumentException: Path segment is null

testInputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.IllegalArgumentException: One or more of query value parameters are 
null

testOutputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 2.399 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<0>

testOutputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 1.179 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<0>

Running org.apache.atlas.CredentialProviderUtilityIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.698 sec - in 
org.apache.atlas.CredentialProviderUtilityIT
Running org.apache.atlas.notification.EntityNotificationIT
127.0.0.1 - - [03/Mar/2017:13:29:01 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:02 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:02 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:02 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:03 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:04 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:04 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:04 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
Tests run: 5, Failures: 2, Errors: 0, Skipped: 3, Time elapsed: 4.884 sec <<< 
FAILURE! - in org.apache.atlas.notification.EntityNotificationIT
testCreateEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.356 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@1f5ae099 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testCreateEntity(EntityNotificationIT.java:79)

testDeleteEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.11 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@e9c495e failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testDeleteEntity(EntityNotificationIT.java:108)

Running org.apache.atlas.notification.NotificationHookConsumerIT
127.0.0.1 - - [03/Mar/2017:13:29:07 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:08 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:08 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:08 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:09 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbBo9jTQZHy9'&limit=10&offset=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:10 +] "GET 
/api/atlas/entities?type=hive_db&property=qualifiedName&value=dbBo9jTQZHy9 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:10 +] "GET 
/api/atlas/entities/835bc8bf-fc93-4695-9323-0199e8195395/audit?count=1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:10 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:10 +] "GET 
/api/atlas/entities/f2e7091d-2835-462f-8c0d-48402d2fc3b8 HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:10 +] "GET 
/api/atlas/entities/f2e7091d-2835-462f-8c0d-48402d2fc3b8 HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:10 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbe4mVfKLMtO'&limit=10&offset=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:11 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbe4mVfKLMtO'&limit=10&offset=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:13:29:12 +] "POST /api/atlas/entities HTTP/1

[jira] [Updated] (ATLAS-1538) Make AtlasLdapAuthenticationProvider like Ranger for OpenLdap type

2017-03-03 Thread Nixon Rodrigues (JIRA)

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

Nixon Rodrigues updated ATLAS-1538:
---
Attachment: ATLAS-1538-1.patch

> Make AtlasLdapAuthenticationProvider like Ranger for OpenLdap type
> --
>
> Key: ATLAS-1538
> URL: https://issues.apache.org/jira/browse/ATLAS-1538
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.7-incubating, 0.7.1-incubating
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
> Attachments: ATLAS-1538-1.patch, ATLAS-1538.patch
>
>
> Currently in Altas , AtlasLdapAuthenticationProvider has 
> getLdapBindAuthentication method which used for openldap authentication.
> Adding new method getLdapAuthentication as a fallback to take care  of 
> failures in login.
> I propose AtlasLdapAuthenticationProvider to be like Ranger 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1608) Search UI improvement

2017-03-03 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-1608:
---
Attachment: ATLAS-1608.1.patch

> Search UI improvement
> -
>
> Key: ATLAS-1608
> URL: https://issues.apache.org/jira/browse/ATLAS-1608
> Project: Atlas
>  Issue Type: Improvement
>  Components: atlas-webui
>Affects Versions: 0.8-incubating
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1608.1.patch, ATLAS-1608.patch
>
>
> 1) Make Search as a default tab.
> 2) Add type and tag search droup-down for both DSL (Advance) and FULLTEXT 
> (basic) search.
> 3) Add help popup.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1605) Edit Entity in UI : Update button is not enabled when updating attribute of type date

2017-03-03 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-1605:
---
Attachment: ATLAS-1605.1.patch

> Edit Entity in UI : Update button is not enabled when updating attribute of 
> type date
> -
>
> Key: ATLAS-1605
> URL: https://issues.apache.org/jira/browse/ATLAS-1605
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Assignee: Kalyani Kashikar
> Attachments: ATLAS-1605.1.patch, ATLAS-1605.patch
>
>
> On editing attributes of hdfs_path like CreateTime , ModifiedTime which are 
> of type date , Update button is not enabled. This happens for all entity 
> types which have attributes of type date. Editing other types enables the 
> Update button.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1619) import-hive.sh script failure

2017-03-03 Thread Sharmadha Sainath (JIRA)

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

Sharmadha Sainath updated ATLAS-1619:
-
Attachment: (was: atlas exception during import-hive.txt)

> import-hive.sh script failure
> -
>
> Key: ATLAS-1619
> URL: https://issues.apache.org/jira/browse/ATLAS-1619
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Priority: Blocker
> Attachments: import-hive atlas logs.txt, import hive exception.txt
>
>
> 1. Disabled the hive hook
> 2. created hive_table in hive CLI
> 3. ran import-hive.sh script which ran fine.
> 4. Altered table in hive CLI and added new columns.
> 5. Ran import-hive.sh script. Import-hive.sh failed to take the update 
> throwing 404 exception.
> Attached the console logs on running import-hive and atlas logs. 
> Problems :
> 1. /logs/import-hive.log is not created.
> 2. Exceptions seen on console while executing the script and in 
> application.log are attached.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1619) import-hive.sh script failure

2017-03-03 Thread Sharmadha Sainath (JIRA)

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

Sharmadha Sainath updated ATLAS-1619:
-
Attachment: (was: import-hive console log.txt)

> import-hive.sh script failure
> -
>
> Key: ATLAS-1619
> URL: https://issues.apache.org/jira/browse/ATLAS-1619
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Priority: Blocker
> Attachments: import-hive atlas logs.txt, import hive exception.txt
>
>
> 1. Disabled the hive hook
> 2. created hive_table in hive CLI
> 3. ran import-hive.sh script which ran fine.
> 4. Altered table in hive CLI and added new columns.
> 5. Ran import-hive.sh script. Import-hive.sh failed to take the update 
> throwing 404 exception.
> Attached the console logs on running import-hive and atlas logs. 
> Problems :
> 1. /logs/import-hive.log is not created.
> 2. Exceptions seen on console while executing the script and in 
> application.log are attached.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1619) import-hive.sh script failure

2017-03-03 Thread Sharmadha Sainath (JIRA)

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

Sharmadha Sainath updated ATLAS-1619:
-
Attachment: import-hive atlas logs.txt
import hive exception.txt

> import-hive.sh script failure
> -
>
> Key: ATLAS-1619
> URL: https://issues.apache.org/jira/browse/ATLAS-1619
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Priority: Blocker
> Attachments: import-hive atlas logs.txt, import hive exception.txt
>
>
> 1. Disabled the hive hook
> 2. created hive_table in hive CLI
> 3. ran import-hive.sh script which ran fine.
> 4. Altered table in hive CLI and added new columns.
> 5. Ran import-hive.sh script. Import-hive.sh failed to take the update 
> throwing 404 exception.
> Attached the console logs on running import-hive and atlas logs. 
> Problems :
> 1. /logs/import-hive.log is not created.
> 2. Exceptions seen on console while executing the script and in 
> application.log are attached.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1619) import-hive.sh script failure

2017-03-03 Thread Sharmadha Sainath (JIRA)

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

Sharmadha Sainath updated ATLAS-1619:
-
Description: 
1. Disabled the hive hook
2. created hive_table in hive CLI
3. ran import-hive.sh script which ran fine.
4. Altered table in hive CLI and added new columns.
5. Ran import-hive.sh script. Import-hive.sh failed to take the update throwing 
404 exception.
Attached the console logs on running import-hive and atlas logs. 
Problems :
1. /logs/import-hive.log is not created.
2. Exceptions seen on console while executing the script and in application.log 
are attached.

  was:
1. Created hive tables with hook configuration set in hive.
2. Removed hook configuration in hive. Restarted hive.
3. Created tables in hive and ran the import-hive.sh
Problems :
1. /logs/import-hive.log is not created.
2. Exceptions seen on console while executing the script and in application.log 
are attached.


> import-hive.sh script failure
> -
>
> Key: ATLAS-1619
> URL: https://issues.apache.org/jira/browse/ATLAS-1619
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Priority: Blocker
> Attachments: import-hive atlas logs.txt, import hive exception.txt
>
>
> 1. Disabled the hive hook
> 2. created hive_table in hive CLI
> 3. ran import-hive.sh script which ran fine.
> 4. Altered table in hive CLI and added new columns.
> 5. Ran import-hive.sh script. Import-hive.sh failed to take the update 
> throwing 404 exception.
> Attached the console logs on running import-hive and atlas logs. 
> Problems :
> 1. /logs/import-hive.log is not created.
> 2. Exceptions seen on console while executing the script and in 
> application.log are attached.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1595) Create Entity in UI : All attributes are not listed for hdfs_path.

2017-03-03 Thread Kalyani Kashikar (JIRA)

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

Kalyani Kashikar updated ATLAS-1595:

Attachment: ATLAS-1595.patch

> Create Entity in UI : All attributes are not listed for hdfs_path.
> --
>
> Key: ATLAS-1595
> URL: https://issues.apache.org/jira/browse/ATLAS-1595
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Assignee: Kalyani Kashikar
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1595.patch, fieldset Not displayed.png
>
>
> 1.Clicked "Create Entity" button.
> 2.Toggled to "All" from required.
> 3. Selected the type "hdfs_path"
> 4. Attributes ClusterName,NumberOfReplicas, ExtendedAttributes which come 
> under fieldset "hdfs_path" are not displayed. Tried to scroll down but it is 
> the end of scroll.
> This doesn't happen when type is first selected and then toggled to "All".
> Attached the screenshot when toggled to "All" first and type "hdfs_path" is 
> selected next.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1627) Full-text index attribute not updated on entity-update

2017-03-03 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj updated ATLAS-1627:

Attachment: ATLAS-1627.patch

Review board URL: https://reviews.apache.org/r/57277/

> Full-text index attribute not updated on entity-update
> --
>
> Key: ATLAS-1627
> URL: https://issues.apache.org/jira/browse/ATLAS-1627
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Madhan Neethiraj
>Assignee: Madhan Neethiraj
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1627.patch
>
>
> When an entity is updated, its full-text index attribute should be updated to 
> reflect the updated values. The updates made to the attribute is not 
> preserved consistently due to use of nested transactions. This scenario is 
> recent, as the notification sender module reads the entity definition from 
> the store using V1 APIs; and this read using legacy API starts its own 
> transaction. This needs to be reviewed and fixed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Review Request 57277: ATLAS-1627: fix for missed update to full-text index attribute on entity-update

2017-03-03 Thread Madhan Neethiraj

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

Review request for atlas.


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


Repository: atlas


Description
---

updated the entity-change event processing to complete update of full-text 
index attribute before notification calls legacy store API (which starts a 
nested transaction)


Diffs
-

  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityChangeNotifier.java
 5243f36 
  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
 ea5bf93 


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


Testing
---

- verified that full-text attribute index updates are preserved in the store


Thanks,

Madhan Neethiraj



[jira] [Created] (ATLAS-1627) Full-text index attribute not updated on entity-update

2017-03-03 Thread Madhan Neethiraj (JIRA)
Madhan Neethiraj created ATLAS-1627:
---

 Summary: Full-text index attribute not updated on entity-update
 Key: ATLAS-1627
 URL: https://issues.apache.org/jira/browse/ATLAS-1627
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 0.8-incubating
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj


When an entity is updated, its full-text index attribute should be updated to 
reflect the updated values. The updates made to the attribute is not preserved 
consistently due to use of nested transactions. This scenario is recent, as the 
notification sender module reads the entity definition from the store using V1 
APIs; and this read using legacy API starts its own transaction. This needs to 
be reviewed and fixed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1626) Atlas startup fails due to incorrect type data from previous version

2017-03-03 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj updated ATLAS-1626:

Attachment: ATLAS-1626.patch

Review board URL: https://reviews.apache.org/r/57273/

> Atlas startup fails due to incorrect type data from previous version
> 
>
> Key: ATLAS-1626
> URL: https://issues.apache.org/jira/browse/ATLAS-1626
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.8-incubating
>Reporter: Madhan Neethiraj
>Assignee: Apoorv Naik
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1626.patch
>
>
> Previous version of Atlas has attribute hive_storagedesc.serdeInfo 
> incorrectly marked as 'isContained=true' - since serdeInfo is not an 
> entity-type. Atlas server fails to startup due to this error, while building 
> the type-registry.
> Atlas server should be resilient to such incorrect type information from 
> earlier versions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Review Request 57273: ATLAS-1626: updated Atlas type-load to be resilient to incorrect constraints in the store (from earlier version env)

2017-03-03 Thread Madhan Neethiraj

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

Review request for atlas.


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


Repository: atlas


Description
---

updated Atlas type-load to ignore incorrect constraints in the store - for 
example isComposite=true on non-entity attributes


Diffs
-

  
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java
 084f09e 


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


Testing
---

Verified that Atlas loads successfully with the DB from earlier version, by 
ignoring the following:
   WARN  - [main:] ~ Invalid constraint ownedRef for attribute 
hive_storagedesc.serdeInfo


Thanks,

Madhan Neethiraj



[jira] [Created] (ATLAS-1626) Atlas startup fails due to incorrect type data from previous version

2017-03-03 Thread Madhan Neethiraj (JIRA)
Madhan Neethiraj created ATLAS-1626:
---

 Summary: Atlas startup fails due to incorrect type data from 
previous version
 Key: ATLAS-1626
 URL: https://issues.apache.org/jira/browse/ATLAS-1626
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 0.8-incubating
Reporter: Madhan Neethiraj
Assignee: Apoorv Naik


Previous version of Atlas has attribute hive_storagedesc.serdeInfo incorrectly 
marked as 'isContained=true' - since serdeInfo is not an entity-type. Atlas 
server fails to startup due to this error, while building the type-registry.

Atlas server should be resilient to such incorrect type information from 
earlier versions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ATLAS-1605) Edit Entity in UI : Update button is not enabled when updating attribute of type date

2017-03-03 Thread Kalyani Kashikar (JIRA)

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

Kalyani Kashikar updated ATLAS-1605:

Attachment: ATLAS-1605.patch

> Edit Entity in UI : Update button is not enabled when updating attribute of 
> type date
> -
>
> Key: ATLAS-1605
> URL: https://issues.apache.org/jira/browse/ATLAS-1605
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.8-incubating
>Reporter: Sharmadha Sainath
>Assignee: Kalyani Kashikar
> Attachments: ATLAS-1605.patch
>
>
> On editing attributes of hdfs_path like CreateTime , ModifiedTime which are 
> of type date , Update button is not enabled. This happens for all entity 
> types which have attributes of type date. Editing other types enables the 
> Update button.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Build failed in Jenkins: apache-atlas-nightly #659

2017-03-03 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-1622: Full text mapping using v2 model

[madhan] ATLAS-1621: fixed webapp integration tests failures

[madhan] ATLAS-1618: updated export to support scope option - full/connected

--
[...truncated 492.39 KB...]
127.0.0.1 - - [03/Mar/2017:09:02:48 +] "GET 
/api/atlas/lineage/hive/table/blah/schema HTTP/1.1" 404 - "-" "Java/1.7.0_80"
Tests run: 12, Failures: 5, Errors: 0, Skipped: 3, Time elapsed: 8.61 sec <<< 
FAILURE! - in org.apache.atlas.web.resources.EntityLineageJerseyResourceIT
setUp(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  Time 
elapsed: 3.412 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@4ff28fab failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.web.resources.EntityLineageJerseyResourceIT.setUp(EntityLineageJerseyResourceIT.java:61)

testInputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.IllegalArgumentException: Path segment is null

testInputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.IllegalArgumentException: One or more of query value parameters are 
null

testOutputsGraph(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)  
Time elapsed: 2.189 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<0>

testOutputsGraphForEntity(org.apache.atlas.web.resources.EntityLineageJerseyResourceIT)
  Time elapsed: 1.062 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<0>

Running org.apache.atlas.CredentialProviderUtilityIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.641 sec - in 
org.apache.atlas.CredentialProviderUtilityIT
Running org.apache.atlas.notification.EntityNotificationIT
127.0.0.1 - - [03/Mar/2017:09:02:54 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:54 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:54 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:54 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:55 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:56 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:56 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:56 +] "POST /api/atlas/entities HTTP/1.1" 
500 - "-" "Java/1.7.0_80"
Tests run: 5, Failures: 2, Errors: 0, Skipped: 3, Time elapsed: 4.686 sec <<< 
FAILURE! - in org.apache.atlas.notification.EntityNotificationIT
testCreateEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.277 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@3c1e5dc5 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testCreateEntity(EntityNotificationIT.java:79)

testDeleteEntity(org.apache.atlas.notification.EntityNotificationIT)  Time 
elapsed: 0.119 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@1c2fdfc0 failed with status 500 
(Internal Server Error) Response Body ({"error":"Failed with 
java.lang.NullPointerException"})
at 
org.apache.atlas.notification.EntityNotificationIT.testDeleteEntity(EntityNotificationIT.java:108)

Running org.apache.atlas.notification.NotificationHookConsumerIT
127.0.0.1 - - [03/Mar/2017:09:02:59 +] "GET /api/atlas/types/tableType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:59 +] "GET /api/atlas/types/serdeType 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:02:59 +] "GET /api/atlas/types/classification 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:03:00 +] "GET /api/atlas/types/hive_db_v1 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:03:01 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db+where+qualifiedName%3D'dbrsX63HvLW8'&limit=10&offset=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:03:01 +] "GET 
/api/atlas/entities?type=hive_db&property=qualifiedName&value=dbrsX63HvLW8 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [03/Mar/2017:09:03:01 +] "GET 
/api/atlas/entities/4bff36a9-55cd-4e6f-bc94-bbce2a90e77f/audit?count=1