hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5061) Row sampling throws NPE when used in sub-query
Date Thu, 15 Aug 2013 16:15:48 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741114#comment-13741114
] 

Hudson commented on HIVE-5061:
------------------------------

FAILURE: Integrated in Hive-trunk-hadoop1-ptest #127 (See [https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/127/])
HIVE-5061 : Row sampling throws NPE when used in sub-query (Navis via Ashutosh Chauhan) (hashutosh:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1513956)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientpositive/split_sample.q
* /hive/trunk/ql/src/test/results/clientpositive/split_sample.q.out

                
> Row sampling throws NPE when used in sub-query
> ----------------------------------------------
>
>                 Key: HIVE-5061
>                 URL: https://issues.apache.org/jira/browse/HIVE-5061
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>             Fix For: 0.12.0
>
>         Attachments: HIVE-5061.D12165.1.patch
>
>
> select * from (select * from src TABLESAMPLE (1 ROWS)) x;
> {noformat}
> ava.lang.NullPointerException
> 	at org.apache.hadoop.hive.ql.parse.SplitSample.getTargetSize(SplitSample.java:103)
> 	at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.sampleSplits(CombineHiveInputFormat.java:487)
> 	at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:405)
> 	at org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:1025)
> 	at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1017)
> 	at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:174)
> 	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:928)
> 	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:881)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:396)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1278)
> 	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:881)
> 	at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:855)
> 	at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:426)
> 	at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:144)
> 	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:151)
> 	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:65)
> 	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1424)
> 	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1204)
> 	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1009)
> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:878)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259)
> 	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:413)
> 	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:781)
> 	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)
> 	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message