|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.thrift.TBaseProcessor<I>
com.facebook.fb303.FacebookService.Processor<I>
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Processor<ThriftHiveMetastore.Iface>
org.apache.hadoop.hive.metastore.TSetIpAddressProcessor<ThriftHiveMetastore.Iface>
org.apache.hadoop.hive.metastore.TUGIBasedProcessor<I>
public class TUGIBasedProcessor<I extends ThriftHiveMetastore.Iface>
TUGIBasedProcessor is used in unsecure mode for thrift metastore client server communication. This processor checks whether the first rpc call after connection is set up is set_ugi() through which client sends ugi to server. Processor then perform all subsequent rpcs on the connection using ugi.doAs() so all actions are performed in client user context. Note that old clients will never call set_ugi() and thus ugi will never be received on server side, in which case server exhibits previous behavior and continues as usual.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.facebook.fb303.FacebookService.Processor |
---|
com.facebook.fb303.FacebookService.Processor.aliveSince<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getCounter<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getCounters<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getCpuProfile<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getName<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getOption<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getOptions<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getStatus<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getStatusDetails<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.getVersion<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.reinitialize<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.setOption<I extends com.facebook.fb303.FacebookService.Iface>, com.facebook.fb303.FacebookService.Processor.shutdown<I extends com.facebook.fb303.FacebookService.Iface> |
Constructor Summary | |
---|---|
TUGIBasedProcessor(I iface)
|
Method Summary | |
---|---|
boolean |
process(org.apache.thrift.protocol.TProtocol in,
org.apache.thrift.protocol.TProtocol out)
|
protected void |
setIpAddress(org.apache.thrift.protocol.TProtocol in)
|
Methods inherited from class org.apache.hadoop.hive.metastore.TSetIpAddressProcessor |
---|
setIpAddress |
Methods inherited from class org.apache.thrift.TBaseProcessor |
---|
getProcessMapView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TUGIBasedProcessor(I iface) throws SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException, NoSuchMethodException, InvocationTargetException
SecurityException
NoSuchFieldException
IllegalArgumentException
IllegalAccessException
NoSuchMethodException
InvocationTargetException
Method Detail |
---|
public boolean process(org.apache.thrift.protocol.TProtocol in, org.apache.thrift.protocol.TProtocol out) throws org.apache.thrift.TException
process
in interface org.apache.thrift.TProcessor
process
in class TSetIpAddressProcessor<ThriftHiveMetastore.Iface>
org.apache.thrift.TException
protected void setIpAddress(org.apache.thrift.protocol.TProtocol in)
setIpAddress
in class TSetIpAddressProcessor<ThriftHiveMetastore.Iface>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |