使用scott用户 set utotrace on报错
SCOTT@TEST0422>set autotrace on
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report
SCOTT@TEST...
分类:
数据库 时间:
2014-05-10 19:35:23
阅读次数:
389
http://acm.hdu.edu.cn/showproblem.php?pid=3033
大致题意:某人要买鞋子,有k种鞋,要求每种鞋至少买一双,给出每双鞋子的花费和价值,问m元钱可以买到的鞋子的最大价值是多少。
思路:分组背包问题。与传统的分组背包不同:每组物品至少取一件;且每组中物品任意取。
想一想传统的分组背包,每组至多选一件:
for 所有的组k
fo...
分类:
其他好文 时间:
2014-05-10 08:48:59
阅读次数:
325
从Physical plan到Map-Reduce Plan
注:因为我们重点关注的是Pig On Spark针对RDD的执行计划,所以Pig物理执行计划之后的后端参考意义不大,这些部分主要分析流程,忽略实现细节。
入口类MRCompiler,MRCompilier按照拓扑顺序遍历物理执行计划中的节点,将其转换为MROperator,每个MROperator都代表一个map-reduce
j...
分类:
其他好文 时间:
2014-05-10 08:46:07
阅读次数:
366
言简意赅A single instruction enters the CPU at the
Fetch stage and the PC is incremented in one clock cycle. In the next clock
cycle, the instruction move...
分类:
其他好文 时间:
2014-05-07 11:23:20
阅读次数:
417
机房断电,所以oracle的datagard的从库需要重新启动:1 登录sqlplus启动,出现报错信息:SQL> STARTUP MOUNT;ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translatedORA-07286: sksagdi: cannot obtain device informat...
分类:
数据库 时间:
2014-05-07 06:45:10
阅读次数:
610
Explain
Explain是Pig提供的调试工具,使用explain可以输出Pig Lation的执行计划。值得一提的是,explain支持-dot选项,将执行计划以DOT格式输出, (DOT是一种图形描述语言,请参考http://zh.wikipedia.org/zh/DOT%E8%AF%AD%E8%A8%80)
代码实现详见org.apache.pig.impl.plan.DotPla...
分类:
其他好文 时间:
2014-05-07 06:03:35
阅读次数:
350
不小心重命名了libc.so.6动态库,运行命令
#mv /lib/libc.so.6 /lib/libc.so.6.back
#ls
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
各种命令都不好...
分类:
其他好文 时间:
2014-05-07 04:49:53
阅读次数:
319
TFS 2010 配置的时候,提示TF255466错误Error [ System Checks ]
TF255466: The configuration process for Team Foundation Server cannot continue.
A previous update o...
分类:
其他好文 时间:
2014-05-07 00:15:11
阅读次数:
358
Linux/Centos安装ntop中文版一:安装环境yuminstalllibpcaplibpcap-devellibpnggdbmgdbm-develgliblibxml2-develpangopango-develgddos2unixlibtool-ltdllibtool-ltdl-develgcclibtoolrrdtool-devel检测下:yuminstall-ylibpcap*freetype*libpng*gdbm*libart_lgpl*libtool*rrdt..
分类:
其他好文 时间:
2014-05-06 20:09:48
阅读次数:
342
题目详情
我们通常用的十进制数包含0-9十个数字。假设有一种进制系统包含3种数字,从低到高分别为"oF8”,那么从1到9分别表示为F, 8, Fo, FF, F8, 8o, 8F, 88, Foo, FoF。给定一种进制的数和两种进制的数字表,请把它从第一种进制转换为第二种进制。...
分类:
编程语言 时间:
2014-05-06 19:31:49
阅读次数:
323