今天配置mysql存储hive的元数据
遇到问题
Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
FAILED: Execution Error,
return
code
1
from org.apache.hadoop.hive.ql.exec.DDLTask
搜了很久也没解决
后来打开hive -hiveconf hive.root.logger=DEBUG,console
发现ERROR Datastore.Schema: Failed initialising database. null, message from server: "Host '192.0.0.0' is not allowed to connect to this MySQL server" org.datanucleus.exceptions.NucleusDataStoreException: null, message from server: "Host '192.0.0.0' is not allowed to connect to this MySQL server"
在Mysql下设置
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '*' WITH GRANT OPTION;
问题解决
查看表空间也创建了
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| hive |
| mysql |
| performance_schema |
| test |
+--------------------+
5 rows in set (0.00 sec)
相关推荐
FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient 通过控制台的...
标签:spring、metadata、plugin、springframework、jar包、java、中文文档; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释...
FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient 解决方法 ...
标签:spring、metadata、plugin、springframework、jar包、java、中英对照文档; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持
对应Maven信息:groupId:org.springframework.plugin,artifactId:spring-plugin-metadata,version:1.2.0.RELEASE 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化...
对应Maven信息:groupId:org.springframework.plugin,artifactId:spring-plugin-metadata,version:1.2.0.RELEASE 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化...
maven-repository-metadata-3.0.jar
java.lang.reflect.Method method = clazz.getMethod("close", null); method.invoke(resource, null); } catch (Exception e) { // e.printStackTrace(); } } /** * 执行 SELECT 等 SQL 语句并返回结果集. ...
hibernate常见错误解决方案
其中包括一些排错方法:Error: org.apache.hadoop.mapred.JobConf.unset(Ljava/lang/String;)V 以及:FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: Failed to start database 'metastore_db',...
1、报错:it.sauronsoftware.jave.EncoderException: Metadata: 2、可以转换,可以播放,但是有个异常:it.sauronsoftware.jave.EncoderException: video:0kB audio:1301kB subtitle:0kB other streams:0kB global ...
CentOS系统yum源使用报错:Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge.-附件资源
java.lang.annotation java.lang.instrument java.lang.management java.lang.ref java.lang.reflect java.math java.net java.nio java.nio.channels java.nio.channels.spi java.nio.charset java.nio....
【环境配置】Collecting package metadata (current_repodata.json)_ failed的问题解决
使用class="{}"的方式,必须引入包:jquery.metadata.js 可以使用如下的方法,修改提示内容: class="{required:true,minlength:5,messages:{required:'请输入内容'}}" 在使用equalTo关键字时,后面的内容必须加上...
资源来自pypi官网。 资源全名:eea.flis.metadata-0.6.2.tar.gz
for (Directory directory : metadata.getDirectories()) { for (Tag tag : directory.getTags()) { String tagName = tag.getTagName(); // 标签名 String desc = tag.getDescription(); // 标签信息
java.lang.annotation java.lang.instrument java.lang.management java.lang.ref java.lang.reflect java.math java.net java.nio java.nio.channels java.nio.channels.spi java.nio.charset java.nio....
jquery.metadata.2.1.js