[jira] [Created] (ATLAS-4232) delete Category take too long

2021-03-30 Thread li wang (Jira)
li wang created ATLAS-4232:
--

 Summary: delete Category take too long
 Key: ATLAS-4232
 URL: https://issues.apache.org/jira/browse/ATLAS-4232
 Project: Atlas
  Issue Type: Improvement
  Components:  atlas-core
Affects Versions: 2.1.0
Reporter: li wang


 I created a AtlasGlossaryCategory but when I delete it that cost about 10 
seconds ,Is it normal  and how can I delete it quickly

the delete url /api/atlas/v2/entity/guid/\{guid}

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (ATLAS-3886) Import hive metastore failed for ConversionException error

2021-03-30 Thread Kenny (Jira)


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

Kenny edited comment on ATLAS-3886 at 3/31/21, 1:20 AM:


add `atlas.graph.index.search.solr.wait-searcher` to 
atlas-application.properties for the error related to that.

for `atlas.graph.index.search.max-result-set-size`, the following code worked 
for me but I'm using this strictly for spark-atlas-connector:

```
// setting value for 'atlas.graph.index.search.max-result-set-size' (default = 
50)
         int indexMaxResultSetSize = getInt(INDEX_SEARCH_MAX_RESULT_SET_SIZE, 
50);
Object indexMaxResultObj = indexMaxResultSetSize;
List indexMaxResultList = Arrays.asList(indexMaxResultObj);

clearPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE);
addPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE, indexMaxResultList);
```


was (Author: kenny-bui-slalom):
add `atlas.graph.index.search.solr.wait-searcher` to 
atlas-application.properties for the error related to that.

for `atlas.graph.index.search.max-result-set-size`, the following code worked 
for me but I'm using this strictly for spark-atlas-connector:
{code:java}
// setting value for 'atlas.graph.index.search.max-result-set-size' (default = 
50)int indexMaxResultSetSize = 
getInt(INDEX_SEARCH_MAX_RESULT_SET_SIZE, 50);Object 
indexMaxResultObj = indexMaxResultSetSize;List 
indexMaxResultList = Arrays.asList(indexMaxResultObj);
clearPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE);
addPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE, indexMaxResultList);
{code}

> Import hive metastore failed for ConversionException error
> --
>
> Key: ATLAS-3886
> URL: https://issues.apache.org/jira/browse/ATLAS-3886
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core, hive-integration
>Affects Versions: 2.1.0
> Environment: os: CentOS Linux release 7.6.1810 (Core)
> jdk:  java version "1.8.0_221"
> Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
> hive: 2.3.2
> atlas: 2.1.0-rc2
>Reporter: Lijun Ye
>Priority: Major
> Attachments: Screenshot 2021-01-19 at 10.00.33 PM.png, Screenshot 
> 2021-01-19 at 10.08.21 PM.png
>
>
> When I import hive metastore, it occur this exception:
> {code:java}
> // code placeholder
> org.apache.atlas.AtlasException: Failed to load application 
> propertiesorg.apache.atlas.AtlasException: Failed to load application 
> properties at 
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:147) 
> ~[atlas-intg-2.1.0.jar:2.1.0] at 
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:100) 
> ~[atlas-intg-2.1.0.jar:2.1.0] at 
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:123)
>  [hive-bridge-2.1.0.jar:2.1.0]Caused by: 
> org.apache.commons.configuration.ConversionException: 
> 'atlas.graph.index.search.solr.wait-searcher' doesn't map to a List object: 
> true, a java.lang.Boolean at 
> org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1144)
>  ~[commons-configuration-1.6.jar:1.6] at 
> org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1109)
>  ~[commons-configuration-1.6.jar:1.6] at 
> org.apache.commons.configuration.AbstractConfiguration.interpolatedConfiguration(AbstractConfiguration.java:1274)
>  ~[commons-configuration-1.6.jar:1.6] at 
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:142) 
> ~[atlas-intg-2.1.0.jar:2.1.0] ... 2 moreFailed to import Hive Meta Data!!!
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2021-03-30 Thread Kenny (Jira)


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

Kenny commented on ATLAS-3886:
--

add `atlas.graph.index.search.solr.wait-searcher` to 
atlas-application.properties for the error related to that.

for `atlas.graph.index.search.max-result-set-size`, the following code worked 
for me but I'm using this strictly for spark-atlas-connector:
{code:java}
// setting value for 'atlas.graph.index.search.max-result-set-size' (default = 
50)int indexMaxResultSetSize = 
getInt(INDEX_SEARCH_MAX_RESULT_SET_SIZE, 50);Object 
indexMaxResultObj = indexMaxResultSetSize;List 
indexMaxResultList = Arrays.asList(indexMaxResultObj);
clearPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE);
addPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE, indexMaxResultList);
{code}

> Import hive metastore failed for ConversionException error
> --
>
> Key: ATLAS-3886
> URL: https://issues.apache.org/jira/browse/ATLAS-3886
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core, hive-integration
>Affects Versions: 2.1.0
> Environment: os: CentOS Linux release 7.6.1810 (Core)
> jdk:  java version "1.8.0_221"
> Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
> hive: 2.3.2
> atlas: 2.1.0-rc2
>Reporter: Lijun Ye
>Priority: Major
> Attachments: Screenshot 2021-01-19 at 10.00.33 PM.png, Screenshot 
> 2021-01-19 at 10.08.21 PM.png
>
>
> When I import hive metastore, it occur this exception:
> {code:java}
> // code placeholder
> org.apache.atlas.AtlasException: Failed to load application 
> propertiesorg.apache.atlas.AtlasException: Failed to load application 
> properties at 
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:147) 
> ~[atlas-intg-2.1.0.jar:2.1.0] at 
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:100) 
> ~[atlas-intg-2.1.0.jar:2.1.0] at 
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:123)
>  [hive-bridge-2.1.0.jar:2.1.0]Caused by: 
> org.apache.commons.configuration.ConversionException: 
> 'atlas.graph.index.search.solr.wait-searcher' doesn't map to a List object: 
> true, a java.lang.Boolean at 
> org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1144)
>  ~[commons-configuration-1.6.jar:1.6] at 
> org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1109)
>  ~[commons-configuration-1.6.jar:1.6] at 
> org.apache.commons.configuration.AbstractConfiguration.interpolatedConfiguration(AbstractConfiguration.java:1274)
>  ~[commons-configuration-1.6.jar:1.6] at 
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:142) 
> ~[atlas-intg-2.1.0.jar:2.1.0] ... 2 moreFailed to import Hive Meta Data!!!
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Review Request 73257: Add model types for Google cloud storage

2021-03-30 Thread Madhan Neethiraj

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


Ship it!




Ship It!

- Madhan Neethiraj


