[jira] [Updated] (HIVE-10093) Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2
[ https://issues.apache.org/jira/browse/HIVE-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-10093: Attachment: (was: HIVE-10093.patch) > Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2 > - > > Key: HIVE-10093 > URL: https://issues.apache.org/jira/browse/HIVE-10093 > Project: Hive > Issue Type: Bug >Reporter: Szehon Ho >Assignee: Aihua Xu >Priority: Minor > Fix For: 1.2.0 > > Attachments: HIVE-10093.patch > > > When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler > unnecessarily right before the call to: > HadoopThriftAuthBridge.startDelegationTokenSecretManager(). If the > DelegationTokenStore is configured to be a memoryTokenStore, this step is not > needed. > Side effect is creation of useless derby database file on HiveServer2 in > secure clusters, causing confusion. This could potentially be skipped if > MemoryTokenStore is used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10093) Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2
[ https://issues.apache.org/jira/browse/HIVE-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-10093: Attachment: HIVE-10093.patch > Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2 > - > > Key: HIVE-10093 > URL: https://issues.apache.org/jira/browse/HIVE-10093 > Project: Hive > Issue Type: Bug >Reporter: Szehon Ho >Assignee: Aihua Xu >Priority: Minor > Attachments: HIVE-10093.patch, HIVE-10093.patch > > > When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler > unnecessarily right before the call to: > HadoopThriftAuthBridge.startDelegationTokenSecretManager(). If the > DelegationTokenStore is configured to be a memoryTokenStore, this step is not > needed. > Side effect is creation of useless derby database file on HiveServer2 in > secure clusters, causing confusion. This could potentially be skipped if > MemoryTokenStore is used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10093) Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2
[ https://issues.apache.org/jira/browse/HIVE-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-10093: Attachment: HIVE-10093.patch Address comments. > Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2 > - > > Key: HIVE-10093 > URL: https://issues.apache.org/jira/browse/HIVE-10093 > Project: Hive > Issue Type: Bug >Reporter: Szehon Ho >Assignee: Aihua Xu >Priority: Minor > Attachments: HIVE-10093.patch > > > When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler > unnecessarily right before the call to: > HadoopThriftAuthBridge.startDelegationTokenSecretManager(). If the > DelegationTokenStore is configured to be a memoryTokenStore, this step is not > needed. > Side effect is creation of useless derby database file on HiveServer2 in > secure clusters, causing confusion. This could potentially be skipped if > MemoryTokenStore is used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10093) Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2
[ https://issues.apache.org/jira/browse/HIVE-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-10093: Attachment: (was: HIVE-10093.patch) > Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2 > - > > Key: HIVE-10093 > URL: https://issues.apache.org/jira/browse/HIVE-10093 > Project: Hive > Issue Type: Bug >Reporter: Szehon Ho >Assignee: Aihua Xu >Priority: Minor > Attachments: HIVE-10093.patch > > > When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler > unnecessarily right before the call to: > HadoopThriftAuthBridge.startDelegationTokenSecretManager(). If the > DelegationTokenStore is configured to be a memoryTokenStore, this step is not > needed. > Side effect is creation of useless derby database file on HiveServer2 in > secure clusters, causing confusion. This could potentially be skipped if > MemoryTokenStore is used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10093) Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2
[ https://issues.apache.org/jira/browse/HIVE-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-10093: Attachment: HIVE-10093.patch Only create hmsHandler when DBTokenStore is used. > Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2 > - > > Key: HIVE-10093 > URL: https://issues.apache.org/jira/browse/HIVE-10093 > Project: Hive > Issue Type: Bug >Reporter: Szehon Ho >Assignee: Aihua Xu >Priority: Minor > Attachments: HIVE-10093.patch > > > When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler > unnecessarily right before the call to: > HadoopThriftAuthBridge.startDelegationTokenSecretManager(). If the > DelegationTokenStore is configured to be a memoryTokenStore, this step is not > needed. > Side effect is creation of useless derby database file on HiveServer2 in > secure clusters, causing confusion. This could potentially be skipped if > MemoryTokenStore is used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10093) Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2
[ https://issues.apache.org/jira/browse/HIVE-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szehon Ho updated HIVE-10093: - Description: When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler unnecessarily right before the call to: HadoopThriftAuthBridge.startDelegationTokenSecretManager(). If the DelegationTokenStore is configured to be a memoryTokenStore, this step is not needed. Side effect is creation of useless derby database file on HiveServer2 in secure clusters, causing confusion. This could potentially be skipped if MemoryTokenStore is used. was: When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler unnecessarily right before the call to: HadoopThriftAuthBridge.startDelegationTokenSecretManager(). If the DelegationTokenStore is configured to be a memoryTokenStore, this step is not needed. Side effect is creation of useless derby database file on HS2, causing confusion. This could potentially be skipped if MemoryTokenStore is used. > Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2 > - > > Key: HIVE-10093 > URL: https://issues.apache.org/jira/browse/HIVE-10093 > Project: Hive > Issue Type: Bug >Reporter: Szehon Ho >Priority: Minor > > When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler > unnecessarily right before the call to: > HadoopThriftAuthBridge.startDelegationTokenSecretManager(). If the > DelegationTokenStore is configured to be a memoryTokenStore, this step is not > needed. > Side effect is creation of useless derby database file on HiveServer2 in > secure clusters, causing confusion. This could potentially be skipped if > MemoryTokenStore is used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)