hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chengxiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5925) when aggregate with partitioned key, it would occur an empty path error.
Date Fri, 06 Dec 2013 01:54:35 GMT

     [ https://issues.apache.org/jira/browse/HIVE-5925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chengxiang Li updated HIVE-5925:
--------------------------------

    Attachment:     (was: HIVE-5925.patch)

> when aggregate with partitioned key, it would occur an empty path error.
> ------------------------------------------------------------------------
>
>                 Key: HIVE-5925
>                 URL: https://issues.apache.org/jira/browse/HIVE-5925
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Chengxiang Li
>
> CREATE TABLE test_paritions (uid BIGINT ) PARTITIONED BY (ds int);
>  
>  insert OVERWRITE TABLE test_paritions PARTITION (ds=20081221) 
>  select foo  from pokes; 
>  select min(ds) from test_paritions; 
> ava.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