0
我在創建外部表時遇到問題。我的存儲服務被命名爲:sXX01,我的默認容器是jdXX,則斑被命名爲insurance.csv 蜂房腳本是:HDInsight - Hive創建外部表WASB
drop table if exists Insurance;
create external table Insurance(age STRING, sex STRING, bmi STRING, children STRING, smoker STRING, region STRING, charges STRING)
row format delimited
fields terminated by ','
stored as textfile location 'wasb://[email protected]/insurance.csv’;
的錯誤是:
H110 Unable to submit statement. Error while compiling statement: FAILED: ParseException line 5:29 mismatched input 'wasb' expecting StringLiteral near 'location' in table location specification [ERROR_STATUS]
我得到同樣的錯誤 - 實際blob是否存在,相同的錯誤w /'hdfs://jdXX/insurance.csv'規範
此命令證明blob存在:hadoop fs -ls wasb://[email protected] .core.windows.net/insurance.csv -rwxrwxrwx 1 55628 2016-02-09 17:37 wasb://[email protected]indows.net/insurance.csv – jduff1075