Review Request 66851: NPE in Atlas Hive2 hook when creating views

2018-04-27 Thread Gergo Barna

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

Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

NPE in Atlas Hive2 hook when creating views


Diffs
-

  
addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java
 43016d4 
  
addons/hive-bridge/src/test/java/org/apache/atlas/hive/bridge/ColumnLineageUtils.java
 dc14480 


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


Testing
---


Thanks,

Gergo Barna



Review Request 66809: NPE in Hive hook

2018-04-26 Thread Gergo Barna

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

Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
---

NPE in Hive hook when creating views


Diffs
-

  
addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java
 86027f2 


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


Testing
---


Thanks,

Gergo Barna



Re: IT failures in master branch

2018-04-09 Thread Peter Gergo Barna
Hi Madhan,

I have fixed the Hive Hook IT added by my patch for ATLAS-2530. 

There is an other problem in my local env, this Error made all Hive hook Its 
fail:

2018-04-09 14:58:51,719 INFO  - [main:] ~ Created Atlas Hook (AtlasHook:117)
2018-04-09 14:58:51,726 ERROR - [main:] ~ HiveHook.run(): failed to process 
operation CREATETABLE (HiveHook:159)
java.lang.Error: Unresolved compilation problem:
Type mismatch: cannot convert from 
List to List

