Problem A: Tower of Cubes
In this problem you are given N colorful cubes each having a distinct weight. Each face of a cube is colored with one color. Your job is to build a tower using th...
分类:
其他好文 时间:
2014-07-23 17:07:51
阅读次数:
251
1、使用逻辑操作符号问题:查询工资高于500或者是岗位为manager的雇员,同时还要满足他们的姓名首字母为大写的J?select * from emp where (sal > 500 or job = 'MANAGER') and ename like 'J%'; ...
分类:
数据库 时间:
2014-07-23 16:52:01
阅读次数:
367
微软近期Open的职位:Job posting title: Senior Software Development EngineerLocation: China, BeijingDivision: Operations System Group Engineering Group Overvie...
分类:
其他好文 时间:
2014-07-23 15:12:56
阅读次数:
204
概述一个Spark的Job分为多个stage,最后一个stage会包含一个或多个ResultTask,前面的stages会包含一个或多个ShuffleMapTasks。ResultTask运行并将结果返回给driver application。ShuffleMapTask将task的output依据...
分类:
其他好文 时间:
2014-07-23 12:43:36
阅读次数:
376
很多时候,我们想像Activiti定时开始事件一样,加入一些自己的定时流程。但定时开始事件有很大的局限性,比如时间、循环次数、循环间隔是必须要指定的,这对于一些根据实际状况,计算时间并启动的流程是无法处理的。
通过一系列的源码分析,最终找到了手动建立Job的方式方法。。。...
Scissor Lift tables are not just required for lifting the objects but also for the proper positioning of the material while working to prevent work re...
分类:
其他好文 时间:
2014-07-22 00:16:33
阅读次数:
269
1 查询单表select * from emp;2 查询单表,并按照deptno降序和job升序排列select * from emp order by deptno desc , job asc;3 查询最高工资和最低工资select max(sal),min(sal) from emp ;4查询...
分类:
数据库 时间:
2014-07-22 00:05:34
阅读次数:
251
从网上找到如下资料: $sudo gedit /etc/mysql/my.cnf [client]下添加: default-character-set=utf8 [mysqld]下添加: default-character-set=utf8 然后保存退出 $ /etc/init.d/mysql restart 结果出现了: Since...
分类:
数据库 时间:
2014-07-21 23:39:35
阅读次数:
423
Hadoop任务提交分析
分析工具和环境
下载一份hadoop的源码,这里以hadoop-1.1.2为例。本地IDE环境为eclipse,导入整个目录,然后可以在IDE里面看到目录结构了,要分析任务提交过程,需要找到入口代码,很明显,对于熟悉Hadoop应用程序开发的同学来说很容易的知道任务的提交是从job的配置开始的,所以需要这样一份提交Job的代码,在src/examples里...
分类:
其他好文 时间:
2014-07-21 22:21:28
阅读次数:
302
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
at org.apache.hadoop.mapreduce.Job$1.run(Job.java:563)
at java.security.AccessC...
分类:
移动开发 时间:
2014-07-21 16:36:54
阅读次数:
251