Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via lens-user by Amruth S, 11 months ago
Cannot initialize saved query service
via lens-user by amareshwarisr ., 11 months ago
Cannot initialize saved query service
via lens-user by Santiago Gimenez, 1 year ago
Cannot initialize saved query service
java.lang.RuntimeException: Cannot initialize saved query service at org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:75)[classes/:na] at org.apache.hive.service.CompositeService.init(CompositeService.java:59)[hive-service-0.13.4-inm.jar:0.13.4-inm] at org.apache.lens.server.LensServices.init(LensServices.java:235)[classes/:na] at org.apache.lens.server.LensServer.startServices(LensServer.java:134)[classes/:na] at org.apache.lens.server.LensServer.<init>(LensServer.java:85)[classes/:na] at org.apache.lens.server.LensServer.createLensServer(LensServer.java:74)[classes/:na] at org.apache.lens.server.LensServer.main(LensServer.java:190)[classes/:na]Caused by: org.apache.lens.server.api.error.LensException: Error initializing saved query dao at org.apache.lens.server.query.save.SavedQueryDao.<init>(SavedQueryDao.java:72)[classes/:na] at org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:70)[classes/:na] ... 6 moreCaused by: org.apache.lens.server.api.error.LensException: Cannot create saved query table! at org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:85)[classes/:na] at org.apache.lens.server.query.save.SavedQueryDao.<init>(SavedQueryDao.java:70)[classes/:na] ... 7 moreCaused by: java.sql.SQLException: palabra no esperado: ( Query: CREATE TABLE IF NOT EXISTS saved_query (id int(11) NOT NULL AUTO_INCREMENT,name varchar(255) NOT NULL,description varchar(255) DEFAULT NULL,query longtext,params_json longtext,created_at timestamp,updated_at timestamp, PRIMARY KEY (id)) Parameters: [] at org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)[commons-dbutils-1.5.jar:1.5] at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490)[commons-dbutils-1.5.jar:1.5] at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:420)[commons-dbutils-1.5.jar:1.5] at org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:83)[classes/:na] ... 8 more