还没开始看js的时候经常会听群里的朋友说到原型,每当别人说的时候自己都不知道别人在说什么,最近在自己看书,记了点笔记,希望可以记住自己学习的印记,哪里写的不对的地方,希望路过的大牛指点一下。function Person(name,age,job){ this.name=name; th...
分类:
其他好文 时间:
2014-12-17 12:25:57
阅读次数:
122
原文链接 http://blog.csdn.net/waferleo/article/details/3289623最近项目中 数据库需要添加一个定期清理 历史操作记录数据的 定时任务。一、设置初始化参数 job_queue_processessql> alter system set job_qu...
分类:
数据库 时间:
2014-12-17 00:05:37
阅读次数:
265
1.Hive中合并小文件的map only JOB,此JOB只会有一个或很少的几个map。2.输入文件格式为压缩的Text File,因为压缩的文本格式不知道如何拆分,所以也只能用一个map
分类:
其他好文 时间:
2014-12-16 18:52:50
阅读次数:
180
网上看到的一篇好文,转给大家看看-----------------------------------------------找到一份好工作,或者求其次,找到一份工作,不外乎几个基本条件:job opening, competitor, capability, resume and network。...
分类:
其他好文 时间:
2014-12-16 18:26:05
阅读次数:
301
转载请说明出处:http://t22011787.iteye.com/blog/1112745 1.创建一个表,为了能清楚看到定时器的运行情况我们创建一个带有日期字段的表 create table job_table(run_time date); 2.创建存储过程 create or replac...
分类:
数据库 时间:
2014-12-16 14:52:33
阅读次数:
227
Perspective switch job has encountered a problem弹框问题描述: 在eclipse开发web项目时,设置断点了,当运行到断点处代码时会弹出Perspective switch job has encountered a problem框,然后eclipse直接卡死,...
分类:
系统相关 时间:
2014-12-16 13:38:48
阅读次数:
682
一. Partitioner是partitioner的基类,如果需要定制partitioner也需要继承该类。
public class DataCount {
public static void main(String[] args) throws Exception {
Configuration conf = new Configuration();
Job job =...
分类:
其他好文 时间:
2014-12-15 23:43:24
阅读次数:
447
题意:
给一个n个点的DAG,每个点有一个值p,现在要在图上找一个入度为0到出度为0的路径,使路径上的点的p值和最大。
分析:
dp[v]记录以点v为起点能获得的最大值,搜一遍即可。
代码:
//poj 3249
//sep9
#include
using namespace std;
const int maxN=100024;
const int maxM=1000024;
int...
分类:
其他好文 时间:
2014-12-15 20:26:17
阅读次数:
117
1. Starting from the Material Requirements Planning node, choose Planning Total planning As background job.The Total planning: Variants screen appears...
分类:
其他好文 时间:
2014-12-15 17:16:49
阅读次数:
184
Gibhub地址https://github.com/zookeeper-user-group/zookeeper/issues/2标题job做ha问题描述mogu1986commentedon25Mar环境:单机zk3.4.5cleint:Curator2.4sessiontimeout5sconnetiontimeout10s我现在有一个job,想做HA功能,用的LeaderLatch,经常出现LOST,,不知道有啥折中办法没?..
分类:
其他好文 时间:
2014-12-15 10:35:01
阅读次数:
126