at 
org.apache.atlas.hive.hook.events.CreateTable.getNotificationMessages(CreateTable.java:50)
at org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:156)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1520)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
at 
org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:170)
at 
org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:164)
at org.apache.atlas.hive.HiveITBase.runCommand(HiveITBase.java:156)
at 
org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT.testCreateTableAndImport(HiveMetastoreBridgeIT.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



This patch fixed it in my local env: 
https://issues.apache.org/jira/secure/attachment/12918174/ATLAS-2535-2.patch



I am not sure if this is valid error, looks strange to me.  If it only affects 
my env then I am sorry to bother you with this.
If this is a valid error and a valid fix for it, I think we should consider 
adding this fix to all BaseHiveEvent
descendant classes, in the getNotificationMessages method.

What do you think?


Regards,
Gergo





On 4/9/18, 3:20 PM, "Peter Gergo Barna" <pba...@hortonworks.com> wrote:

>Hi Madhan,
>I am looking into it
>
>https://issues.apache.org/jira/browse/ATLAS-2546 
>
>Regards,
>Peter Gergo Barna
>
>
>
>
>
>On 4/8/18, 6:34 PM, "Madhan Neethiraj" <mad...@apache.org> wrote:
>
>>Peter - can you please look into the failure in the following integration 
>>test introduced in ATLAS-2530?
>>  
>> HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute:105->HiveITBase.runCommand:139->HiveITBase.runCommandWithDelay:147->HiveITBase.runCommandWithDelay:154
>>  expected [0] but found [4]
>>
>>Ramesh - can you please look into the following HiveHook IT failures?
>>  
>> HiveHookIT.testAlterTablePartitionColumnType:1309->assertColumnIsRegistered:288->HiveITBase.assertEntityIsRegistered:206->HiveITBase.waitFor:270
>>  Assertions failed. Failing after waiting for timeout 8 msecs
>>  HiveHookIT.testAlterTableRename:970->assertTrait:1018 » 
>> IndexOutOfBounds Index...
>>
>>Thanks,
>>Madhan
>>
>>On 4/8/18, 6:11 AM, "Apache Jenkins Server" <jenk...@builds.apache.org> wrote:
>>
>>See 
>> <https://builds.apache.org/job/Atlas-master-IntegrationTests/985/display/redirect>
>>
>>--
>>[...truncated 681.01 KB...]
>>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
>> //localhost:31000/api/atlas/v2/entity/guid/71d8f14a-1bee-45c9-bf57-b5d02b873438
>>  HTTP/1.1" 200 2018 "-" "Java/1.8.0_152"
>>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
>> //localhost:31000/api/atlas/v2/entity/guid/8fa0bdb2-6fff-40bc-8c85-31e307be70a4
>>  HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
>>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
>> //localhost:31000/api/atlas/v2/entity/guid/f96a0ec4-e191-47c3-b7bd-9a8ea6ee0942
>>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
>> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath1-data-oa3tjxhq6i
>>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
>> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath1-data-oa3tjxhq6i
>>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
>> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepjrnkjingg@primary
>>  HTTP/1.1" 20

Re: IT failures in master branch

2018-04-09 Thread Peter Gergo Barna
Hi Madhan,
I am looking into it

https://issues.apache.org/jira/browse/ATLAS-2546 

Regards,
Peter Gergo Barna





On 4/8/18, 6:34 PM, "Madhan Neethiraj" <mad...@apache.org> wrote:

>Peter - can you please look into the failure in the following integration test 
>introduced in ATLAS-2530?
>  
> HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute:105->HiveITBase.runCommand:139->HiveITBase.runCommandWithDelay:147->HiveITBase.runCommandWithDelay:154
>  expected [0] but found [4]
>
>Ramesh - can you please look into the following HiveHook IT failures?
>  
> HiveHookIT.testAlterTablePartitionColumnType:1309->assertColumnIsRegistered:288->HiveITBase.assertEntityIsRegistered:206->HiveITBase.waitFor:270
>  Assertions failed. Failing after waiting for timeout 8 msecs
>  HiveHookIT.testAlterTableRename:970->assertTrait:1018 » 
> IndexOutOfBounds Index...
>
>Thanks,
>Madhan
>
>On 4/8/18, 6:11 AM, "Apache Jenkins Server" <jenk...@builds.apache.org> wrote:
>
>See 
> <https://builds.apache.org/job/Atlas-master-IntegrationTests/985/display/redirect>
>
>--
>[...truncated 681.01 KB...]
>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
> //localhost:31000/api/atlas/v2/entity/guid/71d8f14a-1bee-45c9-bf57-b5d02b873438
>  HTTP/1.1" 200 2018 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
> //localhost:31000/api/atlas/v2/entity/guid/8fa0bdb2-6fff-40bc-8c85-31e307be70a4
>  HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
> //localhost:31000/api/atlas/v2/entity/guid/f96a0ec4-e191-47c3-b7bd-9a8ea6ee0942
>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath1-data-oa3tjxhq6i
>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:53 +] "GET 
> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath1-data-oa3tjxhq6i
>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepjrnkjingg@primary
>  HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablepjrnkjingg@primary
>  HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=QUERY:default.tablepjrnkjingg@primary:1523181102000-%3E
>  HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=QUERY:default.tablepjrnkjingg@primary:1523181102000-%3E
>  HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/guid/71d8f14a-1bee-45c9-bf57-b5d02b873438
>  HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/guid/8fa0bdb2-6fff-40bc-8c85-31e307be70a4
>  HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/guid/30bc4d48-9d7b-4c39-a145-944ad6926c2a
>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/guid/f96a0ec4-e191-47c3-b7bd-9a8ea6ee0942
>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>127.0.0.1 - - [08/Apr/2018:09:51:56 +] "GET 
> //localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath2-data-qazidkfz9p
>  HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
>127.0

Review Request 66472: ATLAS-2530 trim query string before using it as name attribute for Hive process and column lineage

2018-04-05 Thread Gergo Barna

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

Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Ramesh Mani.


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


Repository: atlas


Description
---

ATLAS-2530 trim query string before using it as name attribute for Hive process 
and column lineage


Diffs
-

  
addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/BaseHiveEvent.java
 2b0c5d9 
  
addons/hive-bridge/src/test/java/org/apache/atlas/hive/bridge/HiveMetastoreBridgeIT.java
 a5b1f4d 


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


Testing
---

I couldn't get the HiveMetastoreBridgeIT tests run locally.

I have validated the fix in a live cluster with jar replacement.


Thanks,

Gergo Barna



Re: Server appears to start, but connections fail with 503

2018-02-14 Thread Peter Gergo Barna
Hi David,

# I think these are the env variables:

export MANAGE_LOCAL_HBASE=true
export MANAGE_LOCAL_SOLR=true



