Re: What's master key in hive metastore?
Many thanks, Alan On Tue, May 5, 2020 at 1:01 AM Alan Gates wrote: > It is used in storing delegation tokens, which HS2 and the megastore need > to act on the user's behalf when reading files, launching jobs, etc. See > DelegationTokenStore. > > Alan. > > On Mon, May 4, 2020 at 2:00 AM Xi Chen wrote: > > > Dear all, > > > > I find several APIs about master key in hive metastore and > > IMetastoreClient. I searched around but didn't find any usage in hive DDL > > tasks. Any idea where this master key is designed for? > > > > Thanks in advance, > > bargitta > > > > int addMasterKey(String key) throws MetaException, TException; > > > > void updateMasterKey(Integer seqNo, String key) > > throws NoSuchObjectException, MetaException, TException; > > > > boolean removeMasterKey(Integer keySeq) throws TException; > > > > String[] getMasterKeys() throws TException; > > >
Re: What's master key in hive metastore?
It is used in storing delegation tokens, which HS2 and the megastore need to act on the user's behalf when reading files, launching jobs, etc. See DelegationTokenStore. Alan. On Mon, May 4, 2020 at 2:00 AM Xi Chen wrote: > Dear all, > > I find several APIs about master key in hive metastore and > IMetastoreClient. I searched around but didn't find any usage in hive DDL > tasks. Any idea where this master key is designed for? > > Thanks in advance, > bargitta > > int addMasterKey(String key) throws MetaException, TException; > > void updateMasterKey(Integer seqNo, String key) > throws NoSuchObjectException, MetaException, TException; > > boolean removeMasterKey(Integer keySeq) throws TException; > > String[] getMasterKeys() throws TException; >
What's master key in hive metastore?
Dear all, I find several APIs about master key in hive metastore and IMetastoreClient. I searched around but didn't find any usage in hive DDL tasks. Any idea where this master key is designed for? Thanks in advance, bargitta int addMasterKey(String key) throws MetaException, TException; void updateMasterKey(Integer seqNo, String key) throws NoSuchObjectException, MetaException, TException; boolean removeMasterKey(Integer keySeq) throws TException; String[] getMasterKeys() throws TException;