Re: Review Request 74724: ATLAS-4809 : Atlas - Upgrade amqp-client to 5.18.0+

2023-11-21 Thread Sheetal Shah

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

(Updated Nov. 22, 2023, 10:06 a.m.)


Review request for atlas, Jayendra Parab and Pinal Shah.


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


Repository: atlas


Description
---

Upgrade amqp-client to 5.18.0+


Diffs
-

  graphdb/janus-hbase2/pom.xml c2a2e74f0 
  tools/atlas-index-repair/pom.xml ab55f4c7f 


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


Testing (updated)
---

1)mvn clean package -Pdist,embedded-hbase-solr -DskipTests -Drat.skip
  Atlas server runnning
2)Quick started was passed successfully


Precommit - 
https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/1513/
This shows failures which are unrelated to the changes in this patch


Thanks,

Sheetal Shah



[jira] [Updated] (ATLAS-4814) CI build fails in distro module with error: Cannot run program "python"

2023-11-21 Thread Madhan Neethiraj (Jira)


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

Madhan Neethiraj updated ATLAS-4814:

Attachment: ATLAS-4184.patch

> CI build fails in distro module with error: Cannot run program "python"
> ---
>
> Key: ATLAS-4814
> URL: https://issues.apache.org/jira/browse/ATLAS-4814
> Project: Atlas
>  Issue Type: Bug
>Reporter: Madhan Neethiraj
>Assignee: Madhan Neethiraj
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: ATLAS-4184.patch
>
>
> Atlas CI build (Atlas-master-IntegrationTests) fails with the following 
> error, which is likely due to the build machine not having python2 installed.
>  
> {noformat}
> [INFO] Apache Atlas Couchbase Bridge .. SUCCESS [ 24.697 
> s]
> [INFO] Apache Atlas Distribution .. FAILURE [ 9.103 s]
> [INFO] atlas-examples . SKIPPED
> [INFO] sample-app . SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 01:56 h
> [INFO] Finished at: 2023-11-21T20:44:37Z
> [INFO] 
> 
> Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal 
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (python-test) on project 
> atlas-distro: Command execution failed. Cannot run program "python" (in 
> directory 
> "/home/jenkins/jenkins-agent/workspace/Atlas/Atlas-master-IntegrationTests/distro/src/test/python"):
>  error=2, No such file or directory -> [Help 1][ERROR] [ERROR] To see the 
> full stack trace of the errors, re-run Maven with the -e switch.[ERROR] 
> Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] 
> For more information about the errors and possible solutions, please read the 
> following articles:[ERROR] [Help 1] 
> [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException][ERROR]
>  [ERROR] After correcting the problems, you can resume the build with the 
> command[ERROR] mvn  -rf :atlas-distrochannel stopped
> Exception: java.lang.LinkageError thrown from the UncaughtExceptionHandler in 
> thread "Thread-942"
> Finished: FAILURE
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Review Request 74750: ATLAS-4184: updated build/python scripts to replace references to python with python3

2023-11-21 Thread Madhan Neethiraj

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

Review request for atlas.


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


Repository: atlas


Description
---

- updated distro/pom.xml to replace reference to python with python3
- updated Docker setup to not install python2


Diffs
-

  dev-support/atlas-docker/Dockerfile.atlas-base 4aa225c16 
  distro/pom.xml 9df238eb3 
  distro/src/bin/atlas_admin.py 795a5716f 
  distro/src/bin/atlas_client_cmdline.py f05a3c8f9 
  distro/src/bin/atlas_config.py 31e6fd043 
  distro/src/bin/atlas_kafka_setup.py c13030e88 
  distro/src/bin/atlas_kafka_setup_hook.py cd8c0c3ca 
  distro/src/bin/atlas_start.py ffbe16271 
  distro/src/bin/atlas_stop.py b9cd63689 
  distro/src/bin/atlas_update_simple_auth_json.py 11c249d9b 
  distro/src/bin/cputil.py 8e99f95bc 
  distro/src/bin/quick_start.py 78517f865 
  distro/src/bin/quick_start_v1.py 1c5775a68 
  distro/src/test/mock/setup.py 3639df4a1 
  distro/src/test/python/scripts/TestMetadata.py b813f927f 
  distro/src/test/python/unitTests.py ec1a78cb9 
  tools/atlas-index-repair/src/main/resources/repair_index.py 0333dadca 
  tools/atlas-migration-exporter/atlas_migration_export.py e1b12f609 


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


