[jira] [Commented] (ATLAS-4757) Regression : DSL queries redirected to passive server fails

2023-06-13 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-4757:


Commit 7f2582180737282399ffab3e959636be32fa3243 in atlas's branch 
refs/heads/branch-2.0 from chaitali borole
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=7f2582180 ]

ATLAS-4757 : Regression - DSL queries redirected to passive server fails

Signed-off-by: Pinal Shah 


> Regression : DSL queries redirected to passive server fails
> ---
>
> Key: ATLAS-4757
> URL: https://issues.apache.org/jira/browse/ATLAS-4757
> Project: Atlas
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: chaitali borole
>Assignee: chaitali borole
>Priority: Major
>
> When redirected query is encoded as below
> http://localhost:21000/api/atlas/v2/search/dsl?typeName=hive_table&query=name=%2522table_a_impala_avwei_20%2522
> this fails with below error :
> {  "errorCode": "ATLAS-400-00-059",  "errorMessage": "Invalid DSL query: 
> `hive_table` name=%22table_a_impala_avwei_20%22 limit 100 offset 0 | Reason: 
> DSL Semantic Error - table_a_impala_avwei_20 type not found, DSL Semantic 
> Error - table_a_impala_avwei_20 type not found, DSL Semantic Error - 22 type 
> not found, DSL Semantic Error - 22 type not found. Please refer to Atlas DSL 
> grammar for more information"} 



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


[jira] [Commented] (ATLAS-4757) Regression : DSL queries redirected to passive server fails

2023-06-13 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-4757:


Commit 75eb33f0fb3ac7baf6547bdd35bd65acdea0d8f9 in atlas's branch 
refs/heads/master from chaitali borole
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=75eb33f0f ]

ATLAS-4757 : Regression - DSL queries redirected to passive server fails

Signed-off-by: Pinal Shah 


> Regression : DSL queries redirected to passive server fails
> ---
>
> Key: ATLAS-4757
> URL: https://issues.apache.org/jira/browse/ATLAS-4757
> Project: Atlas
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: chaitali borole
>Assignee: chaitali borole
>Priority: Major
>
> When redirected query is encoded as below
> http://localhost:21000/api/atlas/v2/search/dsl?typeName=hive_table&query=name=%2522table_a_impala_avwei_20%2522
> this fails with below error :
> {  "errorCode": "ATLAS-400-00-059",  "errorMessage": "Invalid DSL query: 
> `hive_table` name=%22table_a_impala_avwei_20%22 limit 100 offset 0 | Reason: 
> DSL Semantic Error - table_a_impala_avwei_20 type not found, DSL Semantic 
> Error - table_a_impala_avwei_20 type not found, DSL Semantic Error - 22 type 
> not found, DSL Semantic Error - 22 type not found. Please refer to Atlas DSL 
> grammar for more information"} 



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


Re: building Atlas

2023-06-13 Thread Pierre Smits
Hi Nixon,

Thank you very much. That did it.

Met vriendelijke groet,

Pierre Smits
*Proud* *contributor** of* Apache OFBiz  since
2008 (without privileges)
Proud contributor to the ASF since 2006
*Apache Directory , PMC Member*

Anyone could have been you, whereas I've always been anyone.


On Fri, Jun 9, 2023 at 10:19 AM Nixon Rodrigues  wrote:

> Pierre,
>
> you can apply this fix and try.
>
> https://github.com/apache/atlas/pull/219/files
>
> On Wed, 7 Jun 2023 at 19:52, Pierre Smits  wrote:
>
> > Hi all,
> >
> > In a goal to implement Atlas in my private dev environment, I downloaded
> > the file re 2.3.0 and started the build with:
> >
> > mvn clean -DskipTests install
> >
> >
> > However, it didn't complete. The error I got was:
> >
> > [*ERROR*] Failed to execute goal on project atlas-testtools: *Could not
> > resolve dependencies for project
> > org.apache.atlas:atlas-testtools:jar:2.3.0: Failed to collect
> dependencies
> > at org.apache.solr:solr-test-framework:jar:8.6.3 ->
> > org.restlet.jee:org.restlet:jar:2.4.3*: Failed to read artifact
> descriptor
> > for org.restlet.jee:org.restlet:jar:2.4.3: Could not transfer artifact
> > org.restlet.jee:org.restlet:pom:2.4.3 from/to maven-restlet (
> > https://maven.restlet.com): Transfer failed for
> >
> >
> https://maven.restlet.com/org/restlet/jee/org.restlet/2.4.3/org.restlet-2.4.3.pom
> > :
> > PKIX path validation failed:
> java.security.cert.CertPathValidatorException:
> > validity check failed: NotAfter: Sun Nov 13 17:05:56 UTC 2022 -> *[Help
> 1]*
> >
> > Is there a way to correct, circumvent this?
> >
> > Any help would be greatly appreciated
> >
> >
> > Met vriendelijke groet,
> >
> > Pierre Smits
> > *Proud* *contributor** of* Apache OFBiz 
> since
> > 2008 (without privileges)
> > Proud contributor to the ASF since 2006
> > *Apache Directory , PMC Member*
> >
> > Anyone could have been you, whereas I've always been anyone.
> >
>


Re: Review Request 74459: ATLAS-4757 - Regression : DSL queries redirected to passive server fails

2023-06-13 Thread chaitali

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

(Updated June 13, 2023, 9:02 a.m.)


Review request for atlas, Jayendra Parab and Mandar Ambawane.


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


Repository: atlas


Description
---

When redirected query is encoded as below
http://localhost:21000/api/atlas/v2/search/dsl?typeName=hive_table&query=name=%2522table_a_impala_avwei_20%2522

this fails with below error :

{ "errorCode": "ATLAS-400-00-059", "errorMessage": "Invalid DSL query: 
`hive_table` name=%22table_a_impala_avwei_20%22 limit 100 offset 0 | Reason: 
DSL Semantic Error - table_a_impala_avwei_20 type not found, DSL Semantic Error 
- table_a_impala_avwei_20 type not found, DSL Semantic Error - 22 type not 
found, DSL Semantic Error - 22 type not found. Please refer to Atlas DSL 
grammar for more information"}


Diffs
-

  webapp/src/main/java/org/apache/atlas/web/filters/ActiveServerFilter.java 
8d6aab688 
  webapp/src/test/java/org/apache/atlas/web/filters/ActiveServerFilterTest.java 
04b4e4a35 


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


Testing
---

Atlas server running 
testcases passed


Thanks,

chaitali