码迷,mamicode.com
首页 >  
搜索关键字:compress    ( 805个结果
spark取得lzo压缩文件报错 java.lang.ClassNotFoundException
恩,这个问题,反正是我从来没有注意的问题,但今天还是写出来吧 配置信息 hadoop core-site.xml配置 <property> ???<name>io.compression.codecs</name> ????????<value>org.apache.hadoop.io.compress....
分类:编程语言   时间:2015-09-17 15:39:10    阅读次数:419
Linux学习之五——压缩与备份
一、Linux下常见的压缩文件*.Z compress 程序压缩的档案(现在不流行了,用gzip也能解压);*.gz gzip 程序压缩的档案;*.bz2 bzip2 程序压缩的档案;*.tar tar 程序打包的数据,并没有压缩过;*.tar.gz tar 程序打包的档案,其中并且经过 gzip ...
分类:系统相关   时间:2015-09-11 15:46:12    阅读次数:190
Linux系统管理-(7)-压缩与归档
常用压缩工具压缩后文件后缀compress/uncompress:.Zgzip/gunzip:.gzbzip2/bunzip2:.bz2xz/unxz:.xz1、gzip/gunzip.gzgzip[OPTION]...FILE...-d:解压缩,相当于gunzip-c:将结果输出至标准输出;-#:1-9,指定压缩比;zcat:不显式展开的前提下查看文本文件内容;2、bzip2/bunzip..
分类:系统相关   时间:2015-09-03 21:52:28    阅读次数:255
LeetCode "Encode and Decode Strings"
This is abouthttps://en.wikipedia.org/wiki/Run-length_encoding. The trick is, for a valid char, we only compress up to 254 occurences - count 255 mean...
分类:Web程序   时间:2015-08-29 06:10:34    阅读次数:327
Hadoop SequnceFile.Writer 压缩模式及压缩库浅析
先说明SequnceFile的压缩类型(Compression Type)分为三种NONE,RECORD,BLOCK,通过配置项io.seqfile.compression.type指定: ? ? ? ? ? ? NONE, Do not compress records ?即不压缩 ? ? ? ? ? ? ...
分类:其他好文   时间:2015-08-28 15:46:34    阅读次数:246
写一个脚本 从键盘让用户输入几个文件,脚本能够将此几个文件归档压缩成一个文件
vimmytar.sh#!/bin/bash # read-p"Threefiles:"file1file2file3 read-p"Destination:"DEST-->指定压缩存放目录及文件名称 read-p"Compress[gzip|bzip2}xz]:"COMP-->输入压缩的格式 case$COMPin gzip) tar-zcf${DEST}.tar.gz$file1$file2$file3 ;; bzip2) tar-jcf${DEST}...
分类:其他好文   时间:2015-08-25 16:57:06    阅读次数:141
Android学习之Bitmap对象与字节数组相互转换
1、将Bitmap对象读到字节数组中 ByteArrayOutputStream baos = new ByteArrayOutputStream(); bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos); byte[] datas = baos.toByteArray(); 2、将字节数组转为Bitmap对象 byte[] ...
分类:移动开发   时间:2015-08-21 00:17:36    阅读次数:255
用GO按老大要求写了一个小工具,用他脚本下载日志文件,然后让开发自己去下载
package main import ( "archive/tar" "bufio" "bytes" "compress/gzip" "flag" "fmt" "io" "net/http" "os" "os/exec" "regexp" "sort" "text/template" "time" ) type ID_info map[string]string ...
分类:其他好文   时间:2015-08-17 17:26:55    阅读次数:163
Linux常见压缩命令 - gzip,zcat,bzip2,bzcat
几个常见的压缩文件扩展名 *.Z compress 程序压缩的文件; *.gz gzip 程序压缩的文件; *.bz2 bzip2 程序压缩的文件; *.tar tar 程序打包的数据,并没有压缩过; *.tar.gz tar 程序打包的文件,其中并且经过 gzip 的压缩 *.tar.bz2 tar 程序打包的...
分类:系统相关   时间:2015-08-06 15:11:08    阅读次数:209
Oracle 表压缩(Table Compression)技术介绍
Oracle 表压缩(Table Compression)介绍1、官方文档说法: As your database grows in size, consider using table compression. Compression saves disk space, reduces memory use in the database buffer cache, and can signif...
分类:数据库   时间:2015-08-05 06:43:14    阅读次数:186
805条   上一页 1 ... 65 66 67 68 69 ... 81 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!