Testing
---

- pre-commit tests run: 
https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/1516/
- successfully built and installed Atlas in docker containers having no 
Python2, using scripts under dev-support/atlas-docker
- verified quick_start.py
- verified Hive and HBase hooks reported entities from respective components
- verified Kafka bridge imported Kafka topics successfully


Thanks,

Madhan Neethiraj



[jira] [Updated] (ATLAS-4814) CI build fails in distro module with error: Cannot run program "python"

2023-11-21 Thread Madhan Neethiraj (Jira)


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

Madhan Neethiraj updated ATLAS-4814:

Description: 
Atlas CI build (Atlas-master-IntegrationTests) fails with the following error, 
which is likely due to the build machine not having python2 installed.

 

{noformat}
[INFO] Apache Atlas Couchbase Bridge .. SUCCESS [ 24.697 s]
[INFO] Apache Atlas Distribution .. FAILURE [ 9.103 s]
[INFO] atlas-examples . SKIPPED
[INFO] sample-app . SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 01:56 h
[INFO] Finished at: 2023-11-21T20:44:37Z
[INFO] 
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (python-test) on project 
atlas-distro: Command execution failed. Cannot run program "python" (in 
directory 
"/home/jenkins/jenkins-agent/workspace/Atlas/Atlas-master-IntegrationTests/distro/src/test/python"):
 error=2, No such file or directory -> [Help 1][ERROR] [ERROR] To see the full 
stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven 
using the -X switch to enable full debug logging.[ERROR] [ERROR] For more 
information about the errors and possible solutions, please read the following 
articles:[ERROR] [Help 1] 
[http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException][ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
command[ERROR] mvn  -rf :atlas-distrochannel stopped

Exception: java.lang.LinkageError thrown from the UncaughtExceptionHandler in 
thread "Thread-942"
Finished: FAILURE
{noformat}

  was:
Atlas CI build (Atlas-master-IntegrationTests) fails with the following error, 
which is likely due to the build machine not having python2 installed.

 
[INFO] Apache Atlas Couchbase Bridge .. SUCCESS [ 24.697 s]
[INFO] Apache Atlas Distribution .. FAILURE [  9.103 s]
[INFO] atlas-examples . SKIPPED
[INFO] sample-app . SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time:  01:56 h
[INFO] Finished at: 2023-11-21T20:44:37Z
[INFO] 
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (python-test) on project 
atlas-distro: Command execution failed. Cannot run program "python" (in 
directory 
"/home/jenkins/jenkins-agent/workspace/Atlas/Atlas-master-IntegrationTests/distro/src/test/python"):
 error=2, No such file or directory -> [Help 1][ERROR] [ERROR] To see the full 
stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven 
using the -X switch to enable full debug logging.[ERROR] [ERROR] For more 
information about the errors and possible solutions, please read the following 
articles:[ERROR] [Help 1] 
[http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException][ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
command[ERROR]   mvn  -rf :atlas-distrochannel stopped

Exception: java.lang.LinkageError thrown from the UncaughtExceptionHandler in 
thread "Thread-942"
Finished: FAILURE


> CI build fails in distro module with error: Cannot run program "python"
> ---
>
> Key: ATLAS-4814
> URL: https://issues.apache.org/jira/browse/ATLAS-4814
> Project: Atlas
>  Issue Type: Bug
>Reporter: Madhan Neethiraj
>Assignee: Madhan Neethiraj
>Priority: Major
>
> Atlas CI build (Atlas-master-IntegrationTests) fails with the following 
> error, which is likely due to the build machine not having python2 installed.
>  
> {noformat}
> [INFO] Apache Atlas Couchbase Bridge .. SUCCESS [ 24.697 
> s]
> [INFO] Apache Atlas Distribution .. FAILURE [ 9.103 s]
> [INFO] atlas-examples . SKIPPED
> [INFO] sample-app . SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 01:56 h
> [INFO] Finished at: 2023-11-21T20:44:37Z
> [INFO] 

[jira] [Created] (ATLAS-4814) CI build fails in distro module with error: Cannot run program "python"

2023-11-21 Thread Madhan Neethiraj (Jira)
Madhan Neethiraj created ATLAS-4814:
---

 Summary: CI build fails in distro module with error: Cannot run 
program "python"
 Key: ATLAS-4814
 URL: https://issues.apache.org/jira/browse/ATLAS-4814
 Project: Atlas
  Issue Type: Bug
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj


Atlas CI build (Atlas-master-IntegrationTests) fails with the following error, 
which is likely due to the build machine not having python2 installed.

 
[INFO] Apache Atlas Couchbase Bridge .. SUCCESS [ 24.697 s]
[INFO] Apache Atlas Distribution .. FAILURE [  9.103 s]
[INFO] atlas-examples . SKIPPED
[INFO] sample-app . SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time:  01:56 h
[INFO] Finished at: 2023-11-21T20:44:37Z
[INFO] 
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (python-test) on project 
atlas-distro: Command execution failed. Cannot run program "python" (in 
directory 
"/home/jenkins/jenkins-agent/workspace/Atlas/Atlas-master-IntegrationTests/distro/src/test/python"):
 error=2, No such file or directory -> [Help 1][ERROR] [ERROR] To see the full 
stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven 
using the -X switch to enable full debug logging.[ERROR] [ERROR] For more 
information about the errors and possible solutions, please read the following 
articles:[ERROR] [Help 1] 
[http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException][ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
command[ERROR]   mvn  -rf :atlas-distrochannel stopped

Exception: java.lang.LinkageError thrown from the UncaughtExceptionHandler in 
thread "Thread-942"
Finished: FAILURE



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ATLAS-4789) Add Couchbase bridge

2023-11-21 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-4789:


Commit abafe2b113e372d48ca23f03ccbd4b6f92335dd8 in atlas's branch 
refs/heads/branch-2.0 from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=abafe2b11 ]

ATLAS-4789: added couchbase bridge #2 - fixed incorrect parent.version in 
pom.xml


> Add Couchbase bridge
> 
>
> Key: ATLAS-4789
> URL: https://issues.apache.org/jira/browse/ATLAS-4789
> Project: Atlas
>  Issue Type: New Feature
>  Components:  atlas-core
>Reporter: Dmitrii Chechetkin
>Assignee: Dmitrii Chechetkin
>Priority: Major
> Attachments: ATLAS-4789.patch
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We at couchbase developed a bridge for Atlas that connectes to our database 
> and decided to release it into open-source. Needed to create the ticket to 
> open the pull request.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ATLAS-4810) Atlas UI Basic Searching result sorting option not available on all Columns

2023-11-21 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-4810:


Commit 62d89cbbd80faa527529939e75c5170ef2a9adc8 in atlas's branch 
refs/heads/branch-2.0 from Prasad Pawar
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=62d89cbbd ]

ATLAS-4810: Atlas UI Basic Searching result sorting option not available on all 
Columns

Signed-off-by: Prasad Pawar 


> Atlas UI Basic Searching result sorting option not available on all Columns
> ---
>
> Key: ATLAS-4810
> URL: https://issues.apache.org/jira/browse/ATLAS-4810
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Prasad P. Pawar
>Assignee: Prasad P. Pawar
>Priority: Major
> Attachments: 
> 0001-ATLAS-4810-Atlas-UI-Basic-Searching-result-sorting-o.patch, Atlas 
> Advanced Searching result sorting.png, Atlas Basic Searching result 
> sorting.png, advanced-search.PNG, basic-search.PNG
>
>
> Basically in Basic search (hive_column as an example), we can add the Columns 
> from the right side for the results, but those added Columns don't have the 
> sorting option (Ascending/Descending) on the UI , only 4 default Columns 
> (Name, Owner, Description and Type) has sorting option.
> However if using Advanced reaching, we query the same Column name "from 
> hive_column select position", that "position" has the sort errors next to it. 
> Same Column "position" in Basic Searching doesn't have the sort function.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ATLAS-4810) Atlas UI Basic Searching result sorting option not available on all Columns

