1. shell特性 命令历史 history !! !$ !n !字符 Tab 键可以补全文件路径或者命令 alias a=“b” unalias a 通配符 *匹配零个或多个字符 ?匹配一个字符 输入输出重定向 >, >>, <, 2>, 2>> 管道符 | 作业控制 ctrl+z, jobs, ...
分类:
系统相关 时间:
2016-04-26 00:34:15
阅读次数:
315
从MySQL数据库phx中读取tree表到HDFS执行命令:sqoop import --connect jdbc:mysql://node1:3306/phx \--username root --table tree --m 1命令行输出:Warning: /csh/link/sqoop/../hcatalog does not exist! HCatalog jobs will fail.
P...
分类:
数据库 时间:
2016-04-22 19:24:49
阅读次数:
335
#Edit corn jobs vi /var/spool/cron/crontabs/root # Check crond pross id cat /var/run/crond.pid # Kill old crond /bin/kill $(cat /var/run/crond.pid) # ...
分类:
其他好文 时间:
2016-04-19 19:04:01
阅读次数:
131
一、msfconsole ? 帮助菜单 back 从当前环境返回 banner 显示一个MSF banner cd 切换目录 color 颜色转换 connect 连接一个主机 exit 退出MSF help 帮助菜单 info 显示一个或多个模块的信息 irb 进入irb脚本模式 jobs 显示和 ...
分类:
其他好文 时间:
2016-04-10 14:21:06
阅读次数:
171
DBA_JOBS 和 DBA_JOBS_RUNNING 不同的结果 參考原文: Different Results from DBA_JOBS and DBA_JOBS_RUNNING (Doc ID 109725.1) 目的: 解释DBA_JOBS和 DBA_JOBS_RUNNING的关系。 范围 ...
分类:
数据库 时间:
2016-04-06 13:10:01
阅读次数:
197
引入unittest框架get请求#coding:utf-8
importunittest
importrequests
importjson
classTestGet(unittest.TestCase):
defsetUp(self):
self.test_url=‘http://localhost:8080/jenkins/api/json?tree=jobs[name]‘
deftest_get(self):
self.r=requests.get(self.test_url)
‘‘..
分类:
编程语言 时间:
2016-04-05 20:13:14
阅读次数:
155
做项目过程接触到disque,记录一下。 disque是redis之父开源的基于内存的分布式作业队列,用c语言实现的非阻塞网络服务器。 disque的设计目标:Its goal is to capture the essence of the "Redis as a jobs queue" use ...
分类:
其他好文 时间:
2016-03-30 22:11:12
阅读次数:
136
The only printer in the computer science students’ union is experiencing an extremely heavy workload. Sometimes there are a hundred jobs in the printe ...
分类:
其他好文 时间:
2016-03-30 00:09:15
阅读次数:
241
一个任务是一个实现了 Job 接口的类。和下面展示一样,Job接口只有一个方法。 当一个 Job 的触发器被触发, 调度器就会从线程池中拿一个线程来调用 execute(..)方法。 ...
分类:
其他好文 时间:
2016-03-29 16:34:29
阅读次数:
162
Oozie的coordinator有啥用? The Oozie Coordinator system allows the user to define and execute recurrent and interdependent workflow jobs (data application ...
分类:
其他好文 时间:
2016-03-28 18:19:53
阅读次数:
499