与python2.7.10
在airflow
中遇到问题
似乎hiveserver2.py
有错误的包路径,因此它可以为newbytes
获得正确的路径
但我不知道如何解决这个问题
Traceback (most recent call last):
File "/usr/local/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/usr/local/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/usr/local/lib/python2.7/logging/__init__.py", line 472, in format
if self.usesTime():
File "/usr/local/lib/python2.7/logging/__init__.py", line 456, in usesTime
return self._fmt.find("%(asctime)") >= 0
File "/usr/local/lib/python2.7/site-packages/future/types/__init__.py", line 145, in wrapper
from .newbytes import newbytes
ImportError: No module named newbytes
Logged from file hiveserver2.py, line 292
第292行:hiveserver2.py
290 def close_operation(self):
291 if self._last_operation_active:
292 log.info('Closing active operation')
293 self._reset_state()
Finally I fixed this problem by changing
impyla
version: from0.16.0
to0.13.8
.
目前没有回答
相关问题 更多 >
编程相关推荐