hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abdelrahman Shettia <>
Subject Re: What is pfile in pom.xml
Date Mon, 11 Nov 2013 22:52:45 GMT
Hi Jie, 

Seems that there is an error related to:

No FileSystem for scheme: pfile

 Have you tried to replace the line? 



So that it would work in this format:

CREATE TABLE rename_partition_table (key STRING, value STRING) PARTITIONED BY (part STRING)
LOCATION 'pfile:${system:test.tmp.dir}/rename_partition_table';

Basically it is the following conf:

  <description>A comma separated list of acceptable URI schemes for import and export.</description>


On Nov 10, 2013, at 6:06 AM, 金杰 <> wrote:

> When I run mvn test on my Ubuntu box, I got the following error message.
> I also run mvn test on CentOS, there is no error about pfile.
> This error message only happen on my ubuntu box.
> So, how to fix this?
> org.apache.hcatalog.mapreduce.TestHCatMultiOutputFormat  Time elapsed: 11.811 sec  <<<
> java.lang.Exception: MetaException(message:Got exception: No FileSystem
for scheme: pfile)
>     at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result$
>     at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$create_table_with_environment_context_result$
>     at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$
>     at org.apache.thrift.TServiceClient.receiveBase(
>     at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_create_table_with_environment_context(
>     at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.create_table_with_environment_context(
>     at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(
>     at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(
>     at org.apache.hcatalog.mapreduce.TestHCatMultiOutputFormat.createTable(
>     at org.apache.hcatalog.mapreduce.TestHCatMultiOutputFormat.initalizeTables(
>     at org.apache.hcatalog.mapreduce.TestHCatMultiOutputFormat.initializeSetup(
>     at org.apache.hcatalog.mapreduce.TestHCatMultiOutputFormat.setup(
> org.apache.hcatalog.mapreduce.TestHCatMultiOutputFormat  Time elapsed: 11.811 sec  <<<
> No FileSystem for scheme: pfile
>     at org.apache.hadoop.fs.FileSystem.createFileSystem(
>     at org.apache.hadoop.fs.FileSystem.access$200(
>     at org.apache.hadoop.fs.FileSystem$Cache.get(
>     at org.apache.hadoop.fs.FileSystem.get(
>     at org.apache.hadoop.fs.Path.getFileSystem(
>     at org.apache.hcatalog.mapreduce.TestHCatMultiOutputFormat.tearDown(
> Best Regards
> 金杰 (Jie Jin)
> On Sun, Nov 10, 2013 at 7:08 PM, 金杰 <> wrote:
> Hi, All
> I found a line in pom.xml
> <test.warehouse.scheme>pfile://</test.warehouse.scheme>
> You can check it on
> ​What is pfile? Is pfile a file system schema, same as hdfs:// ?​
> Best Regards
> 金杰 (Jie Jin)

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message