On March 31, 2021, 12:09 a.m., Sidharth Mishra wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73257/
> ---
> 
> (Updated March 31, 2021, 12:09 a.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Deep Singh, Madhan Neethiraj, and 
> Sarath Subramanian.
> 
> 
> Bugs: ATLAS-4226
> https://issues.apache.org/jira/browse/ATLAS-4226
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Add model types for Google cloud storage
> 
> 
> Diffs
> -
> 
>   addons/models/3000-Cloud/3060-gcp_typedefs.json PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/73257/diff/3/
> 
> 
> Testing
> ---
> 
> Manually tested if the patch application is successful and entity creation is 
> working.
> 
> 
> Thanks,
> 
> Sidharth Mishra
> 
>



Re: Review Request 73257: Add model types for Google cloud storage

2021-03-30 Thread Sidharth Mishra


> On March 30, 2021, 10:45 p.m., Madhan Neethiraj wrote:
> > addons/models/3000-Cloud/3060-gcp_typedefs.json
> > Lines 129 (patched)
> > 
> >
> > Please review if use of an enum is feasible here.

This mainly contains the effective time, expiration date , locked or not etc. 
For more details please check - 
https://cloud.google.com/storage/docs/bucket-lock?authuser=3


- Sidharth


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


On March 31, 2021, 12:09 a.m., Sidharth Mishra wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73257/
> ---
> 
> (Updated March 31, 2021, 12:09 a.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Deep Singh, Madhan Neethiraj, and 
> Sarath Subramanian.
> 
> 
> Bugs: ATLAS-4226
> https://issues.apache.org/jira/browse/ATLAS-4226
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Add model types for Google cloud storage
> 
> 
> Diffs
> -
> 
>   addons/models/3000-Cloud/3060-gcp_typedefs.json PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/73257/diff/3/
> 
> 
> Testing
> ---
> 
> Manually tested if the patch application is successful and entity creation is 
> working.
> 
> 
> Thanks,
> 
> Sidharth Mishra
> 
>



Re: Review Request 73257: Add model types for Google cloud storage

2021-03-30 Thread Sidharth Mishra

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

(Updated March 31, 2021, 12:09 a.m.)


Review request for atlas, Ashutosh Mestry, Deep Singh, Madhan Neethiraj, and 
Sarath Subramanian.


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


Repository: atlas


Description
---

Add model types for Google cloud storage


Diffs (updated)
-

  addons/models/3000-Cloud/3060-gcp_typedefs.json PRE-CREATION 


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

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


Testing
---

Manually tested if the patch application is successful and entity creation is 
working.


Thanks,

Sidharth Mishra



[jira] [Commented] (ATLAS-4231) UI: Create icons for new entity types for Google Cloud Storage

2021-03-30 Thread Sidharth Kumar Mishra (Jira)


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

Sidharth Kumar Mishra commented on ATLAS-4231:
--

cc: [~jayendrap] 

> UI: Create icons for new entity types for Google Cloud Storage
> --
>
> Key: ATLAS-4231
> URL: https://issues.apache.org/jira/browse/ATLAS-4231
> Project: Atlas
>  Issue Type: Bug
>Reporter: Sidharth Kumar Mishra
>Assignee: Sameer Shaikh
>Priority: Major
>
> The model changes are part of ATLAS-4226



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (ATLAS-4231) UI: Create icons for new entity types for Google Cloud Storage

2021-03-30 Thread Sidharth Kumar Mishra (Jira)


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

Sidharth Kumar Mishra reassigned ATLAS-4231:


Assignee: Sameer Shaikh

> UI: Create icons for new entity types for Google Cloud Storage
> --
>
> Key: ATLAS-4231
> URL: https://issues.apache.org/jira/browse/ATLAS-4231
> Project: Atlas
>  Issue Type: Bug
>Reporter: Sidharth Kumar Mishra
>Assignee: Sameer Shaikh
>Priority: Major
>
> The model changes are part of ATLAS-4226



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ATLAS-4231) UI: Create icons for new entity types for Google Cloud Storage

2021-03-30 Thread Sidharth Kumar Mishra (Jira)
Sidharth Kumar Mishra created ATLAS-4231:


 Summary: UI: Create icons for new entity types for Google Cloud 
Storage
 Key: ATLAS-4231
 URL: https://issues.apache.org/jira/browse/ATLAS-4231
 Project: Atlas
  Issue Type: Bug
Reporter: Sidharth Kumar Mishra


The model changes are part of ATLAS-4226



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Review Request 73261: Create new entity for Google cloud storage location from hive

2021-03-30 Thread Sidharth Mishra

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

(Updated March 30, 2021, 11:37 p.m.)


Review request for atlas, Ashutosh Mestry, Deep Singh, Madhan Neethiraj, and 
Sarath Subramanian.


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


Repository: atlas


Description
---

Create new entity for Google cloud storage location from hive


Diffs
-

  common/src/main/java/org/apache/atlas/utils/AtlasPathExtractorUtil.java 
81f847e75 
  common/src/test/java/org/apache/atlas/utils/AtlasPathExtractorUtilTest.java 
dbc500043 


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


Testing
---

UT updated and manually tested if the GCP entities are created appropriately.


Thanks,

Sidharth Mishra



Review Request 73261: Create new entity for Google cloud storage location from hive

2021-03-30 Thread Sidharth Mishra

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

Review request for atlas, Ashutosh Mestry, Deep Singh, Madhan Neethiraj, and 
Sarath Subramanian.


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


Repository: atlas


Description
---

Create new entity for Google cloud storage location from hive


Diffs
-

  common/src/main/java/org/apache/atlas/utils/AtlasPathExtractorUtil.java 
81f847e75 
  common/src/test/java/org/apache/atlas/utils/AtlasPathExtractorUtilTest.java 
dbc500043 


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


Testing
---

UT updated and manually tested if the GCP entities are created appropriately.


Thanks,

Sidharth Mishra



Re: Review Request 73257: Add model types for Google cloud storage

2021-03-30 Thread Madhan Neethiraj

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




addons/models/3000-Cloud/3060-gcp_typedefs.json
Lines 32 (patched)


scp => gcp



addons/models/3000-Cloud/3060-gcp_typedefs.json
Lines 129 (patched)


Please review if use of an enum is feasible here.



addons/models/3000-Cloud/3060-gcp_typedefs.json
Lines 137 (patched)


requesterPays - sounds like a boolean value. Please review and update the 
typeName if necessary.


- Madhan Neethiraj


On March 30, 2021, 10:28 p.m., Sidharth Mishra wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73257/
> ---
> 
> (Updated March 30, 2021, 10:28 p.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Deep Singh, Madhan Neethiraj, and 
> Sarath Subramanian.
> 
> 
> Bugs: ATLAS-4226
> https://issues.apache.org/jira/browse/ATLAS-4226
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Add model types for Google cloud storage
> 
> 
> Diffs
> -
> 
>   addons/models/3000-Cloud/3060-gcp_typedefs.json PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/73257/diff/2/
> 
> 
> Testing
> ---
> 
> Manually tested if the patch application is successful and entity creation is 
> working.
> 
> 
> Thanks,
> 
> Sidharth Mishra
> 
>



[jira] [Created] (ATLAS-4230) Create new entity for Google cloud storage location from hive

2021-03-30 Thread Sidharth Kumar Mishra (Jira)
Sidharth Kumar Mishra created ATLAS-4230:


 Summary: Create new entity for Google cloud storage location from 
hive
 Key: ATLAS-4230
 URL: https://issues.apache.org/jira/browse/ATLAS-4230
 Project: Atlas
  Issue Type: Bug
Reporter: Sidharth Kumar Mishra
Assignee: Sidharth Kumar Mishra


When I try to run the below create command at hive with GCP cloud configured - 

create external table hive_table_cloud_external_test1 (student_roll int, 
student_name string, student_dob date);

We see a hdfs path entity - gs://gcp-daily-test/testdir1/hiveurltests

Instead we should have a Google cloud storage directory entity and bucket 
entity created.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Review Request 73257: Add model types for Google cloud storage

2021-03-30 Thread Sidharth Mishra

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

(Updated March 30, 2021, 10:28 p.m.)


Review request for atlas, Ashutosh Mestry, Deep Singh, Madhan Neethiraj, and 
Sarath Subramanian.


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


Repository: atlas


Description
---

Add model types for Google cloud storage


Diffs (updated)
-

  addons/models/3000-Cloud/3060-gcp_typedefs.json PRE-CREATION 


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

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


Testing
---

Manually tested if the patch application is successful and entity creation is 
working.


Thanks,

Sidharth Mishra



[jira] [Updated] (ATLAS-4229) [Regression] [DSL-Advanced search] If the search query does not match any results, then Atlas UI keep loading forever

2021-03-30 Thread Prasad P. Pawar (Jira)


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

Prasad P. Pawar updated ATLAS-4229:
---
Labels: DSL  (was: )

> [Regression] [DSL-Advanced search] If the search query does not match any 
> results, then Atlas UI keep loading forever 
> --
>
> Key: ATLAS-4229
> URL: https://issues.apache.org/jira/browse/ATLAS-4229
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Umesh Padashetty
>Assignee: Prasad P. Pawar
>Priority: Blocker
>  Labels: DSL
> Attachments: 
> 0001-ATLAS-4229-UI-DSL-Advanced-search-If-the-search-quer.patch, 
> ATLAS_4229_1.png
>
>
> Observing an issue in DSL (Advanced search), if the search query does not 
> match any results, then Atlas UI takes forever to return the results. It just 
> wont stop loading.
>  
> Whereas if there is a match, the results are returned almost immediately and 
> displayed on the UI.
> On further checking, observed the below error in Console tab when the UI 
> keeps loading (when there is no match)
> {code:java}
> Uncaught TypeError: Cannot convert undefined or null to object
>  at Function.keys ()
>  at N.d.tableRender (SearchResultLayoutView.js?bust=1615290982036:332)
>  at SearchResultLayoutView.js?bust=1615290982036:365
>  at Object.execCb (require.js?bust=1615290982036:1)
>  at t.check (require.js?bust=1615290982036:1)
>  at t. (require.js?bust=1615290982036:1)
>  at require.js?bust=1615290982036:1
>  at require.js?bust=1615290982036:1
>  at each (require.js?bust=1615290982036:1)
>  at t.emit (require.js?bust=1615290982036:1) {code}
> Checked the CURL call directly (case where there are no match)
> Response:
> {code:java}
> {
>  "queryType": "DSL",
>  "queryText": "`hive_db` where name=\"some_invalid_db\"",
>  "approximateCount": -1
> } {code}
> Hence the issue is in UI alone and seems like a regression.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ATLAS-4229) [Regression] [DSL-Advanced search] If the search query does not match any results, then Atlas UI keep loading forever

2021-03-30 Thread Prasad P. Pawar (Jira)


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

Prasad P. Pawar updated ATLAS-4229:
---
Attachment: ATLAS_4229_1.png

> [Regression] [DSL-Advanced search] If the search query does not match any 
> results, then Atlas UI keep loading forever 
> --
>
> Key: ATLAS-4229
> URL: https://issues.apache.org/jira/browse/ATLAS-4229
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Umesh Padashetty
>Assignee: Prasad P. Pawar
>Priority: Blocker
> Attachments: 
> 0001-ATLAS-4229-UI-DSL-Advanced-search-If-the-search-quer.patch, 
> ATLAS_4229_1.png
>
>
> Observing an issue in DSL (Advanced search), if the search query does not 
> match any results, then Atlas UI takes forever to return the results. It just 
> wont stop loading.
>  
> Whereas if there is a match, the results are returned almost immediately and 
> displayed on the UI.
> On further checking, observed the below error in Console tab when the UI 
> keeps loading (when there is no match)
> {code:java}
> Uncaught TypeError: Cannot convert undefined or null to object
>  at Function.keys ()
>  at N.d.tableRender (SearchResultLayoutView.js?bust=1615290982036:332)
>  at SearchResultLayoutView.js?bust=1615290982036:365
>  at Object.execCb (require.js?bust=1615290982036:1)
>  at t.check (require.js?bust=1615290982036:1)
>  at t. (require.js?bust=1615290982036:1)
>  at require.js?bust=1615290982036:1
>  at require.js?bust=1615290982036:1
>  at each (require.js?bust=1615290982036:1)
>  at t.emit (require.js?bust=1615290982036:1) {code}
> Checked the CURL call directly (case where there are no match)
> Response:
> {code:java}
> {
>  "queryType": "DSL",
>  "queryText": "`hive_db` where name=\"some_invalid_db\"",
>  "approximateCount": -1
> } {code}
> Hence the issue is in UI alone and seems like a regression.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: TLS connection between ATLAS client and KAFKA cluster

2021-03-30 Thread Kannamraju P
Hi Nixon,

  Thanks fo the info .  Just curious ,  any idea why these configuration
options are not present in the default ATLAS application config file.

Thanks,
Raju.

On Tue, Mar 30, 2021 at 3:32 AM Nixon Rodrigues <
nixon.rodrig...@freestoneinfotech.com> wrote:

> Hi Raju,
>
> For Kafka in TLS, following properties are needed from the atlas end.
>
> atlas.kafka.security.protocol=SASL_SSL
>
> atlas.kafka.ssl.keystore.type=jks
>
> atlas.kafka.ssl.truststore.type=jks
>
>
> atlas.kafka.ssl.truststore.location=
>
>
> cert.stores.credential.provider.path= store password>
>
>
> or you can set password directly in atlas application.properties file.
>
> atlas.kafka.ssl.truststore.password=
>
>
> Regards
>
> Nixon
>
>
>
>
> On Tue, Mar 30, 2021 at 6:18 AM Kannamraju P 
> wrote:
>
> > Hi All,
> >
> >   I am trying to set up a connection between my ATLAS instance and kafka
> > cluster. We have our kafka setup with TLS authentication . When I see
> kafka
> > configuration in ATLAS I can see only kerberos based authentication
> > options.  Is there any way I can configure TLS between Atlas client and
> > KAFKA  in order to receive any schema change notifications.
> >
> > --
> > thanks & Regards,
> > Raju
> >
>


-- 
thanks & Regards,
Raju


[jira] [Assigned] (ATLAS-4229) [Regression] [DSL-Advanced search] If the search query does not match any results, then Atlas UI keep loading forever

2021-03-30 Thread Prasad P. Pawar (Jira)


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

Prasad P. Pawar reassigned ATLAS-4229:
--

Assignee: Prasad P. Pawar

> [Regression] [DSL-Advanced search] If the search query does not match any 
> results, then Atlas UI keep loading forever 
> --
>
> Key: ATLAS-4229
> URL: https://issues.apache.org/jira/browse/ATLAS-4229
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Umesh Padashetty
>Assignee: Prasad P. Pawar
>Priority: Blocker
>
> Observing an issue in DSL (Advanced search), if the search query does not 
> match any results, then Atlas UI takes forever to return the results. It just 
> wont stop loading.
>  
> Whereas if there is a match, the results are returned almost immediately and 
> displayed on the UI.
> On further checking, observed the below error in Console tab when the UI 
> keeps loading (when there is no match)
> {code:java}
> Uncaught TypeError: Cannot convert undefined or null to object
>  at Function.keys ()
>  at N.d.tableRender (SearchResultLayoutView.js?bust=1615290982036:332)
>  at SearchResultLayoutView.js?bust=1615290982036:365
>  at Object.execCb (require.js?bust=1615290982036:1)
>  at t.check (require.js?bust=1615290982036:1)
>  at t. (require.js?bust=1615290982036:1)
>  at require.js?bust=1615290982036:1
>  at require.js?bust=1615290982036:1
>  at each (require.js?bust=1615290982036:1)
>  at t.emit (require.js?bust=1615290982036:1) {code}
> Checked the CURL call directly (case where there are no match)
> Response:
> {code:java}
> {
>  "queryType": "DSL",
>  "queryText": "`hive_db` where name=\"some_invalid_db\"",
>  "approximateCount": -1
> } {code}
> Hence the issue is in UI alone and seems like a regression.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ATLAS-4229) [Regression] [DSL-Advanced search] If the search query does not match any results, then Atlas UI keep loading forever