2023-11-21 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-4810:


Commit cef591433939ca9254971976362b99883ebec8c6 in atlas's branch 
refs/heads/master from Prasad Pawar
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=cef591433 ]

ATLAS-4810: Atlas UI Basic Searching result sorting option not available on all 
Columns

Signed-off-by: Prasad Pawar 


> Atlas UI Basic Searching result sorting option not available on all Columns
> ---
>
> Key: ATLAS-4810
> URL: https://issues.apache.org/jira/browse/ATLAS-4810
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Prasad P. Pawar
>Assignee: Prasad P. Pawar
>Priority: Major
> Attachments: 
> 0001-ATLAS-4810-Atlas-UI-Basic-Searching-result-sorting-o.patch, Atlas 
> Advanced Searching result sorting.png, Atlas Basic Searching result 
> sorting.png, advanced-search.PNG, basic-search.PNG
>
>
> Basically in Basic search (hive_column as an example), we can add the Columns 
> from the right side for the results, but those added Columns don't have the 
> sorting option (Ascending/Descending) on the UI , only 4 default Columns 
> (Name, Owner, Description and Type) has sorting option.
> However if using Advanced reaching, we query the same Column name "from 
> hive_column select position", that "position" has the sort errors next to it. 
> Same Column "position" in Basic Searching doesn't have the sort function.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ATLAS-4810) Atlas UI Basic Searching result sorting option not available on all Columns

2023-11-21 Thread Prasad P. Pawar (Jira)


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

Prasad P. Pawar commented on ATLAS-4810:


Hi,
This same implementation is for Relationship search page.

> Atlas UI Basic Searching result sorting option not available on all Columns
> ---
>
> Key: ATLAS-4810
> URL: https://issues.apache.org/jira/browse/ATLAS-4810
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Prasad P. Pawar
>Assignee: Prasad P. Pawar
>Priority: Major
> Attachments: 
> 0001-ATLAS-4810-Atlas-UI-Basic-Searching-result-sorting-o.patch, Atlas 
> Advanced Searching result sorting.png, Atlas Basic Searching result 
> sorting.png, advanced-search.PNG, basic-search.PNG
>
>
> Basically in Basic search (hive_column as an example), we can add the Columns 
> from the right side for the results, but those added Columns don't have the 
> sorting option (Ascending/Descending) on the UI , only 4 default Columns 
> (Name, Owner, Description and Type) has sorting option.
> However if using Advanced reaching, we query the same Column name "from 
> hive_column select position", that "position" has the sort errors next to it. 
> Same Column "position" in Basic Searching doesn't have the sort function.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ATLAS-4810) Atlas UI Basic Searching result sorting option not available on all Columns

2023-11-21 Thread Rahul Kurup (Jira)


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

Rahul Kurup commented on ATLAS-4810:


+1

> Atlas UI Basic Searching result sorting option not available on all Columns
> ---
>
> Key: ATLAS-4810
> URL: https://issues.apache.org/jira/browse/ATLAS-4810
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Reporter: Prasad P. Pawar
>Assignee: Prasad P. Pawar
>Priority: Major
> Attachments: 
> 0001-ATLAS-4810-Atlas-UI-Basic-Searching-result-sorting-o.patch, Atlas 
> Advanced Searching result sorting.png, Atlas Basic Searching result 
> sorting.png, advanced-search.PNG, basic-search.PNG
>
>
> Basically in Basic search (hive_column as an example), we can add the Columns 
> from the right side for the results, but those added Columns don't have the 
> sorting option (Ascending/Descending) on the UI , only 4 default Columns 
> (Name, Owner, Description and Type) has sorting option.
> However if using Advanced reaching, we query the same Column name "from 
> hive_column select position", that "position" has the sort errors next to it. 
> Same Column "position" in Basic Searching doesn't have the sort function.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)