Error in Setting up Hive and Oozie Metastore using _hdiManagementClient.Clusters.Create method
See original GitHub issueWhen you pass in Hive and Oozie Metastore information to ClusterCreateParamters objects it always complain about not able to connect to the Azure SQL Server. I have verified the SQL Server credentials and the flag on the server to allow access to Azure services. I am able to create HdInsight server attaching it to Azure Sql Server for metastor using portal but not using the Azure SDK.
Are we storing the connection string for the hive configs in the Ambari Server log table.
var parameters = new ClusterCreateParameters
{
ClusterSizeInNodes = NewClusterNumNodes,
Location = NewClusterLocation,
ClusterType = NewClusterType,
OSType = NewClusterOSType,
Version = NewClusterVersion,
DefaultStorageAccountName = ExistingStorageName,
DefaultStorageAccountKey = ExistingStorageKey,
DefaultStorageContainer = ExistingContainer,
UserName = NewClusterUsername,
Password = NewClusterPassword,
SshUserName = SSHUserName,
SshPassword = SSHPassword,
HiveMetastore = new Metastore(AzureSqlServerName, "hive", AzureSqlUserName, AzureSqlPassword),
OozieMetastore = new Metastore(AzureSqlServerName, "oozie", AzureSqlUserName, AzureSqlPassword)
};
Issue Analytics
- State:
- Created 8 years ago
- Comments:13
Top Results From Across the Web
Oozie/hive-server2 not able to connect to hive-metastore ...
It looks like oozie is not able to connect to the hive metastore using its hive client. When I start the hive-server2 and...
Read more >Hive installation issues: Hive metastore database is not ...
After installing hive, if the first thing you did was run hive, hive attempted to create/initialize the metastore_db, but apparently might ...
Read more >Oozie Spark Access to Hive with Kerberos
This blog post will guide you through the process of setting up Oozie Spark to access Hive with Kerberos, ensuring your data remains...
Read more >Oozie workflow credentials with a Hive action with Kerberos
Here is a demo, with a kerberized cluster and a MySql Hive metastore showing how it works. We create a Hive script that...
Read more >Apache Oozie workflows & Enterprise Security - Azure ...
In this article · Prerequisite · Connect to an ESP cluster · Define the workflow · Define the properties file for the Oozie...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Got it working. I was trying with the same deployment name and the cluster name for multiple times and changing those worked. I am guessing there is some king of caching for the deployments which couldn’t reflect the latest state.
Yeah so I found out this issue for me was caused by not having the right encoding on the JSON file that’s being uploaded. PowerShell uses ucs-2 by default when doing an out-file… if you choose utf8 on -encoding in PowerShell v5.1 it will actually encode to utf8bom which also no good.
PowerShell 6 has a “new” encoding that’s called utf8nobom which will ACTUALLY out-file to regular utf-8… when in doubt validate with notepad++ !!