Cloudera-scm-server.log showing error at two places - hadoop

I am trying to run Cloudera-Manager and it's giving me error given in following screenshots and marked with red pen.
Can anybody help me resolve those error ??

The error is quite straightforward. Cloudera Manager can't connect to the database with credentials specified. Are you able to connect manually with credentials provided in /etc/cloudera-scm-server/db.properties?

Seems like its trying to find Driver class for Mysql DB (and not Postgres). I can see below error in your snapshot:
JDBC Driver Class not found: com.mysql.jdbc.driver

Related

Unable to connect to SQL Server using the quarkus-hibernate-reactive due to incorrect reactive.url

I had worked on Quarkus connecting to Postgres. But this is the first time I am trying to connect to SQL Server, which is the default server in my current project. I am following this guide to create a database component.
The properties file contains the following:
quarkus.datasource.db-kind=mssql
quarkus.datasource.username=<user-id>
quarkus.datasource.password=<pwd>
quarkus.datasource.reactive.url=sqlserver://localhost:1433/<db-name>?currentSchema=<schema-name>
quarkus.datasource.reactive.max-size=20
hibernate.default_schema=<schema-name>
The application starts fine, but when I make a request to the Resource that internally uses the repository, I get the following error:
Internal Server Error
Error id f0a959d2-3201-4015-bfd7-6628ae9914d1-1, io.vertx.mssqlclient.MSSQLException: {number=208, state=1, severity=16, message='Invalid object name ''.', serverName='<sql-instance>', lineNumber=1, additional=[io.vertx.mssqlclient.MSSQLException: {number=8180, state=1, severity=16, message='Statement(s) could not be prepared.', serverName='<sql-instance>', lineNumber=1}]}
This means, my application is able to connect to the database, but it is not able to find the table. The table exists in a schema, and I am unable to pass the schema which may be the cause of the issue. If you check the properties file, I have tried with two options:
Adding 'currentSchema' as a query param
Adding the property 'hibernate.default_schema'
But none of the two options are working. There is no documentation on SQL Server that can help me provide the right configuration to the Quarkus application. Please help.
The correct property is quarkus.hibernate-orm.database.default-schema It is possible to check all the available configuration properties in this url https://quarkus.io/guides/hibernate-orm#hibernate-configuration-properties

Error in GCP BigQuery Data Transfer Service: No suitable driver found for jdbc:redshift://

we followed Google Cloud Platform link https://cloud.google.com/bigquery-transfer/docs/redshift-migration#console to setup Data Transfer from AWS RedShift to BigQuery dataset. But we are getting following error:
18:51:01 Unable to proceed: Could not connect with provided parameters: No suitable driver found for jdbc:redshift://redshift-xyz-bq.c7nxtqwerty23.us-east-1.redshift.amazonaws.com:5439/dev
18:50:30 Transfer load date: 20210120
18:50:29 Dispatched run to data source with id xxxxxxx
We verified all the required parameters and sure that values are correctly set. Can you please help with this issue?
Thank you in advance.
Thank you everyone for your prompt suggestions. Actually the error message was misguiding us. The issue was with AWS subnet that was somehow not allowing us in (could be private subnet in the RedShift Subnet Group; could not see real details before deleting the POC environment). Once we created RedShift cluster using Subnet Group having only public subnets then it worked very well. Hope this helps someone at some point of time.
Please bear in mind that, according to [1], "A JDBC URL specified with the former format of jdbc:postgresql://endpoint:port/database still works".
Consequently, I suggest that you change the start of the URL of your driver from jdbc:redshift to jdbc:postgresql.
If the prior change does not work, please review the following related questions [2] to [6], since it seems like this exception is frequently thrown when the driver URL does not match (pay extra attention at the use of single and double quotes) or when the driver has not been registered before trying to establish the connection.
I hope this helped solve the issue you are experiencing :)
[1]:
https://docs.aws.amazon.com/redshift/latest/mgmt/configure-jdbc-connection.html#obtain-jdbc-url
[2]:
SQLException: No suitable driver found
[3]:
No suitable driver found for 'jdbc:mysql://localhost:3306/mysql
[4]:
The infamous java.sql.SQLException: No suitable driver found
[5]:
How to fix: "No suitable driver found for jdbc:mysql://localhost/dbname" error when using pools?
[6]:
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/dbname

