1

我一直在尝试从 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-

4

0 回答 0