2021-03-30 Thread Umesh Padashetty (Jira)
Umesh Padashetty created ATLAS-4229:
---

 Summary: [Regression] [DSL-Advanced search] If the search query 
does not match any results, then Atlas UI keep loading forever 
 Key: ATLAS-4229
 URL: https://issues.apache.org/jira/browse/ATLAS-4229
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Reporter: Umesh Padashetty


Observing an issue in DSL (Advanced search), if the search query does not match 
any results, then Atlas UI takes forever to return the results. It just wont 
stop loading.
 
Whereas if there is a match, the results are returned almost immediately and 
displayed on the UI.


On further checking, observed the below error in Console tab when the UI keeps 
loading (when there is no match)
{code:java}
Uncaught TypeError: Cannot convert undefined or null to object
 at Function.keys ()
 at N.d.tableRender (SearchResultLayoutView.js?bust=1615290982036:332)
 at SearchResultLayoutView.js?bust=1615290982036:365
 at Object.execCb (require.js?bust=1615290982036:1)
 at t.check (require.js?bust=1615290982036:1)
 at t. (require.js?bust=1615290982036:1)
 at require.js?bust=1615290982036:1
 at require.js?bust=1615290982036:1
 at each (require.js?bust=1615290982036:1)
 at t.emit (require.js?bust=1615290982036:1) {code}
