(1) the correct hbase-site.xml does in the HADOOP_CONF_DIR. (2) All dependent jars have been submitted.
Below is the source code of ResourceStore.createResourceStore: private static ResourceStore createResourceStore(KylinConfig kylinConfig) { List<Throwable> es = new ArrayList<Throwable>(); logger.info("Using metadata url " + kylinConfig.getMetadataUrl() + " for resource store"); for (Class<? extends ResourceStore> cls : getKnownImpl(kylinConfig)) { try { return cls.getConstructor(KylinConfig.class).newInstance(kylinConfig); } catch (Throwable e) { es.add(e); } } for (Throwable exceptionOrError : es) { logger.error("Create new store instance failed ", exceptionOrError); } throw new IllegalArgumentException("Failed to find metadata store by url: " + kylinConfig.getMetadataUrl()); } This method throw a IllegalArgumentException, and I can see log info like "Failed to find metadata store by url...." in the log file, but I can not search anything which match "Create new store instance failed". This makes me very confused. If it throw a IllegalArgumentException, why it did not print "Create new store instance failed" in the log file? -- View this message in context: http://apache-kylin.74782.x6.nabble.com/Failed-to-find-metadata-store-when-cubing-by-spark-tp8167p8177.html Sent from the Apache Kylin mailing list archive at Nabble.com.