phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ethan <>
Subject Re: Error upgrading from from 4.7.x to 4.13.x
Date Sun, 17 Dec 2017 23:49:35 GMT
System.mutex should come with Phoenix, so you should have it even though sometimes doesn't
show up. To truncate that table you may try delete statement in sqline.

On December 17, 2017 at 3:14:58 PM, Flavio Pompermaier ( wrote:

I did a hbase shell list and there'no mutex table.
I have only catalog, function, sequence, stats

On 18 Dec 2017 00:12, "Pedro Boado" <> wrote:
I think you may have it - phoenix-sqlline doesn't show it when you do a !tables - 

Do a list in HBase shell and/or scan it to check whether it's there.

On 17 Dec 2017 22:28, "Flavio Pompermaier" <> wrote:
The problem is that I don't have that can I create it from HBase shell?

On Sun, Dec 17, 2017 at 11:24 PM, Pedro Boado <> wrote:
You can do that through the hbase shell doing a

hbase(main):011:0> truncate 'SYSTEM.MUTEX'

On 17 December 2017 at 22:01, Flavio Pompermaier <> wrote:
I've got Phoenix 4.13 both on client and server side..How can I truncate Mutex table? I don't
have any..

On Sun, Dec 17, 2017 at 10:29 PM, Ethan <> wrote:
Hi Flavio,

What is your server side Phoenix jar version and client side Phoenix version, note that server
side has to have a higher version than client side.

Another note, I got a similar issue the other day. I solved it by truncate system Mutex table.
Hope it helps yours too.


On December 16, 2017 at 3:23:47 PM, Flavio Pompermaier ( wrote:

Hi to all, 
I've recently updated my Cloudera + Phoenix from CDH 5.9 + 4.7 to CDH 5.11.2 + 4.13 but now
I can't connect with Phoenix anymore. When I run phoenix-sqlline.sql I get:

WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using
builtin-java classes where applicable
Error: Cluster is being concurrently upgraded from 4.7.x to 4.13.x. Please retry establishing
connection. (state=INT12,code=2010)
org.apache.phoenix.exception.UpgradeInProgressException: Cluster is being concurrently upgraded
from 4.7.x to 4.13.x. Please retry establishing connection.
at org.apache.phoenix.query.ConnectionQueryServicesImpl.acquireUpgradeMutex(
at org.apache.phoenix.query.ConnectionQueryServicesImpl.upgradeSystemTables(
at org.apache.phoenix.query.ConnectionQueryServicesImpl$
at org.apache.phoenix.query.ConnectionQueryServicesImpl$
at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(
at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(
at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(
at org.apache.phoenix.jdbc.PhoenixDriver.connect(
at sqlline.DatabaseConnection.connect(
at sqlline.DatabaseConnection.getConnection(
at sqlline.Commands.connect(
at sqlline.Commands.connect(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at sqlline.ReflectiveCommandHandler.execute(
at sqlline.SqlLine.dispatch(
at sqlline.SqlLine.initArgs(
at sqlline.SqlLine.begin(
at sqlline.SqlLine.start(
at sqlline.SqlLine.main(
sqlline version 1.2.0

How can I repair my installation? I can't find any log nor anything strange in the SYSTEM.CATALOG
HBase table..

Thanks in advance,

Flavio Pompermaier
Development Department

OKKAM S.r.l.
Tel. +(39) 0461 041809

Un saludo.
Pedro Boado.

Flavio Pompermaier
Development Department

OKKAM S.r.l.
Tel. +(39) 0461 041809

View raw message