上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
摘要: The CLUSTERED BY and SORTED BY creation commands do not affect how data is inserted into a table – only how it is read. This means that users must be ... 阅读全文
posted @ 2015-07-20 22:54 智能先行者 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 当前session可以直接用prompt修改 mysql> prompt \u@\h \d \r:\m:\s>PROMPT set to '\u@\h \d \r:\m:\s>'root@localhost mysql 02:06:38> 还可以在my.cnf配置文件中[mysql]添加(注意不是[ 阅读全文
posted @ 2015-07-18 14:11 智能先行者 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 转自http://shiyanjun.cn/archives/588.htmlHive是基于Hadoop平台的,它提供了类似SQL一样的查询语言HQL。有了Hive,如果使用过SQL语言,并且不理解Hadoop MapReduce运行原理,也就无法通过编程来实现MR,但是你仍然可以很容易地编写出特定... 阅读全文
posted @ 2015-07-17 22:29 智能先行者 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 日志记录器(Logger)是日志处理的核心组件。log4j具有7种级别(Level)。日志记录器(Logger)的可用级别Level (不包括自定义级别 Level)优先级从高到低:OFF、FATAL、ERROR、WARN、INFO、DEBUG、TRACE、ALLOFFOFF Level是最高等级的 阅读全文
posted @ 2015-07-12 20:28 智能先行者 阅读(904) 评论(0) 推荐(0) 编辑
摘要: [hadoop@master hadoop]$ hive -S -e 'set -v'|grep querylog|grep -E -v 'CLASSPATH|class'hive.querylog.enable.plan.progress=truehive.querylog.location=/h... 阅读全文
posted @ 2015-07-12 20:26 智能先行者 阅读(263) 评论(0) 推荐(0) 编辑
摘要: hive> desc database extended wx_test; OK wx_test hdfs://ns1/user/hive/warehouse/wx_test.db hadoop USER {t_date=2015-06-21, creator=wx} Time taken: 0.027 seconds, Fetched: 1 row(s) hive> desc form... 阅读全文
posted @ 2015-07-12 20:17 智能先行者 阅读(2159) 评论(0) 推荐(0) 编辑
摘要: [hadoop@master ~]$ alias hdfs='hadoop dfs'[hadoop@master ~]$ hdfs -ls /drwxrwxr-x - hadoop supergroup 0 2015-07-11 21:41 /tmpdrwxrwxr-x - hadoop super... 阅读全文
posted @ 2015-07-12 20:14 智能先行者 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 设置root密码 “mariabd”是新密码 [root@master /]# mysqladmin -u root password mariadb [root@master /]# mysql -u root -p Enter password: Welcome to the MariaDB m 阅读全文
posted @ 2015-07-12 20:11 智能先行者 阅读(1746) 评论(0) 推荐(0) 编辑
摘要: 1.Xtradb和InnoDB是一个很好的通用事物存储引擎。通常不确定选用何种存储引擎时,Xtradb和InnoDB是最佳的选择。2.MyISAM和Aria,占用空间小,系统之间容易复制。MyISAM是MySQL最悠久的存储引擎,而Aria是MariaDB更好的改良。3.TokuDB是一个优化不适合 阅读全文
posted @ 2015-07-12 20:10 智能先行者 阅读(834) 评论(0) 推荐(0) 编辑
摘要: 0是假 NULL、NA无法辨认真假 除了以上3个其他的都是真 > if (NULL) print("OK") else print("Error") Error in if (NULL) print("OK") else print("Error") : argument is of length zero > if (NA) print("OK") else print("Erro... 阅读全文
posted @ 2015-07-10 22:48 智能先行者 阅读(1005) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页