Review Board 1.7.22


HIVE-4356 - remove duplicate impersonation parameters for hiveserver2

Review Request #10554 - Created April 16, 2013 and updated

Thejas Nair
HIVE-4356
Reviewers
hive
hive-git
remove duplicate impersonation parameters for hiveserver2
Unit tests included.
Manually tested on (kerberos) secure and unsecure cluster.
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
Revision 78d9cc9 New Change
[20] 719 lines
[+20] [+] public class HiveConf extends Configuration {
720
    HIVE_SERVER2_AUTHENTICATION("hive.server2.authentication", "NONE"),
720
    HIVE_SERVER2_AUTHENTICATION("hive.server2.authentication", "NONE"),
721
    HIVE_SERVER2_KERBEROS_KEYTAB("hive.server2.authentication.kerberos.keytab", ""),
721
    HIVE_SERVER2_KERBEROS_KEYTAB("hive.server2.authentication.kerberos.keytab", ""),
722
    HIVE_SERVER2_KERBEROS_PRINCIPAL("hive.server2.authentication.kerberos.principal", ""),
722
    HIVE_SERVER2_KERBEROS_PRINCIPAL("hive.server2.authentication.kerberos.principal", ""),
723
    HIVE_SERVER2_PLAIN_LDAP_URL("hive.server2.authentication.ldap.url", null),
723
    HIVE_SERVER2_PLAIN_LDAP_URL("hive.server2.authentication.ldap.url", null),
724
    HIVE_SERVER2_PLAIN_LDAP_BASEDN("hive.server2.authentication.ldap.baseDN", null),
724
    HIVE_SERVER2_PLAIN_LDAP_BASEDN("hive.server2.authentication.ldap.baseDN", null),
725
    HIVE_SERVER2_KERBEROS_IMPERSONATION("hive.server2.enable.impersonation", false),

   
726
    HIVE_SERVER2_CUSTOM_AUTHENTICATION_CLASS("hive.server2.custom.authentication.class", null),
725
    HIVE_SERVER2_CUSTOM_AUTHENTICATION_CLASS("hive.server2.custom.authentication.class", null),

    
   
726
    HIVE_SERVER2_ENABLE_DOAS("hive.server2.enable.doAs", true),
727

    
   
727

   
728
    HIVE_CONF_RESTRICTED_LIST("hive.conf.restricted.list", null),
728
    HIVE_CONF_RESTRICTED_LIST("hive.conf.restricted.list", null),
729

    
   
729

   
730
    // If this is set all move tasks at the end of a multi-insert query will only begin once all
730
    // If this is set all move tasks at the end of a multi-insert query will only begin once all
731
    // outputs are ready
731
    // outputs are ready
[+20] [20] 508 lines
conf/hive-default.xml.template
Revision e266ce7 New Change
 
service/src/java/org/apache/hive/service/auth/PlainSaslHelper.java
Revision 18d4aae New Change
 
service/src/java/org/apache/hive/service/cli/CLIService.java
Revision b53599b New Change
 
service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java
Revision 43d79aa New Change
 
service/src/test/org/apache/hive/service/auth/TestPlainSaslHelper.java
New File
 
service/src/test/org/apache/hive/service/cli/thrift/TestThriftCLIService.java
New File
 
  1. common/src/java/org/apache/hadoop/hive/conf/HiveConf.java: Loading...
  2. conf/hive-default.xml.template: Loading...
  3. service/src/java/org/apache/hive/service/auth/PlainSaslHelper.java: Loading...
  4. service/src/java/org/apache/hive/service/cli/CLIService.java: Loading...
  5. service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java: Loading...
  6. service/src/test/org/apache/hive/service/auth/TestPlainSaslHelper.java: Loading...
  7. service/src/test/org/apache/hive/service/cli/thrift/TestThriftCLIService.java: Loading...