以下是我尝试执行hive.Connection(主机名,端口,用户名)时出现的错误。
任何人都知道该错误的原因以及如何解决。我是python和hive连接以及hive配置方面的新手,
<?php
class Pages extends CI_Controller{
public function view(){
$data['title'] = 'Dashboard';
$this->load->view('admin/templates/header');
$this->load->view('admin/pages/dashboard',$data);
$this->load->view('admin/templates/footer');
}
}
在处理上述异常期间,发生了另一个异常:
回溯(最近通话最近一次):
failed to resolve sockaddr for mbbbdauatapp006.mbbuat.local:10000
Traceback (most recent call last):
File "/home/drdanialrusdi/anaconda3/lib/python3.7/site-packages/thrift-0.11.0-py3.7.egg/thrift/transport/TSocket.py", line 95, in open
addrs = self._resolveAddr()
File "/home/drdanialrusdi/anaconda3/lib/python3.7/site-packages/thrift-0.11.0-py3.7.egg/thrift/transport/TSocket.py", line 42, in _resolveAddr
socket.AI_PASSIVE | socket.AI_ADDRCONFIG)
File "/home/drdanialrusdi/anaconda3/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
Traceback (most recent call last):
File "/home/drdanialrusdi/anaconda3/lib/python3.7/site-packages/thrift-0.11.0-py3.7.egg/thrift/transport/TSocket.py", line 95, in open
addrs = self._resolveAddr()
File "/home/drdanialrusdi/anaconda3/lib/python3.7/site-packages/thrift-0.11.0-py3.7.egg/thrift/transport/TSocket.py", line 42, in _resolveAddr
socket.AI_PASSIVE | socket.AI_ADDRCONFIG)
File "/home/drdanialrusdi/anaconda3/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution