Support Questions

Find answers, ask questions, and share your expertise

Upgrading Phoenix on HDP 2.6 to phoenix version 4.14

I have downloaded the phoenix jar compatible to HBase1.1 (as available in HDP 2.6) and followed the steps in Apache Phoenix site to upgrade.

But, now if I try to launch sqlline.py, I am getting the below error.

[root@sandbox-hdp bin]# ./sqlline-thin.py 127.0.0.1:2181:/hbase-unsecure
Traceback (most recent call last):
  File "./sqlline-thin.py", line 53, in <module>
    phoenix_utils.common_sqlline_args(parser)
AttributeError: 'module' object has no attribute 'common_sqlline_args'

Has anyone tried upgrading phoenix on HDP ?

1 REPLY 1

@Tanmoy

It is not recommended to upgrade the individual services by replacing the jars. I don't think jar replacement is alone enough. Looking at the trace it looks like the python scripts got changed. You can try updating the bin files "/usr/hdp/current/phoenix-client/bin/" (phoenix_utils.py file must have updated in Phoenix4.14) with the 4.14 ones from apache and see if that works.

P.S: Even if the above works, I don't recommend using this setup as we don't know what other issue you might encounter in future. If you want to move to newer version of phoenix do upgrade to HDP3.0 where you can use Phoenix 5.0.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.