
开源框架
文章平均质量分 60
星宫社
駄目人間
展开
-
Spring+quartz实现集群任务调度
Spring+quartz实现集群任务调度关键点:quartz中的主要实现类:JobStoreTX通过数据库锁(行锁)来实现多个节点的访问顺寻控制。例如mysql:select * from QRTZ_LOCKS t where t.lock_name='TRIGGER_ACCESS' for update锁定当前行(t.lock_name为主键,具转载 2016-02-25 13:47:53 · 747 阅读 · 0 评论 -
Zookeeper实现分布式锁
基于zookeeper的分布式锁实现zookeeper官网推荐:https://svn.apache.org/repos/asf/zookeeper/trunk/src/recipes/lock/twitter的distributedlod项目中zk实现/** * Licensed to the Apache Software Foundation (ASF) under one转载 2017-12-05 10:21:41 · 467 阅读 · 0 评论 -
TaildirSource(Flume中实现)
Flume #TaildirSource定期扫描目录定期写入当前文件读取位置/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distri原创 2017-12-05 10:27:58 · 3419 阅读 · 0 评论 -
Java定时任务开源框架
具体见原文4. 分布式定时任务开源框架一览4.1. Elastic-Job(当当网)4.2. light-task-scheduler4.3. clover4.4. TBSchedule(阿里)4.5. niubi-job4.6. Uncode-Schedule转载 2017-08-01 10:51:24 · 2252 阅读 · 0 评论 -
[static pod部署方式]kubernetes 升级方式
0.prerequisite 1.下载文件: 从Kubernetes的github上下载最新的发布版 :https://github.com/kubernetes/kubernetes/releases2.测试环境文件发布包地址(112.74.163.191) Kubernetes1.4.3 release : /data01/naturec原创 2017-05-04 17:07:12 · 3764 阅读 · 0 评论 -
Spark问题
15/07/09 17:50:36 INFO SecurityManager: Changing view acls to: dev001,15/07/09 17:50:36 INFO SecurityManager: Changing modify acls to: dev001,15/07/09 17:50:36 INFO SecurityManager: SecurityManager:原创 2015-07-09 17:59:03 · 774 阅读 · 0 评论 -
开源云项目
http://code.youkuaiyun.com/news/2820863摘要:Linux.com和The New Stack联合起来做了一个调查:你认为的最受欢迎的开源云项目是哪些?调查涵盖了hypervisors、IaaS、PaaS、管理和服务开通和其它类别的开源项目。所有项目较为成熟的、有规模的开源云项目。转载 2015-07-20 15:03:24 · 637 阅读 · 0 评论 -
Spark的文章blog搜集
1、http://www.cnblogs.com/fxjwind/p/3422938.html转载 2015-07-22 17:50:40 · 644 阅读 · 0 评论 -
Quartz配置读取
public void initialize() throws SchedulerException { // short-circuit if already initialized if (cfg != null) { return; } if (initException != null) {转载 2015-08-27 17:50:26 · 1122 阅读 · 0 评论 -
Quartz的SimpleThreadPool
/* * Copyright 2001-2009 Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain转载 2015-08-28 09:52:00 · 4515 阅读 · 0 评论 -
Quartz核心类
QuartzScheduler/** * * This is the heart of Quartz, an indirect implementation of the {@link org.quartz.Scheduler} * interface, containing methods to schedule {@link org.quartz.Job}s, *翻译 2015-08-28 10:50:23 · 518 阅读 · 0 评论 -
Spring-boot rest接口跨源访问限制 Access-Control-Allow-Origin
跨源访问控制,见官网说明 https://spring.io/guides/gs/rest-service-cors/1.接口层做限制 @CrossOrigin(origins = "http://localhost:9000") @GetMapping("/greeting") public Greeting greeting(@RequestParam(required=fa...原创 2018-04-18 15:16:48 · 2565 阅读 · 0 评论