摘要: 例子:添加11.3的官方软件和升级源zypper ar http://download.opensuse.org/distribution/11.3/repo/oss/ mainzypper ar http://download.opensuse.org/distribution/11.3/repo 阅读全文
posted @ 2017-06-07 11:54 bonelee 阅读(1599) 评论(0) 推荐(0) 编辑
摘要: 从bulk.txt文件中按行读取,然后bulk导入。首先通过调用client.prepareBulk()实例化一个BulkRequestBuilder对象,调用BulkRequestBuilder对象的add方法添加数据。实现代码: 阅读全文
posted @ 2017-06-07 11:28 bonelee 阅读(3163) 评论(0) 推荐(0) 编辑
摘要: ES transport client bulk insert 传输(transport)客户端 TransportClient利用transport模块远程连接一个elasticsearch集群。它并不加入到集群中,只是简单的获得一个或者多个初始化的transport地址,并以轮询的方式与这些地址 阅读全文
posted @ 2017-06-07 11:23 bonelee 阅读(11001) 评论(0) 推荐(0) 编辑
摘要: As you can see, hadoop fsck and hadoop fs -dus report the effective HDFS storage space used, i.e. they show the “normal” file size (as you would see o 阅读全文
posted @ 2017-06-07 10:50 bonelee 阅读(1776) 评论(0) 推荐(0) 编辑