设为首页 加入收藏

TOP

hive 开机重启 mysql
2019-02-12 01:03:03 】 浏览:61
Tags:hive 开机 重启 mysql
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hzdxw/article/details/51675426
[root@name01 Desktop]# hive
16/06/14 08:00:03 INFO Configuration.deprecation: mapred.input.dir.recursive is deprecated. Instead, use mapreduce.input.fileinputformat.input.dir.recursive
16/06/14 08:00:03 INFO Configuration.deprecation: mapred.max.split.size is deprecated. Instead, use mapreduce.input.fileinputformat.split.maxsize
16/06/14 08:00:03 INFO Configuration.deprecation: mapred.min.split.size is deprecated. Instead, use mapreduce.input.fileinputformat.split.minsize
16/06/14 08:00:03 INFO Configuration.deprecation: mapred.min.split.size.per.rack is deprecated. Instead, use mapreduce.input.fileinputformat.split.minsize.per.rack
16/06/14 08:00:03 INFO Configuration.deprecation: mapred.min.split.size.per.node is deprecated. Instead, use mapreduce.input.fileinputformat.split.minsize.per.node
16/06/14 08:00:03 INFO Configuration.deprecation: mapred.reduce.tasks is deprecated. Instead, use mapreduce.job.reduces
16/06/14 08:00:03 INFO Configuration.deprecation: mapred.reduce.tasks.speculative.execution is deprecated. Instead, use mapreduce.reduce.speculative
16/06/14 08:00:03 WARN conf.HiveConf: DEPRECATED: hive.metastore.ds.retry.* no longer has any effect.  Use hive.hmshandler.retry.* instead

Logging initialized using config
		    

uration in file:/usr/local/hive/conf/hive-log4j.properties SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/hive/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] hive> Lselect * from hivetest; FAILED: SemanticException Unable to fetch table hivetest hive> select * from hivetest; FAILED: SemanticException Unable to fetch table hivetest hive> show tables; FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient hive> show tables; FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient [root@name01 sbin]# start-dfs.sh 16/06/14 08:05:09 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Starting namenodes on [name01] name01: namenode running as process 2761. Stop it first. localhost: datanode running as process 2848. Stop it first. Starting secondary namenodes [name01] name01: secondarynamenode running as process 2965. Stop it first. 16/06/14 08:05:12 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [root@name01 sbin]# jps 2848 DataNode 3107 ResourceManager 3203 NodeManager 2532 RunJar 4181 Jps 2965 SecondaryNameNode 2761 NameNode [root@name01 sbin]# service mysqld status mysqld is stopped [root@name01 sbin]# service mysqld start Starting mysqld: [ OK ] [root@name01 sbin]# hive> show tables; OK hivetest Time taken: 4.642 seconds, Fetched: 1 row(s) hive> select * from hivetest; OK Time taken: 1.72 seconds hive>


编程开发网
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Hive中计算两个日期之间的月份差 下一篇Hive为什么适合做数据仓库

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

array(4) { ["type"]=> int(8) ["message"]=> string(24) "Undefined variable: jobs" ["file"]=> string(32) "/mnt/wp/cppentry/do/bencandy.php" ["line"]=> int(217) }