# Here is a script that builds and starts Atlas locally from source, it was 
posted to this mailing list earlier. 


BRANCH=0.8-incubating
ATLAS_SOURCE_DIR=/tmp/atlas-source
ATLAS_HOME=/tmp/atlas-bin
rm -rf ${ATLAS_SOURCE_DIR}
rm -rf ${ATLAS_HOME}

# Clone Apache Atlas sources
mkdir -p ${ATLAS_SOURCE_DIR}
cd ${ATLAS_SOURCE_DIR}

git clone https://github.com/apache/atlas.git 
 -b master

# build Apache Atlas
cd atlas
git checkout ${BRANCH}

mvn clean -DskipTests -DGRAPH_PROVIDER=titan0 install 
-Pdist,embedded-hbase-solr,graph-provider-titan0


# Install Apache Atlas
mkdir -p ${ATLAS_HOME}

tar xfz distro/target/apache-atlas-*bin.tar.gz --strip-components 1 -C 
${ATLAS_HOME}


# Setup environment and configuration
export MANAGE_LOCAL_HBASE=true

export MANAGE_LOCAL_SOLR=true

export PATH=${PATH}:/tmp/atlas-bin/bin

echo 
atlas.graphdb.backend=org.apache.atlas.repository.graphdb.titan0.Titan0GraphDatabase
 >> ${ATLAS_HOME}/conf/atlas-application.properties


# Start Apache Atlas
atlas_start.py

# Access Apache Atlas at http://localhost:21000 







On 2/14/18, 2:40 PM, "David Aspegren"  wrote:

>Hi,
>
>I have the same issue. Where are those environment variables for embedded
>hbase described?
>
>regards,
>David
>
>2018-02-14 14:32 GMT+01:00 Ernie Ostic :
>
>> Thanks David...
>>
>> build string I am using is: *mvn clean -DskipTests package
>> -Pdist,embedded-hbase-solr*
>>
>> Will check again the environment variablesthx.
>>
>> Ernie
>>
>>
>>
>>
>>
>> Ernie Ostic
>>
>> Worldwide Technical Sales
>> InfoSphere Information Server
>> IBM Analytics
>>
>> Cell: (617) 331 8238 <(617)%20331-8238>
>> ---
>> Apache Atlas Update! https://dsrealtime.wordpress.
>> com/2017/11/16/apache-atlas-update-have-you-been-watching/
>>
>> Open IGC is here! https://dsrealtime.wordpress.com/2015/07/29/open-igc-is-
>> here/
>>
>> [image: Inactive hide details for David Radley ---02/14/2018 07:44:19
>> AM---Hi Ernie, There are 2 ways to build and run Atlas currently:]David
>> Radley ---02/14/2018 07:44:19 AM---Hi Ernie, There are 2 ways to build and
>> run Atlas currently:
>>
>> From: David Radley 
>> To: dev@atlas.apache.org
>> Date: 02/14/2018 07:44 AM
>> Subject: Re: Server appears to start, but connections fail with 503
>> --
>>
>>
>>
>> Hi Ernie,
>> There are 2 ways to build and run Atlas currently:
>>- external Hbase and Solr and ZK
>>- embedded HBase Solr and ZK
>>
>> I am not sure which one you are trying. Sharing your build string would be
>> helpful. If you are using the embedded HBase option then you need to
>> specify environment variables, for the runtime Atlas to work,
>>
>> As per yesterdays call - Madhan suggests running with an external HBase,
>> as he seems a performance delay using the embedded HBase.
>>   all the best, David.
>>
>>
>>
>> From:   "Ernie Ostic" 
>> To: "Atlas" 
>> Date:   14/02/2018 11:52
>> Subject:Server appears to start, but connections fail with 503
>>
>>
>>
>>
>>
>> Hi all...
>>
>> Using "master", the build appears to be successful, and the server is
>> properly listening on port 21000, but quick start or even direct access
>> fails with 503.   Any suggestions on where to look?   Thanks!
>>
>> Ernie
>>
>>
>>
>> $ bin/quick_start.py
>>
>> log4j:WARN No such property [maxFileSize] in
>> org.apache.log4j.PatternLayout.
>> log4j:WARN No such property [maxBackupIndex] in
>> org.apache.log4j.PatternLayout.
>> log4j:WARN No such property [maxFileSize] in
>> org.apache.log4j.PatternLayout.
>> log4j:WARN No such property [maxBackupIndex] in
>> org.apache.log4j.PatternLayout.
>> log4j:WARN No such property [maxFileSize] in
>> org.apache.log4j.PatternLayout.
>>
>> Enter username for atlas :- admin
>> Enter password for atlas :-
>>
>> Creating sample types:
>>
>> Exception in thread "main" org.apache.atlas.AtlasServiceException:
>> Metadata
>> service API org.apache.atlas.AtlasClientV2$API_V2@1033576a failed with
>> status 503 (Service Unavailable) Response Body (
>> 
>> 
>> Error 503 
>> 
>> 
>> HTTP ERROR: 503
>> Problem accessing /api/atlas/v2/types/typedefs/. Reason:
>> Service Unavailable
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__eclipse.
>> org_jetty=DwMFAg=jf_iaSHvJObTbx-siA1ZOg=
>> QhpUQPr5YlG95aAgCvZGStEXHg4hBbSYQ9JkRqR_svY=
>> 0y7mtLMoBMEc2RNTv8nhllpgWZHIGzqdnqcU0FUYtvg=
>> yRGEThijdpp0lFksddATlowggX7r9D_zX0z2DXZR8EA=
>> ">Powered by Jetty://
>> 9.3.14.v20161028
>> 
>> 
>> )
>> at org.apache.atlas.AtlasBaseClient.callAPIWithResource
>> (AtlasBaseClient.java:388)
>> at org.apache.atlas.AtlasBaseClient.callAPIWithResource
>> (AtlasBaseClient.java:323)

