[jira] [Updated] (ATLAS-2041) UI: Show tag names with dot in between, when taxonomy is disabled

2017-08-10 Thread Keval Bhatt (JIRA)

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

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

> UI: Show tag names with dot in between, when taxonomy is disabled
> -
>
> Key: ATLAS-2041
> URL: https://issues.apache.org/jira/browse/ATLAS-2041
> Project: Atlas
>  Issue Type: Bug
>Affects Versions: 0.9-incubating
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
> Fix For: 0.8-incubating, 0.9-incubating
>
>




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


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

2017-08-10 Thread Madhan Neethiraj

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




intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java
Lines 30 (patched)


Consider replacing org.jboss.netty.util.internal.StringUtil usage with 
org.apache.commons.lang.StringUtils.



repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java
Line 1352 (original), 1359 (patched)


Shouldn't this also handle AtlasRelationshipEdgeDirection.BOTH?


- Madhan Neethiraj


On Aug. 10, 2017, 11:43 p.m., Sarath Subramanian wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61589/
> ---
> 
> (Updated Aug. 10, 2017, 11:43 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 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
> -
> 
>   intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java 
> 934dffce 
>   intg/src/main/java/org/apache/atlas/type/AtlasStructType.java 277d0fa2 
>   intg/src/test/java/org/apache/atlas/TestRelationshipUtilsV2.java 98be2b8d 
>   repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java 
> 1ec5a72e 
>   
> 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
>  b8fd70e5 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java
>  667c61bd 
>   
> 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/1/
> 
> 
> 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] [Updated] (ATLAS-2041) UI: Show tag names with dot in between, when taxonomy is disabled

2017-08-10 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-2041:
---
Summary: UI: Show tag names with dot in between, when taxonomy is disabled  
(was: Atlas show tag names with dot in between when taxonomy is disabled)

> UI: Show tag names with dot in between, when taxonomy is disabled
> -
>
> Key: ATLAS-2041
> URL: https://issues.apache.org/jira/browse/ATLAS-2041
> Project: Atlas
>  Issue Type: Bug
>Reporter: Keval Bhatt
>Assignee: Keval Bhatt
> Fix For: 0.8-incubating, 0.9-incubating
>
>




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


[jira] [Created] (ATLAS-2041) Atlas show tag names with dot in between when taxonomy is disabled

2017-08-10 Thread Keval Bhatt (JIRA)
Keval Bhatt created ATLAS-2041:
--

 Summary: Atlas show tag names with dot in between when taxonomy is 
disabled
 Key: ATLAS-2041
 URL: https://issues.apache.org/jira/browse/ATLAS-2041
 Project: Atlas
  Issue Type: Bug
Reporter: Keval Bhatt
Assignee: Keval Bhatt
 Fix For: 0.9-incubating, 0.8-incubating






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


[jira] [Updated] (ATLAS-2040) Relationship with many-to-many cardinality gives incorrect relationship attribute value when same attribute name and same type specified at both ends

2017-08-10 Thread Sarath Subramanian (JIRA)

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

Sarath Subramanian updated ATLAS-2040:
--
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

  was:
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


> Relationship with many-to-many cardinality gives incorrect relationship 
> attribute value when same attribute name and same type specified at both ends
> -
>
> Key: ATLAS-2040
> URL: https://issues.apache.org/jira/browse/ATLAS-2040
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.9-incubating
>Reporter: Sarath Subramanian
>Assignee: Sarath Subramanian
>
> 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



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


[jira] [Created] (ATLAS-2040) Relationship with many-to-many cardinality gives incorrect relationship attribute value when same attribute name and same type specified at both ends

2017-08-10 Thread Sarath Subramanian (JIRA)
Sarath Subramanian created ATLAS-2040:
-

 Summary: Relationship with many-to-many cardinality gives 
incorrect relationship attribute value when same attribute name and same type 
specified at both ends
 Key: ATLAS-2040
 URL: https://issues.apache.org/jira/browse/ATLAS-2040
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Affects Versions: 0.9-incubating
Reporter: Sarath Subramanian
Assignee: Sarath Subramanian


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



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


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

