Why does this error occur when using Trino to connect to Phoenix - apache-phoenix

enter image description here
I used dbeaver to connect to Trino of Phoenix, and there was such an error
Could not load/instantiate class org.apache.phoenix.query.DefaultGuidePostsCacheFactory
this my configuration
hbase version 2.3.4
phoenix version 5.1
trino version 353
phoenix5 jar phoenix-client-embedded-hbase-2.3-5.1.0.jar

Related

dj-stripe referencing a non-existent migration

I have a django model where I have a OneToOneField to djstripe's Customer. When I run makemigrations a migration is created with the following dependency:
dependencies = [ ('djstripe', '0011_alter_invoice_charge_alter_invoice_customer_and_more'), ('users', '0007_rename_username), ]
Everything seems to be okay locally, but then when I deploy my code it fails with the following error:
django.db.migrations.exceptions.NodeNotFoundError: Migration users.0008_stripecustomer dependencies reference nonexistent parent node ('djstripe', '0011_alter_invoice_charge_alter_invoice_customer_and_more')
Our pipeline does not run makemigrations, only migrate, so this seems a little weird that a djstripe migration is created when I run makemigrations locally but then I cannot use it in deployment. Plus, such migration does not exist in djstripe GitHub repository.
dj-stripe version: 2.6.1
Python version: 3.9
Django version: 4.0.1
Stripe API version: 2.68.0
Database type and version: postgres 12.9
It's an known bug in v. 4 - https://github.com/dj-stripe/dj-stripe/issues/1649#issuecomment-1117774629
To solve it you'd have to downgrade django to 3.x.x. They should fix it in the next update as well.

error when importing a 7.0 liferay Lar file to Liferay 7.4

I have two liferay 7.0 and 7.4,
I did upgrade the from version 7.0 to 7.4 however when I am trying to import my old structures and templates I get an error message :
LAR schema version 1.0.0 does not match deployed export/import schema version 4.0.0.
Anyone knows about that

Confluent Replicator 5.1.2: Class io.confluent.connect.replicator.util.ByteArrayConverter could not be found

While deploying confluent-replicator with 5.1.2 version its throwing below error :
org.apache.kafka.common.config.ConfigException: Invalid value io.confluent.connect.replicator.util.ByteArrayConverter for configuration key.converter: Class io.confluent.connect.replicator.util.ByteArrayConverter could not be found.
Using confluent version 5.1.2 and replicator image as: docker pull confluentinc/cp-enterprise-replicator:5.1.2
Same works fine if i use docker pull confluentinc/cp-enterprise-replicator:3.3.1
I tried 3.3.1 version it works but it doesn't work with 5.1.2 and 5.2.1
docker pull confluentinc/cp-enterprise-replicator
Ideally plugin for Bytarrayconverter should get added with 5.1.2 version but its not getting added

Serilog.Sinks.PostgreSQL is not working along with Npgsql package version 4.0.0

In my ASP.Net Core application, a Serilog.Sinks.PostgreSQL sink works fine along with Npgsql package version lower then 4.0.0, but it does not work along with Npgsql package version 4.0.0.
Along with Npgsql package version 4.0.0 it does not save log events into the database nor throw any exceptions into the SelfLog.
Have you got a same experience? Thanks.

Not able to load data from postgresql to hdfs using tSqoopImport

I am using talend big data version 6.5.1 (has Java 8) and cloudera quickstart CDH 5.12 (has java 7).
I am tryiing to load table 'employees' from postgresql to hdfs using talend tSqoopImport component.
But I am getting error
Error employees : Unsupported major.minor version 52.0
Need help
This issue belongs to JAVA version.
You have used different java version java 7 and 8.
Try it with same java 7.
Issue will be resolved.
For your reference.
Unsupported major.minor version 52.0