最近升级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
客户端Cocos2dx(C++)服务器Mina(Java)客户端主要使用了Linux的BSD
Socket接口进行socket的数据传输连接服务器直接用了Mina框架来接受socket具体参考的博客:1.【C/S通信交互之Socket篇】Cocos2dx(Client)使用BSD
Socket与Mi...
分类:
其他好文 时间:
2014-05-30 06:39:54
阅读次数:
323
运行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
先写一个服务器端的监听程序,功能室从客户端读取字符,接收到后告知客户端“I got your
message: ”+收到的消息:server.c#include #include #include #include #include #include
#include ...
分类:
编程语言 时间:
2014-05-30 00:40:28
阅读次数:
419
转载:http://blog.csdn.net/dog250/article/details/6896949UDP协议疑难杂症全景解析2011-10-22
19:262989人阅读评论(4)收藏举报tcp网络算法交通socket通讯如今,但凡说精通网络的,第二个意思就是“精通TCP”,事实上,很多自...
分类:
其他好文 时间:
2014-05-29 18:22:07
阅读次数:
288
严格模式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