1、概述Hadoop Streaming是Hadoop提供的一个编程工具,它允许用户使用任何可执行文件或者脚本文件作为Mapper和Reducer,例如:采用shell脚本语言中的一些命令作为mapper和reducer(cat作为mapper,wc作为reducer)$HADOOP_HOME/bi...
分类:
其他好文 时间:
2014-06-19 06:10:13
阅读次数:
345
相对于普通磁盘优势是逻辑卷可以在线动态的拉伸(不用先unmount操作),只要vg中有足够的空间即可1:首先查看vg是否有足够的空间[root@gechong mapper]# vgdisplay2:逻辑卷的在线拉伸[root@gechong mapper]# lvextend -L +2G /de...
分类:
系统相关 时间:
2014-06-18 18:09:23
阅读次数:
493
A monolithic kernel is a kernel where all services (file system, VFS, device drivers, etc) as well as core functionality (scheduling, memory allocatio...
分类:
其他好文 时间:
2014-06-18 12:45:23
阅读次数:
361
DHCP实验步骤1、设置ip[root@localhost~]#vim/etc/sysconfig/network-scripts/ifcfg-eth0#IntelCorporation82545EMGigabitEthernetController(Copper)DEVICE=eth0BOOTPROTO=noneONBOOT=yesHWADDR=00:0c:29:5d:ed:a4IPADDR=192.168.10.253PREFIX=24[root@localhost~]#vim/etc/sy..
分类:
系统相关 时间:
2014-06-17 16:59:55
阅读次数:
352
I finally figured this problem out. The device I am using is a Samsung Galaxy S4 and the actual problem (thanks Wibble for guidance in your answer, bu...
分类:
其他好文 时间:
2014-06-17 15:21:50
阅读次数:
240
正确的程序如下所示:
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from VideoCapture import Device
import time
import sys,pygame
pygame.init()
size = width,height = 620,485
speed = [2,2]
blac...
分类:
编程语言 时间:
2014-06-16 23:10:24
阅读次数:
568
实验报告DHCP的配置一.实验拓扑服务器----------客户机二.实验条件。所有试验机在相同的网段DHCP服务器有固定的ip三.实验步骤:设置ip:[root@localhost~]#cat/etc/sysconfig/network-scripts/ifcfg-eth0#IntelCorporation82545EMGigabitEthernetController(Copper)DEVICE=e..
分类:
其他好文 时间:
2014-06-16 17:16:10
阅读次数:
334
两个与hal有关的结构体hw_module_t,hw_device_t一、jni和hal之间的关系Tip:几种app,jni,hal,framework之间的关系框架这篇文章用的框架是第二种框架的编写,他们的关系如下;可以看出jni主要通过pModule和pdevice来获取hal中的变量来操作hal层二、jni操作hal获取hal层:1、jni获..
分类:
移动开发 时间:
2014-06-16 15:17:59
阅读次数:
374
要求,1、DHCP的IP192.168.1.2522、分配192.168.1.10-200的IP地址,3、A主机,固定IPA00:0C:29:A8:43:F0192.168.1.100步骤:一、安装DHCP服务rpm-ivhdhcp-3(tab)二、配置文件1、配置本机IP地址vim/etc/sysconfig/network-scripts/ifcfg-eth0永久配置DEVICE=eth0BOOTPROTO=stati..
分类:
系统相关 时间:
2014-06-16 15:03:41
阅读次数:
390
前言 本文的目的很明确:介绍如何将二维数组传递进显存,以及如何将二维数组从显存传递回主机端。实现步骤 1. 在显存中为二维数组开辟空间 2. 获取该二维数组在显存中的pitch 值 (cudaMallocPitch 实现) 3. 将二维数组传递进显存 (cudaMemcpy2D 实现) 4...
分类:
其他好文 时间:
2014-06-14 16:36:14
阅读次数:
301