gtchaos opened a new pull request, #9512:
URL: https://github.com/apache/incubator-doris/pull/9512

   # Proposed changes
   
   Issue Number: close #9511
   
   ## Problem Summary:
   
   At present, Doris can only access the hadoop cluster with kerberos 
authentication enabled by broker. Hope Doris BE itself supports access to a 
kerberos-authenticated HDFS rather than broker.
   
   When create hive external table, users only specify some properties when 
creating hive table, as follows:
   
   CREATE EXTERNAL TABLE `t_hive` (
     `k1` int NOT NULL COMMENT "",
     `k2` char(10) NOT NULL COMMENT "",
     `k3` datetime NOT NULL COMMENT "",
     `k5` varchar(20) NOT NULL COMMENT "",
     `k6` double NOT NULL COMMENT ""
   ) ENGINE=HIVE
   COMMENT "HIVE"
   PROPERTIES (
   'hive.metastore.uris' = 'thrift://192.168.0.1:9083',
   'database' = 'hive_db',
   'table' = 'hive_table',
   'dfs.nameservices'='hacluster',
   'dfs.ha.namenodes.hacluster'='3,4',
   'dfs.namenode.rpc-address.hacluster.3'='192.168.0.93:8020',
   'dfs.namenode.rpc-address.hacluster.4'='172.21.16.11:8020',
   
'dfs.client.failover.proxy.provider.hacluster'='org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider',
   'dfs.namenode.kerberos.principal'='hadoop/[email protected]'
   'hadoop.security.authentication'='kerberos',
   'hadoop.kerberos.principal'='[email protected]',
   'hadoop.kerberos.keytab'='/path/to/doris_test.keytab'
   );
   
    
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes/No/I Don't know)
   2. Has unit tests been added: (Yes/No/No Need)
   3. Has document been added or modified: (Yes/No/No Need)
   4. Does it need to update dependencies: (Yes/No)
   5. Are there any changes that cannot be rolled back: (Yes/No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to