> On Dec. 14, 2015, 8:44 a.m., pavan kumar kolamuri wrote:
> > scheduler/src/main/java/org/apache/falcon/execution/NotificationHandler.java,
> >  line 32
> > <https://reviews.apache.org/r/41203/diff/2/?file=1159977#file1159977line32>
> >
> >     Just curious 0,3,5 are given so that to add more priorities right ? 
> > Then i feel 0,5,10 might be better to accomodate more priorities
> 
> Pallavi Rao wrote:
>     <p>No particular reason :-). It could be 3,2,1 or 300, 250, 100. As long 
> as high has highest number and the number goes down with priority it is fine. 
> If and when we want more priorities, we can always change the numbers.</p>

During migration we have seen issues because of changing numbers in enum. As 
long as it is taken care no issues.


> On Dec. 14, 2015, 8:44 a.m., pavan kumar kolamuri wrote:
> > scheduler/src/main/java/org/apache/falcon/notification/service/impl/SchedulerService.java,
> >  line 206
> > <https://reviews.apache.org/r/41203/diff/2/?file=1159979#file1159979line206>
> >
> >     Will synchronization hold when get is directly used  even though it is 
> > in synchronized block ? It should be accessed through iterator right ?
> 
> Pallavi Rao wrote:
>     Locks are reentrant and since the block is synchronized on the instances, 
> the thread will own lock for get and put too. So, no issues there.

ok, Thanks !!


- pavan kumar


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


On Dec. 11, 2015, 9:24 a.m., Pallavi Rao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41203/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2015, 9:24 a.m.)
> 
> 
> Review request for Falcon.
> 
> 
> Bugs: FALCON-1572
>     https://issues.apache.org/jira/browse/FALCON-1572
> 
> 
> Repository: falcon-git
> 
> 
> Description
> -------
> 
> Wrong Datastructure was used to load and store into cache.
> 
> 
> Diffs
> -----
> 
>   scheduler/pom.xml 336997d 
>   scheduler/src/main/java/org/apache/falcon/execution/EntityExecutor.java 
> 88d88c1 
>   scheduler/src/main/java/org/apache/falcon/execution/ExecutionInstance.java 
> 5f96d3f 
>   
> scheduler/src/main/java/org/apache/falcon/execution/FalconExecutionService.java
>  b6741a4 
>   
> scheduler/src/main/java/org/apache/falcon/execution/NotificationHandler.java 
> b071f5f 
>   
> scheduler/src/main/java/org/apache/falcon/notification/service/impl/JobCompletionService.java
>  23f2b4e 
>   
> scheduler/src/main/java/org/apache/falcon/notification/service/impl/SchedulerService.java
>  ace8444 
>   
> scheduler/src/test/java/org/apache/falcon/notification/service/SchedulerServiceTest.java
>  c43ccf0 
> 
> Diff: https://reviews.apache.org/r/41203/diff/
> 
> 
> Testing
> -------
> 
> Manual testing done. Once ITs are checked in, will add a test case for this 
> too.
> 
> 
> Thanks,
> 
> Pallavi Rao
> 
>

Reply via email to