hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Thusoo <athu...@facebook.com>
Subject RE: [hive-users] insert overwrite local directory syntax?
Date Thu, 20 Nov 2008 16:30:30 GMT
Moving to the apache mailing list.

I think you are using a wrong version of hive. validateInput was not present in the 0.18 and
0.19 versions of hadoop. It seems that you are using a 0.17 version of hive with one of those
versions of hadoop.

Ashish
________________________________________
From: hive-users-bounces@publists.facebook.com [hive-users-bounces@publists.facebook.com]
On Behalf Of tim robertson [timrobertson100@gmail.com]
Sent: Thursday, November 20, 2008 7:19 AM
To: hive-users@publists.facebook.com
Subject: [hive-users] insert overwrite local directory syntax?

Hi All,

I'm trying to select into a local file but getting a 255 error.  Are
the errors defined anywhere public?
(I am using the tutorial:
http://mirror.facebook.com/facebook/hive/HiveLanguageTutorial.pdf
which has this syntax)

Thanks,

Tim

hive> INSERT OVERWRITE LOCAL DIRECTORY '/tmp/delme' select
occurrence_record.* from occurrence_record;
Total MapReduce jobs = 1
08/11/20 16:14:12 WARN exec.ExecDriver: Number of reduce tasks not
specified. Defaulting to 0 since there's no reduce operator
08/11/20 16:14:12 INFO exec.ExecDriver: Adding input file
/user/hive/warehouse/occurrence_record
08/11/20 16:14:12 INFO jvm.JvmMetrics: Initializing JVM Metrics with
processName=JobTracker, sessionId=
java.lang.AbstractMethodError:
org.apache.hadoop.hive.ql.io.HiveInputFormat.validateInput(Lorg/apache/hadoop/mapred/JobConf;)V
        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:705)
        at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:268)
        at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:366)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
        at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220)

FAILED: Execution Error, return code 255 from
org.apache.hadoop.hive.ql.exec.MapRedTask
Time taken: 2.149 seconds
hive>
_______________________________________________
hive-users mailing list
hive-users@publists.facebook.com
http://publists.facebook.com/mailman/listinfo/hive-users

Mime
View raw message