- 博客(5)
- 资源 (4)
- 收藏
- 关注
原创 Thrift 文件的格式及可用的数据类型
编写thrift文件是,需要知道thrift文件支持的数据类型有哪些,如果定义Service等。下面是官方文档的说明:## Thrift Tutorial# Mark Slee (mcslee@facebook.com)## This file aims to teach you how to use Thrift, in a .thrift file. Neato. The# fi
2014-11-11 11:05:18 10540
原创 PL/SQL Developer 中文乱码问题的解决
分三个步骤解决:1.检查服务器编码: 执行SQL语法: select * from v$nls_parameters; 2.设置本地客户端编码: 进入 我的电脑,属性,高级,环境变量,添加2项:LANG=zh_CN.GBK 和 NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK" 注意:NLS_LANG是由步
2014-11-11 10:56:59 1663
原创 HBase 数据备份
HBase提供了备份的API,直接使用shell脚本调用就可以啦。具体命令如下:hbase org.apache.hadoop.hbase.mapreduce.Export 'user' /hbase_backup_set/20141110/userhbase org.apache.hadoop.hbase.mapreduce.Import 'user' /hbase_backup_set
2014-11-10 14:41:20 1528
原创 日志收集系统简介
基于Hadoop、Zookeeper、HBase、Flume框架上搭建一起来的一个日志分析系统。使用Hadoop中的HDFS作为原始数据的存储,Flume作为数据的实时采集、转换等功能。HBase作为数据的存储数据库,查询页面的数据都从这个分布式数据库中的一个表中获取,根据应用程序的业务不同,查询不同的HBase表。实现了下面几大功能: 1 数据采集、转换和存储。正如上面介绍
2014-11-05 10:08:53 1644
原创 Java语言中 将double类型不以科学计数法输出
Double double1 = 1234567899.899; DecimalFormat decimalFormat = new DecimalFormat("#,##0.00");//格式化设置 System.out.println("--------" + decimalFormat.format(double1)); System.out.println(double1);
2014-11-05 10:08:14 4869
Machine Learning With Go
2017-10-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人