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

David Chen commented on HIVE-7110:
----------------------------------

[~cwsteinbach] The only other test in hcatalog-core that uses the 
ProxyFileSystem is TestEximSemanticAnalysis, which is currently disabled. 
According to the Git logs, that test was broken (i.e. .java.broken) ever since 
it was checked in when the HCatalog codebase was merged into the Hive codebase.

As for whether TestHCatPartitionPublish ever worked, one indication that it 
worked at one point was the following commit, which apparently fixed HCatalog 
unit tests to run on Windows: 
https://github.com/apache/hive/commit/e884d60a802ee0c76f09c18b08ce93dab7383267

I can use something like git bisect to see whether the test passed at one 
point, but that will be very time consuming. I think that should be done as 
part of a separate task since this test works now with this patch and since I 
will be doing more work involving the HCatalog core tests anyway.

> TestHCatPartitionPublish test failure: No FileSystem or scheme: pfile
> ---------------------------------------------------------------------
>
>                 Key: HIVE-7110
>                 URL: https://issues.apache.org/jira/browse/HIVE-7110
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>            Reporter: David Chen
>            Assignee: David Chen
>         Attachments: HIVE-7110.1.patch, HIVE-7110.2.patch, HIVE-7110.3.patch, 
> HIVE-7110.4.patch
>
>
> I got the following TestHCatPartitionPublish test failure when running all 
> unit tests against Hadoop 1. This also appears when testing against Hadoop 2.
> {code}
>  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 26.06 sec 
> <<< FAILURE! - in org.apache.hive.hcatalog.mapreduce.TestHCatPartitionPublish
> testPartitionPublish(org.apache.hive.hcatalog.mapreduce.TestHCatPartitionPublish)
>   Time elapsed: 1.361 sec  <<< ERROR!
> org.apache.hive.hcatalog.common.HCatException: 
> org.apache.hive.hcatalog.common.HCatException : 2001 : Error setting output 
> information. Cause : java.io.IOException: No FileSystem for scheme: pfile
>         at 
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1443)
>         at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67)
>         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1464)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:263)
>         at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
>         at 
> org.apache.hive.hcatalog.mapreduce.HCatOutputFormat.setOutput(HCatOutputFormat.java:212)
>         at 
> org.apache.hive.hcatalog.mapreduce.HCatOutputFormat.setOutput(HCatOutputFormat.java:70)
>         at 
> org.apache.hive.hcatalog.mapreduce.TestHCatPartitionPublish.runMRCreateFail(TestHCatPartitionPublish.java:191)
>         at 
> org.apache.hive.hcatalog.mapreduce.TestHCatPartitionPublish.testPartitionPublish(TestHCatPartitionPublish.java:155)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to