Checked the CURL call directly (case where there are no match)
Response:
{code:java}
{
 "queryType": "DSL",
 "queryText": "`hive_db` where name=\"some_invalid_db\"",
 "approximateCount": -1
} {code}
Hence the issue is in UI alone and seems like a regression.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ATLAS-4228) Kafka topic names should be configurable

2021-03-30 Thread chaitali borole (Jira)
chaitali borole created ATLAS-4228:
--

 Summary: Kafka topic names should be configurable
 Key: ATLAS-4228
 URL: https://issues.apache.org/jira/browse/ATLAS-4228
 Project: Atlas
  Issue Type: Task
Affects Versions: 3.0.0
Reporter: chaitali borole
Assignee: chaitali borole


We need to provide functionality where in names of the kafka topics can be 
customised using property configuration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Review Request 73249: ATLAS-4221 : Solr collection names should be configurable

2021-03-30 Thread chaitali

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

(Updated March 30, 2021, 10:41 a.m.)


Review request for atlas, Jayendra Parab and Nixon Rodrigues.


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


Repository: atlas


Description
---

Currently in Atlas, the collection names are not configurable

We need to provide functionality where in names of the solr collections can be 
customized using property configuration


Diffs
-

  common/src/main/java/org/apache/atlas/repository/Constants.java 771287f75 
  distro/src/bin/atlas_config.py 80b3bfb78 
  distro/src/bin/atlas_start.py 7cf35a92a 
  distro/src/conf/atlas-application.properties e06e74a26 
  intg/src/main/java/org/apache/atlas/AtlasConfiguration.java 08d6c9d4a 


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


Testing
---

mvn clean install
atlas server up and running
Collections created with entities linked


Thanks,

chaitali



Re: TLS connection between ATLAS client and KAFKA cluster

2021-03-30 Thread Nixon Rodrigues
Hi Raju,

For Kafka in TLS, following properties are needed from the atlas end.

atlas.kafka.security.protocol=SASL_SSL

atlas.kafka.ssl.keystore.type=jks

atlas.kafka.ssl.truststore.type=jks


atlas.kafka.ssl.truststore.location=


cert.stores.credential.provider.path=


or you can set password directly in atlas application.properties file.

atlas.kafka.ssl.truststore.password=


Regards

Nixon




On Tue, Mar 30, 2021 at 6:18 AM Kannamraju P  wrote:

> Hi All,
>
>   I am trying to set up a connection between my ATLAS instance and kafka
> cluster. We have our kafka setup with TLS authentication . When I see kafka
> configuration in ATLAS I can see only kerberos based authentication
> options.  Is there any way I can configure TLS between Atlas client and
> KAFKA  in order to receive any schema change notifications.
>
> --
> thanks & Regards,
> Raju
>