2017-08-10 Thread Apache Jenkins Server
See 

--
[...truncated 682.59 KB...]
127.0.0.1 - - [10/Aug/2017:20:59:33 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:33 +] "GET 
/api/atlas/types?type=CLASS=Ak0RoiOlcsn=BvPetxFJ5Yw 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:33 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:34 +] "PUT /api/atlas/types HTTP/1.1" 200 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:34 +] "GET /api/atlas/types/ceozi36bu3 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:34 +] "POST /api/atlas/types HTTP/1.1" 201 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "GET /api/atlas/types HTTP/1.1" 200 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:35 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:36 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:36 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:36 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:36 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:36 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:36 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:36 +] "POST /api/atlas/entities HTTP/1.1" 
201 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:36 +] "GET 
/api/atlas/discovery/search?query=from+DB_v1=10=0 HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:37 +] "GET 
/api/atlas/discovery/search?query=DB_v1=10=0 HTTP/1.1" 200 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:38 +] "GET 
/api/atlas/discovery/search?query=DB_v1+where+name%3D%22Reporting%22=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:39 +] "GET 
/api/atlas/discovery/search?query=DB_v1+where+DB_v1.name%3D%22Reporting%22=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:40 +] "GET 
/api/atlas/discovery/search?query=DB_v1+name+%3D+%22Reporting%22=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:41 +] "GET 
/api/atlas/discovery/search?query=DB_v1+DB_v1.name+%3D+%22Reporting%22=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:42 +] "GET 
/api/atlas/discovery/search?query=DB_v1+where+name%3D%22Reporting%22+select+name,+owner=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:43 +] "GET 
/api/atlas/discovery/search?query=DB_v1+where+DB_v1.name%3D%22Reporting%22+select+name,+owner=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:45 +] "GET 
/api/atlas/discovery/search?query=DB_v1+has+name=10=0 HTTP/1.1" 
200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:46 +] "GET 
/api/atlas/discovery/search?query=DB_v1+where+DB_v1+has+name=10=0 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:46 +] "GET 
/api/atlas/discovery/search?query=DB_v1,+Table_v1=10=0 HTTP/1.1" 
200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:47 +] "GET 
/api/atlas/discovery/search?query=DB_v1+is+JdbcAccess=10=0 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:47 +] "GET 
/api/atlas/discovery/search?query=from+Table_v1=10=0 HTTP/1.1" 200 
- "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:48 +] "GET 
/api/atlas/discovery/search?query=Table_v1=10=0 HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:49 +] "GET 
/api/atlas/discovery/search?query=Table_v1+is+Dimension_v1=10=0 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:20:59:50 +] "GET 

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

2017-08-10 Thread Apache Jenkins Server
See 


Changes:

[amestry] ATLAS-2033: HookConsumer updated to address case where consumer is

