sparksql报错

Exceptioninthread”main”org.apache.spark.sql.catalyst.errors.package$TreeNodeException:execute,tree:Exchangehashpartitioning(subject#6,200)+-*HashAggregate(keys=[subject#6,name#7],functions=[count(1)],output=[subject#6,name#7,c#12L])+-E..

Exception in thread “main” org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree:
Exchange hashpartitioning(subject#6, 200)
+- *HashAggregate(keys=[subject#6, name#7], functions=[count(1)], output=[subject#6, name#7, c#12L])
   +- Exchange hashpartitioning(subject#6, name#7, 200)
      +- *HashAggregate(keys=[subject#6, name#7], functions=[partial_count(1)], output=[subject#6, name#7, count#43L])
         +- *Project [_1#3 AS subject#6, _2#4 AS name#7]
            +- *SerializeFromObject [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, assertnotnull(input[0, scala.Tuple2, true])._1, true) AS _1#3, staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, assertnotnull(input[0, scala.Tuple2, true])._2, true) AS _2#4]
               +- Scan ExternalRDDScan[obj#2]

Caused by: org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree:

Caused by: org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://leetom:8020/user/root/file/dataSource/teacher.txt

sparksql报错

sparksql报错 

 sparksql报错

 修改前sparksql报错

 修改后

sparksql报错

 

免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://yundeesoft.com/4837.html

(0)
上一篇 2022-12-08 16:24
下一篇 2022-12-08 16:24

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

关注微信