hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (Created) (JIRA)" <>
Subject [jira] [Created] (HIVE-2778) Fail on table sampling
Date Mon, 06 Feb 2012 02:37:59 GMT
Fail on table sampling 

                 Key: HIVE-2778
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.9.0
            Reporter: Navis
            Assignee: Navis
             Fix For: 0.9.0

Trying table sampling on any non-empty table throws NPE. This does not occur by test on mini-MR.
select count(*) from emp tablesample (0.1 percent);     
Total MapReduce jobs = 1
Launching Job 1 out of 1
Number of reduce tasks determined at compile time: 1
In order to change the average load for a reducer (in bytes):
  set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
  set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
  set mapred.reduce.tasks=<number>
	at org.apache.hadoop.mapred.JobClient.writeOldSplits(
	at org.apache.hadoop.mapred.JobClient.writeSplits(
	at org.apache.hadoop.mapred.JobClient.access$500(
	at org.apache.hadoop.mapred.JobClient$
	at org.apache.hadoop.mapred.JobClient$
	at Method)
	at org.apache.hadoop.mapred.JobClient.submitJobInternal(
	at org.apache.hadoop.mapred.JobClient.submitJob(
	at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(
	at org.apache.hadoop.hive.ql.exec.MapRedTask.execute(
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(
	at org.apache.hadoop.hive.ql.Driver.launchTask(
	at org.apache.hadoop.hive.ql.Driver.execute(
	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(
	at org.apache.hadoop.hive.cli.CliDriver.processLine(
	at org.apache.hadoop.hive.cli.CliDriver.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.hadoop.util.RunJar.main(
Job Submission failed with exception 'java.lang.NullPointerException(null)'
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message