Review Request 64538: ATLAS-2310 In HA, the passive node redirects the request with wrong URL encoding

2017-12-12 Thread Gergo Barna

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

Review request for atlas, Madhan Neethiraj and Nixon Rodrigues.


Repository: atlas


Description
---

In HA, the passive node redirects the request with wrong URL encoding. Instead 
of encoding only the values, the whole query is encoded as a single string.


Diffs
-

  webapp/src/main/java/org/apache/atlas/web/filters/ActiveServerFilter.java 
c68c4b2 
  webapp/src/test/java/org/apache/atlas/web/filters/ActiveServerFilterTest.java 
60f3d48 


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


Testing
---

tested locally


Thanks,

Gergo Barna



Re: compilation error in master

2017-12-01 Thread Peter Gergo Barna
This was just my env. I had to delete my .m2 dir and then I was able to build 
the project.
Sorry for the noise.
Peter Gergo Barna



On 11/30/17, 4:29 PM, "Peter Gergo Barna" <pba...@hortonworks.com> wrote:

>Hi,
>I get compilation errors while building the master branch
>
>
>[ERROR] COMPILATION ERROR :
>
>[INFO] -
>
>[ERROR] 
>/Users/pbarna/Desktop/apache-source/atlas/intg/src/main/java/org/apache/atlas/model/SearchFilter.java:[20,32]
> package com.sun.jersey.core.util does not exist
>
>The jersey-core lib (v 1.19) is there in my local maven repo.
>
>jersey-core is not present in the intg project pom.xml as a dependency.
>It can only be found in the parent pom under dependencyManagement
>
>If I add jersey-core to the dependencies of the intg project, it will compile.
>What am I missing here?
>
>Thx
>Peter Gergo Barna


compilation error in master

2017-11-30 Thread Peter Gergo Barna
Hi,
I get compilation errors while building the master branch


[ERROR] COMPILATION ERROR :

[INFO] -

[ERROR] 
/Users/pbarna/Desktop/apache-source/atlas/intg/src/main/java/org/apache/atlas/model/SearchFilter.java:[20,32]
 package com.sun.jersey.core.util does not exist

The jersey-core lib (v 1.19) is there in my local maven repo.

