V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
NeverBelieveMe
V2EX  ›  Python

请教一下 Python 连接 hive、impala 的问题

  •  
  •   NeverBelieveMe · 2017-06-20 09:13:02 +08:00 · 3013 次点击
    这是一个创建于 2517 天前的主题,其中的信息可能已经有所发展或是发生改变。
    连接 hive 的时候,尝试了 pyhs2、pyhive,但是都是 Segmentation fault (core dumped),也不是很清楚是什么原因,也不知道怎么解决。impala 的话,没有这个问题,但是总是连接不上。有没有大神有这方面的经验给讲讲。
    7 条回复    2017-06-30 10:56:13 +08:00
    Morriaty
        1
    Morriaty  
       2017-06-20 09:49:39 +08:00
    你安装这些库的时候没报错?

    py 什么版本的?重新安装个 python 试试
    NeverBelieveMe
        2
    NeverBelieveMe  
    OP
       2017-06-20 10:03:59 +08:00
    @Morriaty 安装的时候都没有错,python 的版本是 3,还是说 2 的支持更好?
    liprais
        3
    liprais  
       2017-06-20 10:09:15 +08:00
    把报错的 backtrace 贴出来
    NeverBelieveMe
        4
    NeverBelieveMe  
    OP
       2017-06-20 10:35:48 +08:00
    @liprais 不知道 backtrace 是什么。。。。
    wyntergreg
        5
    wyntergreg  
       2017-06-20 11:44:32 +08:00
    是 traceback 不是 backtrace
    @NeverBelieveMe
    omygod
        6
    omygod  
       2017-06-27 19:16:11 +08:00
    开发这个最好别用 windows
    NeverBelieveMe
        7
    NeverBelieveMe  
    OP
       2017-06-30 10:56:13 +08:00
    @omygod 并没有用 windows
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5341 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:42 · PVG 11:42 · LAX 20:42 · JFK 23:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.