码迷,mamicode.com
首页 >  
搜索关键字:run fsck manually    ( 19528个结果
多线程同步 wait notify
package test;public class Test implements Runnable{ public static int j =0; @Override public void run() { synchronized (this) { ...
分类:编程语言   时间:2014-05-17 00:21:52    阅读次数:351
Java执行Shell脚本“No such file or directory” (win->Linux)异常的可能原因
转自:http://blog.csdn.net/zlpdaisy/article/details/6134314用Runtime.getRuntime().exec()方法执行Linux的一个Shell脚本时,报Cannot run program "./script/abc.sh": java.i...
分类:编程语言   时间:2014-05-16 20:18:10    阅读次数:765
虚拟机linux在关机不正常的情况下出现的问题
打开虚拟机出现如图:一下为解决方式:输入密码:用df命令查看磁盘fsck /dev/sda2命令修复磁盘磁盘被修复,可以正常登陆
分类:系统相关   时间:2014-05-15 16:28:02    阅读次数:540
leetCode-002 Median of Two Sorted Arrays
leetCode-002 Median of Two Sorted Arrays 【题目】 There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). 【题意】 有两个有序的数组,找出这两数组整合后的中位数,要求时间复杂度O(nlogn)...
分类:其他好文   时间:2014-05-15 04:42:05    阅读次数:274
日常问题
1.在用vundleBundleInstall一个插件时发生如下错误listinvalidartumentsforfunctionvundle#installer#run原因:原来是插件名字写错了!!
分类:其他好文   时间:2014-05-15 00:32:06    阅读次数:193
OpenStack_Swift源码分析——ObjectReplicator源码分析(2)
1、Replicator执行代码详细分析 上篇问中介绍了启动Replicator的具体过程,下面具体讲解Replicator的执行代码的具体实现: def replicate(self, override_devices=None, override_partitions=None): """Run a replication pass""" sel...
分类:其他好文   时间:2014-05-15 00:15:16    阅读次数:458
hadoop-mapreduce中reducetask运行分析
ReduceTask的运行 Reduce处理程序中需要执行三个类型的处理, 1.copy,从各map中copy数据过来 2.sort,对数据进行排序操作。 3.reduce,执行业务逻辑的处理。 ReduceTask的运行也是通过run方法开始, 通过mapreduce.job.reduce.shuffle.consumer.plugin.class配置shuffle的plugin, ...
分类:其他好文   时间:2014-05-14 20:23:57    阅读次数:519
Sublime Text 3 c++编译环境配置
{ "cmd":["g++","${file}","-o","${file_path}/${file_base_name}"], "file_regex":"^(..[^:]*):([0-9]+):?([0-9]+)?:?(.*)$", "working_dir":"${file_path}", "selector":"source.c,source.c++", "encoding":"cp936", "variants": [ { "name":"Run", "shell":true, "cmd":["st..
分类:编程语言   时间:2014-05-14 17:25:25    阅读次数:300
Install jar manually into maven and Nexus
Sometimesthemavenbuildingjustneedsoneormore3rdpartyjars,andthejarscannotbedownloadedandinstalledautomaticallybyInternet.Thenyoucaninstallthesejarsmanually.1st.Installa3rdpartyjarpackageintomavenrepositormvninstall:install-file-DgroupId=<jar‘sgroupdId>..
分类:其他好文   时间:2014-05-14 17:23:24    阅读次数:343
hadoop-mapreduce中maptask运行分析
MapTask运行通过执行.run方法: 1.生成TaskAttemptContextImpl实例,此实例中的Configuration就是job本身。 2.得到用户定义的Mapper实现类,也就是map函数的类。 3.得到InputFormat实现类。 4.得到当前task对应的InputSplit. 5.通过InputFormat,得到对应的RecordReader。 6.生成Re...
分类:其他好文   时间:2014-05-14 14:31:59    阅读次数:381
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!