jersey-core is not present in the intg project pom.xml as a dependency.
It can only be found in the parent pom under dependencyManagement

If I add jersey-core to the dependencies of the intg project, it will compile.
What am I missing here?

Thx
Peter Gergo Barna


Review Request 62577: [ATLAS-2176] NegativeSSLAndKerberosTest failing due to error in initialization

2017-09-26 Thread Gergo Barna

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

Review request for atlas, Madhan Neethiraj and Nixon Rodrigues.


Repository: atlas


Description
---

ATLAS-2176 defending against NPE during initialization  
(AtlasTypeDefStoreInitializer.loadBootstrapTypeDefs)


Diffs
-

  
repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java
 a65ec3a9ead1ce2fa91232bc56e601b31ccf750e 


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


Testing
---


Thanks,

Gergo Barna



Re: Review Request 62566: [ATLAS-2172] Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Gergo Barna

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

(Updated szept. 26, 2017, 11:57 de)


Review request for atlas and Madhan Neethiraj.


Repository: atlas


Description
---

there was a missing setSearchFilter API call which is only present in the 
Spring Security API from version 3.2.6
https://docs.spring.io/spring-security/site/docs/3.2.6.RELEASE/apidocs/org/springframework/security/ldap/authentication/ad/ActiveDirectoryLdapAuthenticationProvider.html


Diffs (updated)
-

  
webapp/src/main/java/org/apache/atlas/web/security/AtlasADAuthenticationProvider.java
 b123c52d065abea5c21f8a430c7ef8f830bc04a6 
  webapp/src/main/webapp/WEB-INF/applicationContext.xml 
aae2aa0116000d030070192249c930af35e84f0e 


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

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


Testing
---


File Attachments


ATLAS-2172.rbt.diff
  
https://reviews.apache.org/media/uploaded/files/2017/09/26/b94020c8-e019-452d-99b2-104115a19546__ATLAS-2172.rbt.diff


Thanks,

Gergo Barna



Review Request 62566: [ATLAS-2172] Atlas AD search filter is not get honored when logging into Atlas UI

2017-09-26 Thread Gergo Barna

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

Review request for atlas.


Repository: atlas


Description
---

there was a missing setSearchFilter API call which is only present in the 
Spring Security API from version 3.2.6
https://docs.spring.io/spring-security/site/docs/3.2.6.RELEASE/apidocs/org/springframework/security/ldap/authentication/ad/ActiveDirectoryLdapAuthenticationProvider.html


Diffs
-

  
webapp/src/main/java/org/apache/atlas/web/security/AtlasADAuthenticationProvider.java
 b123c52d065abea5c21f8a430c7ef8f830bc04a6 
  webapp/src/main/webapp/WEB-INF/applicationContext.xml 
aae2aa0116000d030070192249c930af35e84f0e 


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


Testing
---


File Attachments


ATLAS-2172.rbt.diff
  
https://reviews.apache.org/media/uploaded/files/2017/09/26/b94020c8-e019-452d-99b2-104115a19546__ATLAS-2172.rbt.diff


Thanks,

Gergo Barna



Is this a valid issue? ATLAS-1903

2017-07-28 Thread Peter Gergo Barna
Hi all,
I have noticed while testing in my local env, that after Solr is stopped, Atlas 
still returns HTTP 200 OK for a type update,
although, the update was not successful, and from the logs it can be seen that 
the problem is Solr being unavailable.

I have created a JIRA issue about it: 
https://issues.apache.org/jira/browse/ATLAS-1903
My question is, is this a valid issue, I mean is this a realistic scenario in a 
prod env?
If it is, then I shell make an attempt to fix it.

Thanks,
Peter Gergo Barna


Can be tags inherited?

2017-07-12 Thread Peter Gergo Barna
Hi All,
I have a question about the possibility of Atlas automatically apply tags based 
on lineage relations.

Let's suppose we have a hive table tagged as 'secret'.
Can we have Atlas automatically apply this tag on all entities derived form 
this table, e.g. all views selecting from this table?
Kind Regards
Gergo Barna