<<<<<<< HEAD

mylinuxbackup

一些重要的配置文件备份,方便以后重装系统之后可以直接拷贝配置就可以了

Source code for book "Hadoop in Practice", Manning Publishing

Overview

This repo contains the code, scripts and data files that are referenced

from the book Hadoop in Practice, published by Manning.

Issues

If you hit any compilation or execution problems please create an issue

and I'll look into it as soon as I can.

Hadoop Version

All the code has been exercised against CDH3u2, which for the purposes

of the code is the same has Hadoop 0.20.x. There are a couple of places

where I utilize some features in Pig 0.9.1, which won't work with CDH3u1

which uses 0.8.1.

I've recently run some basic MapReduce jobs against CDH4, and I also updated

the examples so that they would run against Hadoop 2. Please let me know

on the Manning forum or

in a GitHub ticket if you encounter any issues.

Building and running

Download from github

git clone git://github.com/alexholmes/hadoop-book.git

Build

cd hadoop-book

mvn package

Runtime Dependencies

Many of the examples use Snappy and LZOP compression. Therefore

you may get runtime errors if you don't have them installed and configured

in your cluster.

Snappy can be installed on CDH by following the instructions at

https://ccp.cloudera.com/display/CDHDOC/Snappy+Installation.

To install LZOP follow the instructions at https://github.com/kevinweil/hadoop-lzo.

Run an example

# copy the input files into HDFS

hadoop fs -mkdir /tmp

hadoop fs -put test-data/ch1/* /tmp/

# replace the path below with the location of your Hadoop installation

# this isn't required if you are running CDH3

export HADOOP_HOME=/usr/local/hadoop

# run the map-reduce job

bin/run.sh com.manning.hip.ch1.InvertedIndexMapReduce /tmp/file1.txt /tmp/file2.txt output

c6ac47eb621ef9ba23fc62c1f1b37bb60c65f92d

linux系统迁移的重要配置文件,mylinuxbackup相关推荐

  1. Linux学习之三-Linux系统的一些重要配置文件

    Linux学习之三-Linux系统的一些重要配置文件 1.网卡配置文件 /etc/sysconfig/network-scripts/ifcfg-eth0 说明: DEVICE=eth0        ...

  2. linux 系统迁移到固态硬盘,Linux系统迁移记录(从HDD到SSD)

    Linux系统迁移记录(从HDD到SSD) 我把HDD上的Linux迁移到SSD上,重装系统太麻烦了,所以我直接拷贝整个系统,然后重建引导恢复,以下是记录. 两块硬盘 首先把SSD换上去,HDD用硬盘 ...

  3. linux常用的系统配置文件,Linux系统中的常用配置文件.pdf

    Lamp兄弟连32期 刘伟 Linux 系统中常用的配置文件汇总解析 注:为了方便记忆和学习,对 Linux 系统中常用的配置文件有一个整体上的认识和把握, 知道一些常用配置文件有哪些主要的选项和用途 ...

  4. Arch Linux 系统迁移

    镜像下载.域名解析.时间同步请点击 阿里巴巴开源镜像站 备份 Arch Linux 系统 安装 pigz 使用 pigz 多线程压缩比使用 tar 单线程压缩速度明显提升多倍 sudo pacman ...

  5. linux 系统迁移到固态硬盘,windows 和 Linux 系统 从硬盘迁移到SSD

    windows 和 Linux 系统 从硬盘迁移到SSD 1. Windows 实验室这次搞了几块三星的ssd,型号是:三星(SAMSUNG) 850 EVO 250G SATA3 固态硬盘 三星有个 ...

  6. linux 进程迁移,记一次成功的 linux 系统迁移

    需求 手头多余了一块闲置的 SSD,可以把用了4年的笔记本的机械硬盘替换升级.笔记本装的是 Linux 系统,选择手动迁移分区. 成功之路 原始磁盘是 MBR 的 UEFI 引导,根目录是 ext4 ...

  7. linux 系统迁移到固态硬盘,ubuntu14.04硬盘迁移记录HHD-SSD

    电脑终于鸟枪换炮,换上了块SSD,windows直接是重装了,但是由于原来的ubuntu使用可很久了,配置的环境什么的舍不得丢掉重来,所以冒险尝试把这个系统迁移到SSD上面来,首先百度了下,还是有不少 ...

  8. linux 迁移 系统教程,记一次成功的 linux 系统迁移

    需求 手头多余了一块闲置的 SSD,可以把用了4年的笔记本的机械硬盘替换升级.笔记本装的是 Linux 系统,选择手动迁移分区. 成功之路 原始磁盘是 MBR 的 UEFI 引导,根目录是 ext4 ...

  9. linux 系统迁移 固态硬盘,系统迁移

    使用DiskGenius软件,可以方便地将系统从一个硬盘迁移到另外一个硬盘上,或者更常见的是将系统从硬盘迁移到SSD固态硬盘.U盘等. 首先, 需要将第二块硬盘.SSD固态硬盘或U盘等,在电脑上安装好 ...

最新文章

  1. 腾讯二面:@Bean与@Component用在同一个类上,会怎么样?
  2. 迁移物理solaris系统至一个区域
  3. 工作思路 + 邮件问题
  4. 如何给 mongodb 设置密码
  5. 如何将Pcm格式的音频文件转换成Wave格式的文件
  6. 再次检查打印机名称 并确保_我们的公司名称糟透了。 这是确保您没有的方法。...
  7. oracle 查看用户、权限、角色
  8. Python数据结构——序列总结
  9. c++之string格式化
  10. 查看网络情况netstat指令与动态监控top指令
  11. X64上的IIS調用32位的DLL方法
  12. 凡事易学难精,要精通都要天赋
  13. 今日头条 mysql_今日头条的核心架构解析
  14. matlab基于凹点匹配的分割算法,一种基于凹点匹配的重叠图像分割算法
  15. Android O 修改吉字节为GB
  16. Android Studio 高版本无法执行Java main方法的问题
  17. Lack of free swap space on
  18. 微信小程序setData注意事项,使用方法
  19. 用XFS保护你的知识产权
  20. 《费恩曼物理学讲义》读书笔记

热门文章

  1. Hadoop之MapReduce入门
  2. 轻松 Flutter 入门,秒变大前端
  3. kernel-devel
  4. 编写自己的Matcher与如何让编译器识别被mock的重载函数
  5. 时光机穿梭---撤销修改
  6. 深度学习网络模型AlexNet
  7. 安装Xen Server创建虚拟机
  8. linux查看指定用户的所有进程
  9. redis 分布式锁的实现方式
  10. 小师妹学JVM之:JVM中的Safepoints