报错如下
[root@xxx bin]# phoenix-sqlline.py xxx.xxx.xxx:2181:/hbase
Traceback (most recent call last):File "/opt/cloudera/parcels/APACHE_PHOENIX-4.14.0-cdh5.13.2.p0.3/bin/../lib/phoenix/bin/sqlline.py", line 25, in <module>import phoenix_utilsFile "/opt/cloudera/parcels/APACHE_PHOENIX-4.14.0-cdh5.13.2.p0.3/lib/phoenix/bin/phoenix_utils.py", line 208print "phoenix_class_path:", phoenix_class_path^
SyntaxError: Missing parentheses in call to 'print'
发现语法不支持,发现该服务器python版本为 3.6 ,修改python为2.x 可以连接