mac os x maven编译spark-2.1.0 for hadoop-2.8.0 1.官方文档中要求安装Maven 3.3.9+ 和Java 8 ; 2.执行 export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=512m"3.cd spar ...
分类:
系统相关 时间:
2017-05-01 14:15:50
阅读次数:
316
IP及分区规划 安装配置DRBD wget http://oss.linbit.com/drbd/8.4/drbd-8.4.4.tar.gz export LC_ALL=C vi /etc/profile增加export LC_ALL=C并执行source /etc/profile tar -zxf ...
分类:
其他好文 时间:
2017-05-01 09:49:42
阅读次数:
268
0 前言 本文使用freemodbus协议栈,在EasyARM i.mx287上实现了modbus tcp从机。在该从机中定义了线圈寄存器。当中线圈寄存器地址较低的4位和EasyARM的P2.4至P2.5关联,通过modbus指令可控制GPIO的输出。本文改动自freemodbus 演示样例LINU ...
分类:
数据库 时间:
2017-05-01 09:46:45
阅读次数:
1084
两种用法: 一、指定输出类名 二、不指定输出类名 ...
分类:
其他好文 时间:
2017-05-01 00:19:33
阅读次数:
803
本节如果你已经从Dynamodb中导出过数据,而且导出的文件以及被存入S3。文件内部结构会在Verify Data Export File 中描写叙述。 我们称之前导出数据的原始表为source table,数据将要被导入的表为destination table。你能够将S3中的导出文件导入到dyn ...
分类:
数据库 时间:
2017-04-30 18:38:01
阅读次数:
554
import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'filesize' }) export class FileSizePipe implements PipeTransform { transform(size: ... ...
分类:
其他好文 时间:
2017-04-30 17:10:54
阅读次数:
158
一、查看所有环境变量的名称和值: Linux下:export Windows下:set 二、根据名称查该环境变量的值: Linux下:echo $环境变量名 如:echo $ORACLE_HOME Windows下:set环境变量名 如:set $ORACLE_HOME 三、设置环境变量: Linu ...
这里使用的版本号是cdh发行的pig-0.12.0-cdh5.1.2 下载地址点这里 1.Pig简单介绍: Pig是yahoo捐献给apache的一个项目。它是SQL-like语言。是在MapReduce上构建的一种高级查询语言,把一些运算编译进MapReduce模型的Map和Reduce中,而且用 ...
分类:
其他好文 时间:
2017-04-30 12:43:57
阅读次数:
210
【ES2015 import】 The import statement is used to import functions, objects or primitives that have been exported from an external module, another scrip ...
分类:
其他好文 时间:
2017-04-29 13:40:46
阅读次数:
164
#!/bin/bash # chkconfig: - 95 15 # description: Tomcat start/stop/status script #Location of JAVA_HOME (bin files) export JAVA_HOME= /usr/java/jdk1.7. ...
分类:
其他好文 时间:
2017-04-29 09:42:30
阅读次数:
192