使用 shuf 来打乱一个文件中的行或是选择文件中一个随机的行。

es 5 安装es-hadoop-5 插件

Elasticsearch | 作者 dddxxx | 发布于2017年01月16日 | 阅读数:6509

你好 看你之前用过es-hadoop,版本是多少?es-hadoop 5 怎么安装呢?怎么应用?安装之后怎么验证是否安装成功?
已邀请:

medcl - 今晚打老虎。

赞同来自:

看来是问我,es-hadoop是一个jar包,也就是工作在hadoop这边,es这边不需要安装。
关于在hadoop这边怎么用,首先由很多种用法,如map-reduce,看文档:
[url=https://www.elastic.co/guide/en/elasticsearch/hadoop/current/mapreduce.html]https://www.elastic.co/guide/e ... .html​[/url] 
如果是Hive:[url=https://www.elastic.co/guide/en/elasticsearch/hadoop/current/hive.html]https://www.elastic.co/guide/e ... .html​[/url] 
还有spark、storm等等,上面的连接都能找到使用方法。
 
如果是用 hadoop HDFS 用来做 snapshot,安装插件的文档:https://www.elastic.co/guide/e ... .html

要回复问题请先登录注册