What does it mean if a JDBC driver is unable to find a particular class

I work with reports and currently seeing a warning in my BIRT designer(Eclipse) error logs:
"Cannot load driverClass: org.apache.hive.jdbc.HiveDriver"
I have dealt with classnotfound issues before and usually updating the correct driver resolved the issue, but this time the report is working and still, this warning is shown in error log and I am trying to understand why.
Looking at the below message it seems the oda driver is looking for
"org.apache.hive.jdbc.HiveDriver" class and unable to find it.
java.lang.ClassNotFoundException: org.apache.hive.jdbc.HiveDriver
cannot be found by
com.actuate.data.oda.jdbc.drivers_24.2.1.v201710020253
Please help me understand the warning message and how can I get rid of this.

Failed to complete step 16 in Oracle grid installation

The error message is mentioned below:-
INS-32128] Installer has failed to login as 'root' user with the specified password. Specify a valid 'root' user password.
Additional Information:
Summary of the failed nodes rac02  - PRCZ-2006 : Unable to establish SSH connection to node "rac02" to execute command "/usr/bin/id"
java.lang.ArrayIndexOutOfBoundsException: 391  - Cause: Cause Of Problem Not Available  - Action: User Action Not Available
I am trying to setup a two node RAC
Although from the outside of the installer able to connect the node via root through pass wordless ssh
hard to help you on this. There are a lot of logfiles which can provide useful information what exactly goes wrong. Do you run cluvfy suscessfull before setup?
Take a look in the docs for your oracle version. there are a points "continue failed installation" that can help.
You have to provide more information about what you have done from the beginning
or raise a sr to get help by oracle.
Lookm here for your error. Sure you type the correct passwort?
https://docs.oracle.com/database/121/ERRMG/INS-30001.htm#ERRMG-GUID-B78A0245-9343-44D4-A4F7-59C04831C9D8
At which point in this tutorial you are getting this error?

Configuration Issue for IBM Filenet 5.2

I installed IBM Filenet Content Engine 5.2,on my machine.I am getting problem while configuring GCD datasources for new profile.
Let me first explain the setps I did,then I would mention the problem that I am getting.
First,I created GCD database in DB2,then I created datasources required for configuration of profile in WAS Admin Console.I created J2C Authentication Alias,for user which has access to GCD database and configured it with datasources.I am getting test database connection as successful but when I run task of configuring GCD datasources,it fails with the following error:-
Starting to run Configure GCD JDBC Data Sources
Configure GCD JDBC Data Sources ******
Finished running Configure GCD JDBC Data Sources
An error occurred while running Configure GCD JDBC Data Sources
Running the task failed with the following message: The data source configuration failed:
WASX7209I: Connected to process "server1" on node Poonam-PcNode01 using SOAP connector; The type of process is: UnManagedProcess
testing Database connection
DSRA8040I: Failed to connect to the DataSource. Encountered java.sql.SQLException: [jcc][t4][2013][11249][3.62.56] Connection authorization failure occurred. Reason: User ID or Password invalid. ERRORCODE=-4214, SQLSTATE=28000 DSRA0010E: SQL State = 28000, Error Code = -4,214.
It looks like simple error of user id and password not valid.I am using same alias for other datasources as well and they are working fine.so not sure,why I am getting error.I have also tried changing scope of datasources,but no success.Can somebody please help?
running "FileNet Configuration Manager" task of configuring GCD datasources will create all the needs things in WAS (including Alias), do not created it before manually.
I suspect it had an issue with exciting JDBC data sources/different names Alias
Seems from your message that you are running it from Filene configuration manager. Could you please double check from your database whether user id is authorised to execute query in GCD database. It is definitely do it with permission issue.

Resources