HDFS-14016. [SBN read] ObserverReadProxyProvider should enable observer read by default. Contributed by Chen Liang.
This commit is contained in:
parent
8c49135078
commit
1a9ba9616a
@ -141,6 +141,8 @@ public ObserverReadProxyProvider(
|
|||||||
ObserverReadInvocationHandler.class.getClassLoader(),
|
ObserverReadInvocationHandler.class.getClassLoader(),
|
||||||
new Class<?>[] { xface }, new ObserverReadInvocationHandler());
|
new Class<?>[] { xface }, new ObserverReadInvocationHandler());
|
||||||
combinedProxy = new ProxyInfo<>(wrappedProxy, combinedInfo.toString());
|
combinedProxy = new ProxyInfo<>(wrappedProxy, combinedInfo.toString());
|
||||||
|
// TODO : make this configurable or remove this variable
|
||||||
|
this.observerReadEnabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public AlignmentContext getAlignmentContext() {
|
public AlignmentContext getAlignmentContext() {
|
||||||
|
Loading…
Reference in New Issue
Block a user