Closed code-rider closed 10 years ago
By the looks of it you have some basic Hive issues - have you manage to run any type of Hive query?
java.io.IOException: Cannot run program "$HADOOP_HOME/bin/hadoop" (in directory "/usr/local/hive-src/packaging/target/apache-hive-0.13.1-bin/apache-hive-0.13.1-bin"): error=2, No such file or directory
Basically your hive install cannot find Hadoop - try reading the Hive docs or the Hive mailing list. Or give one of the Hive VMs a spin...
all other queries are working fine. this error is show on only in join query. $HADOOP_HOME = /usr/local/hive-src/packaging/target/apache-hive-0.13.1-bin/apache-hive-0.13.1-bin"
in the error path is correct for hadoop.
The error is not caused by es-hadoop - hence why it doesn't appear in the stracktrace. It's a configuration issue and you can most likely reproduce it with other JOINs outside Elasticsearch and Elasticsearch Hadoop.
I'm sorry but there's nothing we can do since this is outside the scope of es-hadoop.
i know error is not looking about es-hadoop. but join query for hive tables is working fine. example query: select t.user_id ,t.text from hive_table1 t join ( select user_id from hive_table2) s on t.user_id = s.user_id limit 50;
result:
Total jobs = 1
Stage-1 is selected by condition resolver.
Launching Job 1 out of 1
Number of reduce tasks not specified. Estimated from input data size: 1
In order to change the average load for a reducer (in bytes):
set hive.exec.reducers.bytes.per.reducer=
other queries working fine to els and hive . join query to hive tables working fine also. but when i send join query to es table then its happen its mean its about es-hadoop this is my opinion. you are expert and having knowledge more then me so you better knows then me. any help appreciated thanks!
I tried to join two tables but it doesnt work. this issue already raised but that is closed and i think changes are not merge in current release. my issue is same as #180 but error is not same. i am using hive-0.13.1 i have tried latest snapshots from https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch-hadoop/ also used jar downloaded from http://www.elasticsearch.org/overview/hadoop/download/ 2.0.1 2.1.0.Beta1 but not working. get different errors with different snapshots. with Stable Release 2.0.1 and Beta Release 2.1.0.Beta1 i am getting same error when i send join query to elasticsearch tables. select query is working fine index in ELS is also working. join query error is .
java.io.IOException: Cannot run program "$HADOOP_HOME/bin/hadoop" (in directory "/usr/local/hive-src/packaging/target/apache-hive-0.13.1-bin/apache-hive-0.13.1-bin"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) at java.lang.Runtime.exec(Runtime.java:617) at java.lang.Runtime.exec(Runtime.java:450) at org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.execute(MapredLocalTask.java:258) at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:153) at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85) at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1503) at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1270) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1088) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:911) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:901) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:268) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:220) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:423) at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:792) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:686) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.RunJar.main(RunJar.java:212) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.(UNIXProcess.java:186)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
... 21 more
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
help me out ! Thanks