Potential Misconfiguration Detected
This page covers various configuration errors. The goal is for all configuration checks to pass.
Continue reading:
Preferred Storage Engine
PREFERRED_STORAGE_ENGINE: We recommend MySQL InnoDB engine over MyISAM which does not support transactions.
Warning: Talk to your DBA before changing the storage engine for the Hue database
tables.
Alter Hue database tables from MyISAM to InnoDB
- Stop the Hue service in Cloudera Manager: go to and select .
- Log on to the host of your MySQL server.
- Look for any MyISAM tables in your Hue server database:
mysql -u root -p<root password>
SELECT table_schema, table_name, engine FROM information_schema.tables WHERE engine = 'MyISAM' AND table_schema = '<hue database name>';
quit
- Set the engine to InnoDB for all Hue database tables:
# Create script, /tmp/set_engine_innodb.ddl mysql -u root -p<root password> -e \ "SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;') \ FROM information_schema.tables \ WHERE engine = 'MyISAM' AND table_schema = '<hue database name>';" \ | grep "ALTER TABLE <hue database name>" > /tmp/set_engine_innodb.ddl
# Run script mysql -u root -p<root password> < /tmp/set_engine_innodb.ddl
- Verify that no MyISAM tables exist by rerunning the SELECT statement in step hue_trb_misconfig.html#concept_preferred_storage_engine_unique_1__li_select_myisam_tables_unique_1.
- Start the Hue service.
MySQL Storage Engine
MYSQL_STORAGE_ENGINE: All tables in the database must be of the same storage engine type (preferably InnoDB).
Follow the instructions in the section, Preferred Storage Engine, to ensure all Hue tables use InnoDB.
Page generated May 18, 2018.
<< Hue Troubleshooting | ©2016 Cloudera, Inc. All rights reserved | Apache Impala - Interactive SQL >> |
Terms and Conditions Privacy Policy |