最近升级cdh版本,从4.5 升级到 5.0.0 beta-2
但是升级后,发现/etc/alternatives 路径下的软链接还是只想旧的4.5 版本,而且hadoop环境也是沿用4.5
的版本conf,导致hive不能正常使用,报错为hdfs 的版本不对。 后面使用strace工具查看,发现它...
分类:
其他好文 时间:
2014-06-07 02:44:21
阅读次数:
248
try to
use:myTimePicker.setDescendantFocusability(TimePicker.FOCUS_BLOCK_DESCENDANTS);to
disable focus on the text views of the internal NumberPickers...
分类:
移动开发 时间:
2014-06-04 20:02:57
阅读次数:
406
关于index_hint
在mysql查询语句中可以通过指定index_hint来告诉优化器如何使用索引,详细可以参考这里index_hint: USE {INDEX|KEY} [FOR
{JOIN|ORDER BY|GROUP BY}] ([index_list]) | IGNO...
分类:
数据库 时间:
2014-06-03 13:05:59
阅读次数:
394
express默认有队session的支持,但是是存储在内存中的.我们可以使用mongodb来存储会话.但是express的各个版本中对该功能的写法是不同的.Express
2.x:app.use(express.session({ secret: settings.cookieSecret,...
分类:
数据库 时间:
2014-05-30 14:18:57
阅读次数:
308
运行cmd;输入mysql回车,如果成功,将出现MySQL提示符
>连接权限数据库>use mysql; (>是本来就有的提示符,别忘了最后的分号)修改改密码:> update user set
password=password("123456") where user="root"; (别忘了最...
分类:
数据库 时间:
2014-05-30 06:03:00
阅读次数:
256
转摘:oracle数据库表空间文件收缩实例
1.查看数据文件的使用情况包括内容:数据文件大小,已经used空间,free空间,hwm信息 1 select /*+ ordered
use_hash(a,b,c) */ 2 a.file_id,a.file_name,a.filesize, b.fre...
分类:
其他好文 时间:
2014-05-30 05:45:38
阅读次数:
342
严格模式function fun(){ "use strict";
//启用严格模式,作用域函数 } "use strict";
//全局变量变量定义需要用var,如果没有通过var定义的变量会由于相应变量不会马上有定义而导致不必要的混乱。数据类型5种基本数据类型:Undefined、Nu...
分类:
编程语言 时间:
2014-05-29 18:02:43
阅读次数:
372
Recently in one of my project I needed to have
an option to display the DateTimePicker allowing user to pick both the date and
the time. When I drag t...
分类:
其他好文 时间:
2014-05-29 17:46:20
阅读次数:
239
http://blog.chinaunix.net/uid-23577393-id-1751983.htmlTo
count how often any pattern occurs in the current buffer use the
substitutecommand and add th...
分类:
其他好文 时间:
2014-05-29 17:37:03
阅读次数:
217
Please follow the steps precisely in order to
complete the objectives of the assignment. If you use the C++ FreeRTOS
framework, it should make the ass...
分类:
移动开发 时间:
2014-05-29 16:53:33
阅读次数:
483