Known issues and limitations for Common core services
The following known issues and limitations apply to Common core services.
Known issues
- The watsonx.data Presto connector may return with an error when accessing data
- Delta Lake catalog can have columns with incorrect decimal precision
- Data from a Presto connection takes a long time to load
- Error for Oracle connections when running queries that contain user-defined data types (UDTs)
- CouchDB unexpectedly restarts in a non-FIPS environment
- Ingesting data to default or externally added buckets by using watsonx.data Presto connector might fail
- Appended data by the IBM watsonx.data connector may not be immediately visible when running queries using the Presto engine
- The
ccs-crcustom resource might get stuck inIn Progressstatus when Portworx storage is full
Limitations
Known issues
The watsonx.data Presto connector may return with an error when accessing data
Applies to: 5.2.0
The watsonx.data Presto connector may return the following error when using the Presto C++ engine to query data:
sortedCandidates is null or empty for ModularHashingNodeProvider
Workaround: Restart the Presto C++ engine worker pods.
Delta Lake catalog can have columns with incorrect decimal precision
Applies to: 5.2.0
When creating a Delta Lake table, you can set the decimal precision for the table too high and the write job will accept the precision value. However, when you try to read this table later, it will not be able to read it.
It might show the following error:
ERROR BrowsingService.getAssets: Unable to retrieve data: The assets request failed: CDICO9999E: Internal error occurred: SCAPI error: Columns could not be obtained: Executing query failed with error: presto: query failed (200 OK): "Illegal argument error: Invalid precision and scale combo (100, 0). They should be in the range [0, 38] and scale can not be more than the precision."
Workaround: Set the decimal precision value to be in the range of 0 to 38.
Data from a Presto connection takes a long time to load
Applies to: 5.2.0
Fixed in: 5.2.1
If you connect to data with the Presto connection, it might take a long time to preview the data or to load the data into a tool like Data Refinery. The wait time can be as long as 30 seconds to a minute or more.
Workaround: You can configure a direct connection to the data source federated in Presto.
Error for Oracle connections when running queries that contain user-defined data types (UDTs)
Applies to: 5.2.0
If you run an SQL query on a table or a view with columns that contain user-defined data types (UDTs), you might receive an error that contains this message:
[IBM][Oracle JDBC Driver]User defined type not found
The driver requires access to the metadata associated with the user-defined type (UDT) during the query execution. If you only have the SELECT privilege for the table, but you do not have the corresponding privilege for the UDT, the driver cannot access the UDT's metadata.
Workaround: Grant the necessary privilege to the UDT. For example:
GRANT EXEC ON TYPE::[schema].[typename] TO [User];
CouchDB unexpectedly restarts in a non-FIPS environment
Applies to: 5.2.0
When running a cluster with CouchDB in a non-FIPS environment, the CouchDB container may unexpectedly restart. For example:
$ oc get pod -l app=couchdb
NAME READY STATUS RESTARTS AGE
wdp-couchdb-0 2/2 Running 12 (4m34s ago) 16m
wdp-couchdb-1 2/2 Running 10 (1m15s ago) 16m
wdp-couchdb-2 2/2 Running 2 (4m29s ago) 17m
Workaround: To fix this issue, run the following steps:
- Access the namespace where IBM Knowledge Catalog is installed:
$ oc project ${PROJECT_CPD_INST_OPERANDS} - Update the
wdp-couchdbconfigmap to disableFIPS_mode, which is enabled by default:$ oc get configmap wdp-couchdb -o yaml | sed 's/fips_mode true/fips_mode false/' | oc apply -f - - Once the configmap is updated, conduct a rolling restart of the CouchDB pods:
$ oc rollout restart sts wdp-couchdb - After all the CouchDB pods have restarted, place the common core services into maintenance mode to avoid the restarting issue being brought back by CCS reconciling:
You may see warning messages like the following when the change is applied:$ oc patch ccs ccs-cr --type merge --patch '{"spec": {"ignoreForMaintenance": true}}'This is to be expected and can be ignored, as long as the$ oc get configmap wdp-couchdb -o yaml | sed 's/fips_mode false/fips_mode true/' | oc apply -f - Warning: resource configmaps/wdp-couchdb is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by oc apply. oc apply should only be used on resources created declaratively by either oc create --save-config or oc apply. The missing annotation will be patched automatically. configmap/wdp-couchdb configuredconfigmapwas successfully configured and you can see a message like the following at the end of the warning message:configmap/wdp-couchdb configured - You can confirm that the changes have been made by running the following command, to confirm that
fips_modehas been set tofalse:$ oc get configmap wdp-couchdb -o yaml |grep " -crypto fips_mode false" -crypto fips_mode false
Ingesting data to default or externally added buckets by using watsonx.data Presto connector might fail
Applies to: 5.2.0
Ingesting data into default buckets or externally added buckets by using the watsonx.data Presto connector with the data policies defined in watsonx.data might fail.
Workaround: Use File connectors to ingest data into storage associated in watsonx.data.
For example, you can use Generic S3 connector to ingest data into any S3 compliant storage in watsonx.data, like Amazon S3 storage or IBM Cloud Object Storage.
Appended data by the IBM watsonx.data connector may not be immediately visible when running queries using the Presto engine
Applies to: 5.2.0
When appending data to a table created using the Presto engine, the appended rows may not be immediately visible when running read queries. This is because the Presto engine caches the state of the tables every two minutes by default.
Workaround
Run the following to fix this issue:
- Modify the Presto config map on the OpenShift pod by running:
For example:oc edit cm <presto-config-map>oc edit cm ibm-lh-lakehouse-presto-01-presto-config-cm-blue - Delete the following properties from the Presto config map:
For example, the config map may show:hive.metastore-cache-scope=ALL hive.metastore-cache-ttl=10m hive.metastore-refresh-interval=2mLH_METASTORE_CACHE_ENABLED: "true" LH_METASTORE_CACHE_SCOPE: ALL LH_METASTORE_CACHE_TTL: 10m LH_METASTORE_REFRESH_INTERVAL: 2m
The ccs-cr custom resource might get stuck in In Progress status when Portworx storage is full
Applies to: 5.2.1 and later
If Portworx storage is full on all worker nodes for two hours or more, the ccs-cr custom resource can get stuck in In progress status. This is caused by the rabbitmq pods continuously restarting. However,
no obvious error is logged in the rabbitmq pod logs.
Workaround: Manually trigger recovery of the rabbitmq pods:
-
Scale down
rabbitmq-hastatefulset to 0 replicas:oc scale sts/rabbitmq-ha --replicas=0 -
Delete the
rabbitmq-haPVCs:oc delete pvc -l icpdsupport/module=rabbitmq-ha -
Scale up
rabbitmq-hastatefulset to 3 replicasoc scale sts/rabbitmq-ha --replicas=3
After the rabbitmq statefulset is up, the rabbitmq pods start successfully and the ccs-cr moves to the Completed status.
Limitations
IBM watsonx.data Presto connector can not write to S3 storage when using IAM role authentication
In watsonx.data you can connect to S3 storage using the IAM role authentication method. The watsonx.data Presto will not be able to write data to the catalog associated with that storage.
Disabling SSL certificate validation requires extra steps
If users want to explicitly disable the SSL certificate validation, users will have to perform extra steps to ensure that it has been disabled.
Procedure
When creating a new connection or editing an existing connection in the user interface:
- Select the option to Validate the SSL certificate.
- Unselect the option to Validate the SSL certificate.
- Save the connection.
This will need to be performed for any connection where users want to disable the SSL certificate validation.
The watsonx.data and Presto connections do not work with specific data types
Applies to: 5.2.0
The watsonx.data Presto and Presto connections currently do not work with the following data types:
TIME
The TIME and TIMESTAMP data types are not supported when the Presto C++ engine is used.