无法使用python phoenixdb连接到phoenix
我正在尝试使用python插件“无法使用python phoenixdb连接到phoenix,python,curl,hbase,phoenix,Python,Curl,Hbase,Phoenix,我正在尝试使用python插件“phoenixdb”连接到phoenix 我正在与phoenix机器从同一网络上的服务器连接 这是我正在使用的代码 import phoenixdb import phoenixdb.cursor database_url = 'http://datanode4:2181' try: conn = phoenixdb.connect(database_url, autocommit=True,user='',password='') cursor
phoenixdb
”连接到phoenix
我正在与phoenix机器从同一网络上的服务器连接
这是我正在使用的代码
import phoenixdb
import phoenixdb.cursor
database_url = 'http://datanode4:2181'
try:
conn = phoenixdb.connect(database_url, autocommit=True,user='',password='')
cursor = conn.cursor()
cursor.execute("SELECT * FROM TESTTABLE")
except Exception as e:
print(e)
finally:
conn.close()
我得到以下错误
phoenixdb.errors.InterfaceError:(“RPC请求失败”,无,无,
RemoteDisconnected(“远程端关闭连接,无响应”)
即使当我尝试使用curl时,我也会从服务器上得到“空回复”
你们能帮帮我吗