Ashwin SL created HIVE-7038:
-------------------------------

             Summary: Join of external tables of elasticsearch giving an error.
                 Key: HIVE-7038
                 URL: https://issues.apache.org/jira/browse/HIVE-7038
             Project: Hive
          Issue Type: Bug
          Components: Query Processor, Serializers/Deserializers
    Affects Versions: 0.13.0, 0.12.0
            Reporter: Ashwin SL


Select * is working while the Join of the tables is giving the following error:

hive> select * from failedauth f, failedauth2 f1 where f.username=f1.username;
Total jobs = 1
14/05/09 10:57:11 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
14/05/09 10:57:11 WARN conf.Configuration: 
file:/tmp/hduser/hive_2014-05-09_10-57-09_954_5441752347301140125-1/-local-10006/jobconf.xml:an
 attempt to override final parameter: 
mapreduce.job.end-notification.max.retry.interval;  Ignoring.
14/05/09 10:57:11 WARN conf.Configuration: 
file:/tmp/hduser/hive_2014-05-09_10-57-09_954_5441752347301140125-1/-local-10006/jobconf.xml:an
 attempt to override final parameter: mapreduce.jobtracker.system.dir;  
Ignoring.
14/05/09 10:57:11 WARN conf.Configuration: 
file:/tmp/hduser/hive_2014-05-09_10-57-09_954_5441752347301140125-1/-local-10006/jobconf.xml:an
 attempt to override final parameter: 
mapreduce.job.end-notification.max.attempts;  Ignoring.
14/05/09 10:57:12 INFO Configuration.deprecation: mapred.reduce.tasks is 
deprecated. Instead, use mapreduce.job.reduces
14/05/09 10:57:12 INFO Configuration.deprecation: mapred.min.split.size is 
deprecated. Instead, use mapreduce.input.fileinputformat.split.minsize
14/05/09 10:57:12 INFO Configuration.deprecation: 
mapred.reduce.tasks.speculative.execution is deprecated. Instead, use 
mapreduce.reduce.speculative
14/05/09 10:57:12 INFO Configuration.deprecation: 
mapred.min.split.size.per.node is deprecated. Instead, use 
mapreduce.input.fileinputformat.split.minsize.per.node
14/05/09 10:57:12 INFO Configuration.deprecation: mapred.input.dir.recursive is 
deprecated. Instead, use mapreduce.input.fileinputformat.input.dir.recursive
14/05/09 10:57:12 INFO Configuration.deprecation: 
mapred.min.split.size.per.rack is deprecated. Instead, use 
mapreduce.input.fileinputformat.split.minsize.per.rack
14/05/09 10:57:12 INFO Configuration.deprecation: mapred.max.split.size is 
deprecated. Instead, use mapreduce.input.fileinputformat.split.maxsize
14/05/09 10:57:12 INFO Configuration.deprecation: 
mapred.committer.job.setup.cleanup.needed is deprecated. Instead, use 
mapreduce.job.committer.setup.cleanup.needed
Execution log at: 
/tmp/hduser/hduser_20140509105757_945cc986-7fb1-491e-9bc1-a17cc150c6c6.log
2014-05-09 10:57:12     Starting to launch local task to process map join;      
maximum memory = 503840768
Execution failed with exit status: 2
Obtaining error information

Task failed!
Task ID:
  Stage-4

Logs:

/tmp/hduser/hive.log
FAILED: Execution Error, return code 2 from 
org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask

The Following exception was seen in /tmp/hduser/hive.log

2014-05-07 15:31:58,942 INFO  mr.ExecDriver (SessionState.java:printInfo(410)) 
- Execution log at: /tmp/hduser/.log
2014-05-07 15:31:59,016 WARN  conf.Configuration 
(Configuration.java:loadProperty(2172)) - 
file:/tmp/hduser/hive_2014-05-07_15-31-57_274_2380982880290259806-1/-local-10005/jobconf.xml:an
 attempt to override final parameter: dfs.datanode.data.dir;  Ignoring.
2014-05-07 15:31:59,017 WARN  conf.Configuration 
(Configuration.java:loadProperty(2172)) - 
file:/tmp/hduser/hive_2014-05-07_15-31-57_274_2380982880290259806-1/-local-10005/jobconf.xml:an
 attempt to override final parameter: 
