hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5818) When group by a partition column, it will occur an empty path
Date Thu, 14 Nov 2013 23:45:23 GMT

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

Hive QA commented on HIVE-5818:
-------------------------------



{color:red}Overall{color}: -1 no tests executed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12613756/HIVE-5818.patch

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/287/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/287/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Tests failed with: IllegalArgumentException: null
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12613756

> When group by a partition column, it will occur an empty path
> -------------------------------------------------------------
>
>                 Key: HIVE-5818
>                 URL: https://issues.apache.org/jira/browse/HIVE-5818
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: lingjie.shu
>         Attachments: HIVE-5818.patch
>
>
> 1.Create a partition table:
> CREATE TABLE test_partition (uid BIGINT ) PARTITIONED BY (ds int); 
> 2.Load data:
> insert OVERWRITE TABLE test_partition PARTITION (ds=20081221) select foo  from pokes;

> 3.query:
> select min(ds) from test_paritions; 
> There will be an error:
> java.lang.IllegalArgumentException: Can not create a Path from an empty string 
> at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82) 
> at org.apache.hadoop.fs.Path.<init>(Path.java:90) 
> at org.apache.hadoop.hive.ql.io.HiveInputFormat$HiveInputSplit.getPath(HiveInputFormat.java:106)

> at org.apache.hadoop.mapred.MapTask.updateJobWithSplit(MapTask.java:457) 
> at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:416) 
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:373) 
> at org.apache.hadoop.mapred.Child$4.run(Child.java:266) 
> 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:1113)

> at org.apache.hadoop.mapred.Child.main(Child.java:260) 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message