2012-02-28 23 views
0

在亞馬遜AWS的Elastic地圖降低實施蜂巢中,UDF的str_to_mapreflect沒有定義。AWS Elastic Map Reduce Hive運行v0.5?缺少的功能:「str_to_map」,「反映」

str_to_map記錄在這裏:https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-StringFunctions

,並與蜂巢0.7發佈:https://issues.apache.org/jira/browse/HIVE-1779

但在AWS EMR運行蜂巢時,show functions不顯示str_to_mapreflect作爲支持的功能。

因此,似乎EMR EC2節點安裝了hive-0.5。

[email protected]:~$ sudo find/-name "hive-exec*jar" 
/home/hadoop/.versions/hive-0.5/lib/hive-exec-0.5.0.jar 

[email protected]:~$ ls /home/hadoop/.versions/ 
0.18 0.20 hive-0.5 

這似乎是錯的。

我很確定Hive 0.7在EMR中。如何在EMR EC2主節點上獲得Hive 0.7的AMI?

回答

相關問題