--
[...truncated 682.89 KB...]
127.0.0.1 - - [10/Aug/2017:19:24:55 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:55 +] "DELETE 
/api/atlas/v2/entity/bulk/?guid=1dbb4136-3aad-4219-a481-3b2c5b4a7248=701e6884-8636-431d-843b-289a9033fb38
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:55 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:55 +] "DELETE 
/api/atlas/v2/entity/uniqueAttribute/type/hive_db_v2?attr:name=dbe1o5Rusitw%E9%AA%AD%E3%BF%92%E3%B0%BE%E1%B3%B3%E9%A2%A2%EE%B2%96%E4%BE%9D%EC%9A%95%EA%97%9D%EA%A6%95
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:55 +] "DELETE 
/api/atlas/v2/entity/guid/random/classification/blah_trait HTTP/1.1" 400 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:55 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db_v2+where+name%3D'dbe1o5Rusitw'=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:56 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db_v2+where+name%3D'dbe1o5Rusitw'=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:57 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:57 +] "GET 
/api/atlas/discovery/search/dsl?query=hive_db_v2+where+name%3D'dbe1o5Rusitw'=10=0
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "PUT /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "GET 
/api/atlas/v2/entity/guid/9b9d3f9a-0243-4553-9475-c0584bf4e605 HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "GET 
/api/atlas/v2/entity/uniqueAttribute/type/hive_db_v2?attr:name=dbe1o5Rusitw 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "GET /api/atlas/v2/entity/guid/blah 
HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "GET 
/api/atlas/entities/ad5192cd-acb9-43d8-aa7b-334ee634e5c6/audit?count=10 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:58 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:59 +] "GET 
/api/atlas/v2/types/typedef/name/JUyhU4yoQN HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:59 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:59 +] "POST /api/atlas/v2/entity/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:59 +] "GET 
/api/atlas/v2/entity/guid/61a82a39-7f9c-4fb4-95e7-0156fad618f6 HTTP/1.1" 200 - 
"-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:24:59 +] "GET 
/api/atlas/discovery/search/dsl?query=from+hive_db_v1+name%3D%22dbycHoudRM83%22 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:25:00 +] "GET 
/api/atlas/discovery/search/dsl?query=from+blah HTTP/1.1" 400 - "-" 
"Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:25:00 +] "GET 
/api/atlas/discovery/search?query=* HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:25:00 +] "GET 
/api/atlas/discovery/search?query=from+hive_db_v1+name%3D%22dbycHoudRM83%22 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:25:01 +] "GET 
/api/atlas/discovery/search/gremlin?query=g.V.has('type',+'hive_table_v1').toList()
 HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:25:02 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 200 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:25:02 +] "POST /api/atlas/v2/types/typedefs/ 
HTTP/1.1" 409 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:25:02 +] "GET 
/api/atlas/v2/types/enumdef/name/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - [10/Aug/2017:19:25:02 +] "GET 
/api/atlas/v2/types/enumdef/guid/blah HTTP/1.1" 404 - "-" "Java/1.7.0_80"
127.0.0.1 - - 

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

2017-08-10 Thread Apache Jenkins Server
See 


Changes:

[david_radley] Add David Radley as a committer

--
[...truncated 445.97 KB...]
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (checkstyle-check) @ 
atlas-dashboardv2 ---
[INFO] 
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (findbugs-check) > :findbugs @ 
atlas-dashboardv2 >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ atlas-dashboardv2 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (findbugs-check) < :findbugs @ 
atlas-dashboardv2 <<<
[INFO] 
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (findbugs-check) @ 
atlas-dashboardv2 ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ 
atlas-dashboardv2 ---
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/atlas/atlas-dashboardv2/0.9-SNAPSHOT/atlas-dashboardv2-0.9-SNAPSHOT.war
[INFO] Installing 
 to 
/home/jenkins/.m2/repository/org/apache/atlas/atlas-dashboardv2/0.9-SNAPSHOT/atlas-dashboardv2-0.9-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/atlas/atlas-dashboardv2/0.9-SNAPSHOT/atlas-dashboardv2-0.9-SNAPSHOT-sources.jar
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/atlas/atlas-dashboardv2/0.9-SNAPSHOT/atlas-dashboardv2-0.9-SNAPSHOT-test-sources.jar
[INFO] 
[INFO] 
[INFO] Building Apache Atlas Web Application 0.9-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atlas-webapp ---
[INFO] Deleting 