mapreduce.job.end-notification.max.retry.interval;  Ignoring.
2014-05-07 15:31:59,019 WARN  conf.Configuration 
(Configuration.java:loadProperty(2172)) - 
file:/tmp/hduser/hive_2014-05-07_15-31-57_274_2380982880290259806-1/-local-10005/jobconf.xml:an
 attempt to override final parameter: dfs.namenode.name.dir;  Ignoring.
2014-05-07 15:31:59,020 WARN  conf.Configuration 
(Configuration.java:loadProperty(2172)) - 
file:/tmp/hduser/hive_2014-05-07_15-31-57_274_2380982880290259806-1/-local-10005/jobconf.xml:an
 attempt to override final parameter: dfs.namenode.name.dir;  Ignoring.
2014-05-07 15:31:59,020 WARN  conf.Configuration 
(Configuration.java:loadProperty(2172)) - 
file:/tmp/hduser/hive_2014-05-07_15-31-57_274_2380982880290259806-1/-local-10005/jobconf.xml:an
 attempt to override final parameter: mapreduce.jobtracker.system.dir;  
Ignoring.
2014-05-07 15:31:59,021 WARN  conf.Configuration 
(Configuration.java:loadProperty(2172)) - 
file:/tmp/hduser/hive_2014-05-07_15-31-57_274_2380982880290259806-1/-local-10005/jobconf.xml:an
 attempt to override final parameter: dfs.datanode.data.dir;  Ignoring.
2014-05-07 15:31:59,021 WARN  conf.Configuration 
(Configuration.java:loadProperty(2172)) - 
file:/tmp/hduser/hive_2014-05-07_15-31-57_274_2380982880290259806-1/-local-10005/jobconf.xml:an
 attempt to override final parameter: dfs.tmp.dir;  Ignoring.
2014-05-07 15:31:59,022 WARN  conf.Configuration 
(Configuration.java:loadProperty(2172)) - 
file:/tmp/hduser/hive_2014-05-07_15-31-57_274_2380982880290259806-1/-local-10005/jobconf.xml:an
 attempt to override final parameter: 
mapreduce.job.end-notification.max.attempts;  Ignoring.
2014-05-07 15:31:59,047 INFO  exec.Utilities (PerfLogger.java:PerfLogBegin(97)) 
- <PERFLOG method=deserializePlan>
2014-05-07 15:31:59,152 INFO  exec.Utilities (PerfLogger.java:PerfLogEnd(124)) 
- </PERFLOG method=deserializePlan start=1399456919047 end=1399456919152 
duration=105>
2014-05-07 15:31:59,156 INFO  mr.MapredLocalTask 
(SessionState.java:printInfo(410)) - 2014-05-07 03:31:59       Starting to 
launch local task to process map join;      maximum memory = 503840768
2014-05-07 15:31:59,160 INFO  mr.MapredLocalTask 
(MapredLocalTask.java:initializeOperators(400)) - fetchoperator for failedauth 
created
2014-05-07 15:31:59,168 ERROR mr.MapredLocalTask 
(MapredLocalTask.java:executeFromChildJVM(327)) - Hive Runtime Error: Map local 
work failed
org.apache.hadoop.hive.ql.metadata.HiveException: Failed with exception 
nulljava.lang.NullPointerException
        at 
org.apache.hadoop.hive.ql.exec.FetchOperator.getRowInspectorFromTable(FetchOperator.java:231)
        at 
org.apache.hadoop.hive.ql.exec.FetchOperator.getOutputObjectInspector(FetchOperator.java:602)
        at 
org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.initializeOperators(MapredLocalTask.java:418)
        at 
org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.executeFromChildJVM(MapredLocalTask.java:305)
        at 
org.apache.hadoop.hive.ql.exec.mr.ExecDriver.main(ExecDriver.java:722)
        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)

        at 
org.apache.hadoop.hive.ql.exec.FetchOperator.getOutputObjectInspector(FetchOperator.java:638)
        at 
org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.initializeOperators(MapredLocalTask.java:418)
        at 
org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask.executeFromChildJVM(MapredLocalTask.java:305)
        at 
org.apache.hadoop.hive.ql.exec.mr.ExecDriver.main(ExecDriver.java:722)
        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)






--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to