用命令 df 即可# df /var/lib/Filesystem 1K-blocks Used Available Use% Mounted on/dev/sda3 135979984 66905292 62055896 52% /加上-k...
分类:
系统相关 时间:
2015-07-17 15:43:07
阅读次数:
129
今天闲来无事,于是把HDFS的基本操作用java写出简化程序出来给大家一些小小帮助!package com.quanttech;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.FileSystem;imp...
分类:
编程语言 时间:
2015-07-16 18:36:19
阅读次数:
173
1 #include 2 #include 3 4 std::string exePath = boost::filesystem::initial_path().string();这样就可以了。避免用win32 API这种又不友好也不跨平台的方式了。直接用boost舒服。
分类:
其他好文 时间:
2015-07-16 13:36:36
阅读次数:
435
Java代码如下:FileSystemfs=FileSystem.get(conf);in=fs.open(newPath("hdfs://192.168.130.54:19000/user/hmail/output/part-00000"));抛出异常如下:Exceptioninthread"ma...
分类:
编程语言 时间:
2015-07-16 11:19:38
阅读次数:
240
引言 Ubuntu一般是通过grub引导。grub分为三种:grub,grub2,和grub for dos(grub4dos).
最近在Windows下将一个较大的分区分了100G出来,准备用来装Win10,我在启动Ubuntu的时候,出现了一个问题:grub not found ===>grub rescue.
出现这个问题的原因是grub找不到Ubuntu所在的分区(出现这种情况...
分类:
系统相关 时间:
2015-07-12 17:34:40
阅读次数:
183
更多信息看这里:http://www.w3school.com.cn/php/func_filesystem_file_get_contents.asp
分类:
Web程序 时间:
2015-07-08 16:06:48
阅读次数:
141
目标:将VolGroup-lv_home缩小到125G,并将剩余的空间添加给VolGroup-lv_root1.首先查看磁盘使用情况[root@localhost ~]# df -h文件系统 容量 已用 可用 已用% 挂载点 Filesystem Size Used Avail Use% Mount...
分类:
其他好文 时间:
2015-07-05 16:37:19
阅读次数:
154
mount -n -o remount,rw / 解决只读问题 -n, --no-mtab Mount without writing in /etc/mtab. This is necessary for example when /etc is on a read-only filesystem...
分类:
其他好文 时间:
2015-07-03 11:56:54
阅读次数:
131
1 构建嵌入式开发平台
1.嵌入式linux 软件系统由bootloader、kernel、root filesystem 构成,如下:
Bootloader(一次固化) + 内核(多次更新) + 根文件系统制作
2.资料拷贝:
资料存放路径(24 机)如下:
2.6.35.7_tools
将上面路径下用到的文件拷到自己虚拟机中,存放在自建目录下:
例如(推荐):/home/edu/...
分类:
其他好文 时间:
2015-06-22 15:03:08
阅读次数:
229
关于Hadoop[root@master ~]# hadoop --help
Usage: hadoop [--config confdir] COMMAND
where COMMAND is one of:
fs run a generic filesystem user client
version print...
分类:
其他好文 时间:
2015-06-16 23:02:30
阅读次数:
188