hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Chakka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-883) URISyntaxException when partition value contains special chars
Date Sun, 18 Oct 2009 00:13:31 GMT

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

Prasad Chakka commented on HIVE-883:
------------------------------------

also, can you add describe partition in the test?

> URISyntaxException when partition value contains special chars
> --------------------------------------------------------------
>
>                 Key: HIVE-883
>                 URL: https://issues.apache.org/jira/browse/HIVE-883
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-883.1.patch, HIVE-883.2.patch
>
>
> When we try to insert into a partitioned table that the partition value contains special
char ":", we will see an exception
> {code}
> stack trace:
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute
URI: ts=2009-10-16 16:14:10
>         at org.apache.hadoop.fs.Path.initialize(Path.java:140)
>         at org.apache.hadoop.fs.Path.<init>(Path.java:126)
>         at org.apache.hadoop.fs.Path.<init>(Path.java:45)
>         at org.apache.hadoop.hive.ql.metadata.Partition.initialize(Partition.java:146)
>         at org.apache.hadoop.hive.ql.metadata.Partition.<init>(Partition.java:123)
>         at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer$tableSpec.<init>(BaseSemanticAnalyzer.java:292)
>         at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnalyzer.java:747)
>         at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:4383)
>         at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:87)
>         at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:251)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:283)
>         at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:123)
>         at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:181)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:251)
>         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:166)
>         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)
> Caused by: java.net.URISyntaxException: Relative path in absolute URI: ts=2009-10-16
16:14:10
>         at java.net.URI.checkPath(URI.java:1787)
>         at java.net.URI.<init>(URI.java:735)
>         at org.apache.hadoop.fs.Path.initialize(Path.java:137)
>         ... 22 more
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message