[INFO] Deleting  
(includes = [**/*.pyc], excludes = [])
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ atlas-webapp ---
[INFO] Executing: /bin/sh -c cd 
' && 'git' 
'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: 

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

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

[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-webapp 
---
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:clean (clean) @ atlas-webapp ---
[WARNING] Keystore file 
'
 doesn't exist.
[INFO] 
[INFO] --- keytool-maven-plugin:1.5:generateKeyPair (generateKeyPair) @ 
atlas-webapp ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
atlas-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ atlas-webapp 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 71 source files to 

[WARNING] 
:
 Some input files use or override a deprecated API.
[WARNING] 

Review Request 61568: ATLAS-2003: Add Javadoc format to class summaries

2017-08-10 Thread Richard Ding via Review Board

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

Review request for atlas, David Radley, Madhan Neethiraj, and Sarath 
Subramanian.


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


Repository: atlas


Description
---

This patch added Javadoc format to the following class summaries: 
```
InMemoryJAASConfiguration.java 
TitanGraphQuery.java   
AtlasRelationshipDef.java  
NotificationInterface.java 
ExpandAndsOptimization.java 
HBaseBasedAuditRepository.java   
```


Diffs
-

  common/src/main/java/org/apache/atlas/security/InMemoryJAASConfiguration.java 
c65048fa 
  
graphdb/common/src/main/java/org/apache/atlas/repository/graphdb/titan/query/TitanGraphQuery.java
 c38f6cc8 
  intg/src/main/java/org/apache/atlas/model/typedef/AtlasRelationshipDef.java 
c17e875d 
  
notification/src/main/java/org/apache/atlas/notification/NotificationInterface.java
 ef8ee275 
  
repository/src/main/java/org/apache/atlas/gremlin/optimizer/ExpandAndsOptimization.java
 7cf97110 
  
repository/src/main/java/org/apache/atlas/repository/audit/HBaseBasedAuditRepository.java
 06e518ee 


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


Testing
---

Verified with Javadoc build.


Thanks,

Richard Ding



Review Request 61566: ATLAS-1867: org.apache.atlas.AtlasClientV2.deleteAtlasTypeDefs gives an exception

2017-08-10 Thread Richard Ding via Review Board

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

Review request for atlas, David Radley, Madhan Neethiraj, and Sarath 
Subramanian.


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


Repository: atlas


Description
---

This patch returns the correct HTTP code ""204 No Content" instead of "200 OK"


Diffs
-

  client/src/main/java/org/apache/atlas/AtlasClientV2.java 13533571 


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


Testing
---

All unit tests pass after applying the patch.


Thanks,

Richard Ding



Review Request 61561: ATLAS-1218: Atlas says it is started but does not accept REST requests

2017-08-10 Thread Richard Ding via Review Board

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

Review request for atlas, David Radley, Madhan Neethiraj, and Sarath 
Subramanian.


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


Repository: atlas


Description
---

This patch implements a wait_for_startup function modeled after 
wait_for_shutdown function.


Diffs
-

  distro/src/bin/atlas_config.py 1be9ca2b 
  distro/src/bin/atlas_start.py a6a3455c 


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


Testing
---

Here are the output of atlas_start and atlas_stop script:
```
starting atlas on port 21000

Apache Atlas Server started!!!
```
and
```
stopping atlas
Apache Atlas Server stopped!!!
```


Thanks,

Richard Ding



[jira] [Assigned] (ATLAS-1955) Validation for Attributes

2017-08-10 Thread Richard Ding (JIRA)

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

Richard Ding reassigned ATLAS-1955:
---

Assignee: Richard Ding

> Validation for Attributes
> -
>
> Key: ATLAS-1955
> URL: https://issues.apache.org/jira/browse/ATLAS-1955
> Project: Atlas
>  Issue Type: New Feature
>  Components:  atlas-core
>Affects Versions: 0.9-incubating
>Reporter: Israel Varea
>Assignee: Richard Ding
> Fix For: 0.9-incubating
>
>
> It would be very nice that Atlas model could contain a way to represent 
> attribute validation. 
> A simple example is that we would like to model a Person, with attributes 
> Name, Email and Country. Now we would like to specify that Email has to 
> follow a specific regular expression, so it would be nice if we could set 
> Email -> hasValidation -> EmailRegex, with EmailRegex having:
> Name: Email Regular Expresion
> Expression: /[0-9a-z]+@[0-9a-z]+.[0-9a-z]+/
> For more complex types of validation, e.g. checking card number validity, it 
> could be added some external validator function/service.
> Name: Credit Card Number Validator
> Validator: org.apache.atlas.validators.creditcard or 
> https://host:port/creditCardValidator
> For validations from a reference table, for example a country name, it could 
> be:
> Name: Country Name Ref Validator
> Reference Column: 
> where  would be an instance of type Hive_Column or 
> HBase_Column.
> Since this is a kind of Standarization, it could be placed in [Area 
> 5|https://cwiki.apache.org/confluence/display/ATLAS/Area+5+-+Standards].
> A similar approach is followed in software 
> [Kylo|https://github.com/Teradata/kylo/tree/master/integrations/spark/spark-validate-cleanse]



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


[jira] [Assigned] (ATLAS-1953) Introduce the ability for icons to be associated with EntityDefs and RelaitonshipDefs

2017-08-10 Thread Richard Ding (JIRA)

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

Richard Ding reassigned ATLAS-1953:
---

Assignee: Richard Ding  (was: David Radley)

> Introduce the ability for icons to be associated with EntityDefs and 
> RelaitonshipDefs
> -
>
> Key: ATLAS-1953
> URL: https://issues.apache.org/jira/browse/ATLAS-1953
> Project: Atlas
>  Issue Type: Improvement
>Reporter: David Radley
>Assignee: Richard Ding
>
> Introduce the ability for icons to be defined in EntityDefs and 
> RelaitonshipDefs - these icons would be picked up by instances. This 
> facilitates visualization of entities and the like.  The icon would have type 
> string and its value would be a url or a path relative to the webserver base 
> url. 



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


Re: Review Request 61541: ATLAS-2037: Unit Test Failure Resolution: testConsumersAreStoppedWhenInstanceBecomesPassive

2017-08-10 Thread Apoorv Naik

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


Ship it!




Ship It!

- Apoorv Naik


On Aug. 10, 2017, 4:18 p.m., Ashutosh Mestry wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61541/
> ---
> 
> (Updated Aug. 10, 2017, 4:18 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik and Nixon Rodrigues.
> 
> 
> Bugs: ATLAS-2037
> https://issues.apache.org/jira/browse/ATLAS-2037
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> **Implementation**
> Used the _doAnswer_ to be as close to regular flow as possible. This mocks 
> submit method and starts the _HookConsumer_ thread that was added in the 
> previous step.
> 
> Verified _wakeup_ was invoked.
> 
> 
> Diffs
> -
> 
>   
> webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java
>  5a982bb 
>   
> webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerTest.java
>  f4ec56a 
> 
> 
> Diff: https://reviews.apache.org/r/61541/diff/2/
> 
> 
> Testing
> ---
> 
> **Unit tests**
> Executed all unit tests for _NotificationHookConsumerTest_.
> 
> 
> Thanks,
> 
> Ashutosh Mestry
> 
>



Re: Review Request 61541: ATLAS-2037: Unit Test Failure Resolution: testConsumersAreStoppedWhenInstanceBecomesPassive

2017-08-10 Thread Ashutosh Mestry

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

(Updated Aug. 10, 2017, 4:18 p.m.)


Review request for atlas, Apoorv Naik and Nixon Rodrigues.


Changes
---

Updates include:
- Addressed review comment.
- Additional unit test to handle case where consumer is stopped before starting.


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


Repository: atlas


Description
---

**Implementation**
Used the _doAnswer_ to be as close to regular flow as possible. This mocks 
submit method and starts the _HookConsumer_ thread that was added in the 
previous step.

Verified _wakeup_ was invoked.


Diffs (updated)
-

  
webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java
 5a982bb 
  
webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerTest.java
 f4ec56a 


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

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


Testing
---

**Unit tests**
Executed all unit tests for _NotificationHookConsumerTest_.


Thanks,

Ashutosh Mestry



Re: Review Request 61552: ATLAS-2038 : Unit Test cases for AtlasAuthentication and Authorization Filter

2017-08-10 Thread Apoorv Naik

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



Looks good overall. Is this an IT or UT ? This should be under IT I believe, 
that would eliminate the need of starting the server.

- Apoorv Naik


On Aug. 10, 2017, 11:20 a.m., Nixon Rodrigues wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61552/
> ---
> 
> (Updated Aug. 10, 2017, 11:20 a.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, and 
> Sarath Subramanian.
> 
> 
> Bugs: ATLAS-2038
> https://issues.apache.org/jira/browse/ATLAS-2038
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> This patch enable the Unittest from this testclass and includes unit test 
> cases for testing Authentication and Authorization Filters which can fail if 
> any regression is introduced in this Filters and authentication/authorization 
> process. ( eg bugs ATLAS-2009).
> 
> 
> Diffs
> -
> 
>   
> webapp/src/test/java/org/apache/atlas/web/filters/AtlasAuthenticationSimpleFilterTest.java
>  389eefe 
>   webapp/src/test/java/org/apache/atlas/web/security/BaseSecurityTest.java 
> ad87025 
> 
> 
> Diff: https://reviews.apache.org/r/61552/diff/1/
> 
> 
> Testing
> ---
> 
> Excecuted unit and Integration test from mvn clean install
> 
> 
> Thanks,
> 
> Nixon Rodrigues
> 
>



Re: Review Request 61502: ATLAS-2025: Validation on type name and classification

2017-08-10 Thread Apoorv Naik

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




webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java
Line 215 (original), 215 (patched)


Will do this in the next patch where I'll be fixing the error codes. This 
code has been there for a while but with wrong formatting, hence I corrected it.

Thanks for the feedback David.


- Apoorv Naik


On Aug. 9, 2017, 5:51 p.m., Apoorv Naik wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61502/
> ---
> 
> (Updated Aug. 9, 2017, 5:51 p.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Sarath 
> Subramanian.
> 
> 
> Bugs: ATLAS-2025
> https://issues.apache.org/jira/browse/ATLAS-2025
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Right now there's no such validation and as a (unwanted) side-effect the 
> following happens
> 
> 1. Internal error when type name is invalid (NPE)
> 2. Type is valid but classification is invalid - the result contains entities 
> which don't have the tag (exactly opposite behavior)
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/AtlasErrorCode.java b24f99f6 
>   
> repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
>  66dd7484 
>   repository/src/main/java/org/apache/atlas/discovery/SearchContext.java 
> 929f8d00 
>   webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 71860a17 
> 
> 
> Diff: https://reviews.apache.org/r/61502/diff/3/
> 
> 
> Testing
> ---
> 
> Validated the correctness of results using curl/postman calls, any invalid 
> type name / classification throws 400 now.
> 
> mvn clean package -Pdist,berkeley-elasticsearch executes successfully
> 
> 
> Thanks,
> 
> Apoorv Naik
> 
>



[jira] [Updated] (ATLAS-2038) Unit Test cases for AtlasAuthentication and Authorization Filter

2017-08-10 Thread Nixon Rodrigues (JIRA)

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

Nixon Rodrigues updated ATLAS-2038:
---
Attachment: ATLAS-2038.patch

> Unit Test cases for AtlasAuthentication and Authorization Filter
> 
>
> Key: ATLAS-2038
> URL: https://issues.apache.org/jira/browse/ATLAS-2038
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 0.8-incubating
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
> Fix For: 0.9-incubating, 0.8.1-incubating
>
> Attachments: ATLAS-2038.patch
>
>




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


Review Request 61552: ATLAS-2038 : Unit Test cases for AtlasAuthentication and Authorization Filter

2017-08-10 Thread Nixon Rodrigues

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

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


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


Repository: atlas


Description
---

This patch enable the Unittest from this testclass and includes unit test cases 
for testing Authentication and Authorization Filters which can fail if any 
regression is introduced in this Filters and authentication/authorization 
process. ( eg bugs ATLAS-2009).


Diffs
-

  
webapp/src/test/java/org/apache/atlas/web/filters/AtlasAuthenticationSimpleFilterTest.java
 389eefe 
  webapp/src/test/java/org/apache/atlas/web/security/BaseSecurityTest.java 
ad87025 


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


Testing
---

Excecuted unit and Integration test from mvn clean install


Thanks,

Nixon Rodrigues



[jira] [Created] (ATLAS-2038) Unit Test cases for AtlasAuthentication and Authorization Filter

2017-08-10 Thread Nixon Rodrigues (JIRA)
Nixon Rodrigues created ATLAS-2038:
--

 Summary: Unit Test cases for AtlasAuthentication and Authorization 
Filter
 Key: ATLAS-2038
 URL: https://issues.apache.org/jira/browse/ATLAS-2038
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Affects Versions: 0.8-incubating
Reporter: Nixon Rodrigues
Assignee: Nixon Rodrigues
 Fix For: 0.9-incubating, 0.8.1-incubating






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


Re: Review Request 61541: ATLAS-2037: Unit Test Failure Resolution: testConsumersAreStoppedWhenInstanceBecomesPassive

2017-08-10 Thread Nixon Rodrigues

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


Fix it, then Ship it!




Fix it and Ship It


webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerTest.java
Lines 55 (patched)


Do we require this GSON for this patch.


- Nixon Rodrigues


On Aug. 9, 2017, 8:45 p.m., Ashutosh Mestry wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61541/
> ---
> 
> (Updated Aug. 9, 2017, 8:45 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik and Nixon Rodrigues.
> 
> 
> Bugs: ATLAS-2037
> https://issues.apache.org/jira/browse/ATLAS-2037
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> **Implementation**
> Used the _doAnswer_ to be as close to regular flow as possible. This mocks 
> submit method and starts the _HookConsumer_ thread that was added in the 
> previous step.
> 
> Verified _wakeup_ was invoked.
> 
> 
> Diffs
> -
> 
>   
> webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java
>  5a982bb 
>   
> webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerTest.java
>  f4ec56a 
> 
> 
> Diff: https://reviews.apache.org/r/61541/diff/1/
> 
> 
> Testing
> ---
> 
> **Unit tests**
> Executed all unit tests for _NotificationHookConsumerTest_.
> 
> 
> Thanks,
> 
> Ashutosh Mestry
> 
>



Re: Review Request 61502: ATLAS-2025: Validation on type name and classification

2017-08-10 Thread David Radley

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




webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java
Line 215 (original), 215 (patched)


I suggest creating a new AtlasErrorcode with the text 
   attrName : {0}, attrValue: {1} for attribute search."
   
At the moment there are 2 template replacements, I suggest using the one in 
AtlasErrorcode. It is also good practise to have error numbers that can only 
come from one place in the code - to ease debugging.


- David Radley


On Aug. 9, 2017, 5:51 p.m., Apoorv Naik wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61502/
> ---
> 
> (Updated Aug. 9, 2017, 5:51 p.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Sarath 
> Subramanian.
> 
> 
> Bugs: ATLAS-2025
> https://issues.apache.org/jira/browse/ATLAS-2025
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Right now there's no such validation and as a (unwanted) side-effect the 
> following happens
> 
> 1. Internal error when type name is invalid (NPE)
> 2. Type is valid but classification is invalid - the result contains entities 
> which don't have the tag (exactly opposite behavior)
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/AtlasErrorCode.java b24f99f6 
>   
> repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
>  66dd7484 
>   repository/src/main/java/org/apache/atlas/discovery/SearchContext.java 
> 929f8d00 
>   webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java 71860a17 
> 
> 
> Diff: https://reviews.apache.org/r/61502/diff/3/
> 
> 
> Testing
> ---
> 
> Validated the correctness of results using curl/postman calls, any invalid 
> type name / classification throws 400 now.
> 
> mvn clean package -Pdist,berkeley-elasticsearch executes successfully
> 
> 
> Thanks,
> 
> Apoorv Naik
> 
>