运行elasticsearch 报错

来源:14-1 elasticsearch介绍

慕田峪5356548

2017-07-03

Failed to locate the winutils binary in the hadoop binary path

D:\用户目录\下载\elasticsearch-rtf-master\bin>elasticsearch

[2017-07-03T20:10:54,248][INFO ][o.e.n.Node               ] [] initializing ...

[2017-07-03T20:10:54,510][INFO ][o.e.e.NodeEnvironment    ] [4brW434] using [1]

data paths, mounts [[杞欢 (D:)]], net usable_space [140.6gb], net total_space

[310gb], spins? [unknown], types [NTFS]

[2017-07-03T20:10:54,512][INFO ][o.e.e.NodeEnvironment    ] [4brW434] heap size

[1.9gb], compressed ordinary object pointers [true]

[2017-07-03T20:10:54,516][INFO ][o.e.n.Node               ] node name [4brW434]

derived from node ID [4brW434bRbimtz74soQX-g]; set [node.name] to override

[2017-07-03T20:10:54,521][INFO ][o.e.n.Node               ] version[5.1.1], pid

4428], build[5395e21/2016-12-06T12:36:15.409Z], OS[Windows 7/6.1/amd64], JVM[Or

cle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_131/25.131-b11]

[2017-07-03T20:10:57,696][INFO ][c.c.m.Dictionary         ] [Dict Loading] char

 loaded time=35ms, line=12638, on file=chars.dic

[2017-07-03T20:10:57,699][INFO ][c.c.m.Dictionary         ] [Dict Loading] word

 loaded time=1ms, line=14, on file=words-my.dic

[2017-07-03T20:10:57,932][INFO ][c.c.m.Dictionary         ] [Dict Loading] word

 loaded time=232ms, line=157202, on file=words.dic

[2017-07-03T20:10:57,934][INFO ][c.c.m.Dictionary         ] [Dict Loading] unit

loaded time=1ms, line=22, on file=units.dic

[2017-07-03T20:11:02,650][ERROR][o.a.h.u.Shell            ] Failed to locate th

 winutils binary in the hadoop binary path

java.io.IOException: Could not locate executable C:\Users\Administrator\AppData

Local\Temp\hadoop8718006347838128031\bin\winutils.exe in the Hadoop binaries.

        at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:356) ~[h

doop-common-2.7.1.jar:?]

        at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:371) [hadoop

common-2.7.1.jar:?]

        at org.apache.hadoop.util.Shell.<clinit>(Shell.java:364) [hadoop-common

2.7.1.jar:?]

        at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:80) [ha

oop-common-2.7.1.jar:?]

        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_131]

        at java.lang.Class.forName(Class.java:264) [?:1.8.0_131]


写回答

1回答

bobby

2017-07-04

亲 你是不是没有下载elasticsearch-rtf 版本 而是去官网下载 elasticsearch-hadoop版本了 如果是就下载错版本了 重新下载一个版本就行了

0
0

Scrapy打造搜索引擎 畅销4年的Python分布式爬虫课

带你彻底掌握Scrapy,用Django+Elasticsearch搭建搜索引擎

5796 学习 · 6290 问题

查看课程