Created 03-22-2018 06:31 AM
Created 03-22-2018 07:23 AM
Can you please give us more details on contexte and error?
HDF doesn't have Spark. Are you trying to install HDP and HDF with the same Ambari?
Created 03-22-2018 09:12 AM
As per attached image I am adding spark service , which is pre-configured but not started on HDF installation.
By adding Spark manually Hive Metastore is not starting.
I have attached screenshots of log file.
Created 03-22-2018 09:57 AM
Its an authorization problem could you run the below steps as root against the MySQL where FQDN is the hostname of in this case the sandbox
# Hive user setup
# mysql -u root -p GRANT ALL PRIVILEGES ON *.* TO 'hive'@'localhost'; GRANT ALL PRIVILEGES ON *.* TO 'hive'@'%'; GRANT ALL PRIVILEGES ON *.* TO 'hive'@'{FQDN}'; GRANT ALL PRIVILEGES ON hive.* TO 'hive'@'localhost' IDENTIFIED BY 'hive' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON hive.* TO 'hive'@'{FQDN}' IDENTIFIED BY 'hive' WITH GRANT OPTION; FLUSH PRIVILEGES; quit;
Please revert
Created 03-22-2018 11:36 AM
To piggyback on what @Geoffrey Shelton Okot wrote, you'll need to set up a couple of things on MySQL. One is the Hive database, and the other is the Hive user and its permissions. The following should work:
# Once SSH'd in to the HDF sandbox: # mysql -u -phortonworks1 CREATE DATABASE hive DEFAULT CHARACTER SET utf8; CREATE USER 'hive'@'%' IDENTIFIED BY "$pass"; GRANT ALL PRIVILEGES ON hive.* TO 'hive'@'%' WITH GRANT OPTION; commit; quit;
Created 03-23-2018 06:39 AM
Not worked.
Created 03-23-2018 05:42 AM
I am getting following error
[root@sandbox-hdf /]# mysql -u root -p
Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[root@sandbox-hdf /]#
Created 03-23-2018 07:06 AM
Here is how to change the MySQL root password
# mysql_secure_connection
Answer the questions as shown below:
Change the root password? [Y/n] <-- y
New password: <-- Enter a new MySQL root password
Re-enter new password: <-- Repeat the MySQL root password
Remove anonymous users? [Y/n] <-- y
Disallow root login remotely? [Y/n] <-- y
Remove test database and access to it? [Y/n] <-- y
Reload privilege tables now? [Y/n] <-- y
Hope that helps
Created 03-23-2018 11:52 AM
It was showing error mysql_secure_connection command not found