ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Albani <felix.alb...@gmail.com>
Subject Re: Review Request 67117: RANGER-2078
Date Fri, 25 May 2018 17:06:12 GMT


> On May 14, 2018, 8:33 p.m., Zsombor Gegesy wrote:
> > tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSynchronizer.java
> > Lines 315 (patched)
> > <https://reviews.apache.org/r/67117/diff/1/?file=2022153#file2022153line318>
> >
> >     getTagSourceFromConfig(...) will create a new TagSource object. Why don't you
put the original 'tagSourceToStop' into the 'failedTagSources' list?

I think is safer to create a new object. I'm thinking perhaps state of failed object may cause
unknown issues (correct me if I'm wrong)


- Felix


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


On May 14, 2018, 8:10 p.m., Felix Albani wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/67117/
> -----------------------------------------------------------
> 
> (Updated May 14, 2018, 8:10 p.m.)
> 
> 
> Review request for ranger.
> 
> 
> Bugs: RANGER-2078
>     https://issues.apache.org/jira/browse/RANGER-2078
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RANGER-2078
> 
> 
> Diffs
> -----
> 
>   tagsync/src/main/java/org/apache/ranger/tagsync/model/AbstractTagSource.java da4c5cbd3

>   tagsync/src/main/java/org/apache/ranger/tagsync/model/TagSink.java b5dcc7526 
>   tagsync/src/main/java/org/apache/ranger/tagsync/model/TagSource.java eb7981411 
>   tagsync/src/main/java/org/apache/ranger/tagsync/model/TagSyncThreadListener.java PRE-CREATION

>   tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSyncConfig.java 6d27b02cd

>   tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSynchronizer.java 49ff76fb2

>   tagsync/src/main/java/org/apache/ranger/tagsync/sink/tagadmin/TagAdminRESTSink.java
331f783db 
>   tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasTagSource.java ea4c20cc5

>   tagsync/src/main/java/org/apache/ranger/tagsync/source/atlasrest/AtlasRESTTagSource.java
2b4a668b8 
>   tagsync/src/main/java/org/apache/ranger/tagsync/source/file/FileTagSource.java f0a3fd003

> 
> 
> Diff: https://reviews.apache.org/r/67117/diff/1/
> 
> 
> Testing
> -------
> 
> Only been tested in local cluster. Haven't created tests for this as I'm not sure how
to simulate a RuntimeException.
> 
> 
> Thanks,
> 
> Felix Albani
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message