gxh1968 发表于 2018-10-21 14:26:45

spark 启动thrift server 支持 jdbc连接

  在 ./conf下 创建 hive-site.xml
  添加:
  
  
  hive.metastore.client.connect.retry.delay
  5
  
  
  hive.metastore.client.socket.timeout
  1800
  
  
  hive.metastore.connect.retries
  24
  
  
  hive.metastore.uris
  thrift://hq001.gotop.com:9083
  
  
  hive.server2.thrift.port
  10015
  
  
  hive.server2.transport.mode
  binary
  
  
  说明:hive.metastore.uris为hive的元数据获取地址
  10015为jdbc连接spark的端口

页: [1]
查看完整版本: spark 启动thrift server 支持 jdbc连接