[英]Azure DataFactory responds with BadRequest for Hive acitivity using On-Demand HDInsight cluster's linked service
[英]Using JsonSerDe in a hive script in an on-demand hdinsight cluster
我編寫了一個 hive 腳本,該腳本在現有的 HDInsight 群集中運行良好。 但是,當我通過按需集群中的 Azure 數據工廠實例化腳本時,出現以下錯誤:
Caused by: java.lang.ClassNotFoundException: Class org.apache.hive.hcatalog.data.JsonSerDe not found
at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2214)
at org.apache.hadoop.hive.ql.plan.PartitionDesc.getDeserializer(PartitionDesc.java:143)
at org.apache.hadoop.hive.ql.exec.MapOperator.getConvertedOI(MapOperator.java:316)
... 19 more
我使用 JsonSerDe 將數據從 JSON 文件加載到 hive 表中。 在我現有的集群中,class 存在,無需任何額外配置。 是否有必要為按需集群明確指定 JsonSerDe JAR 文件,如果是這樣,這怎么可能?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.