Hive:创建外部表失败 - 没有用于scheme的文件系统:pxf

时间:2014-05-08 10:49:51

标签: hadoop hive external-tables

我一直在尝试从hive创建外部表来访问hdfs。

这是代码:

CREATE EXTERNAL TABLE yellow_ext
(ip_addr     string,
 unknown1    string,
 unknown2    string,
 tanggal     string,
 unknown3    string,
 http_resp1  string,
 http_resp2  string,
 reffr       string,
 browser     string
 )
ROW FORMAT DELIMITED FIELDS TERMINATED BY '|'
 STORED AS TEXTFILE
 LOCATION 'pxf://phdmaster:50070/access_log_1k_rows2?PROFILE=hive';

然后我收到错误:

FAILED: Error in metadata: MetaException(message:Got exception: java.io.IOException No FileSystem for scheme: pxf)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

我很困惑,我做错了什么..任何帮助都会很棒!

谢谢!

-efraim -

0 个答案:

没有答案