zhangxinjian123 opened a new issue #5460: URL: https://github.com/apache/incubator-doris/issues/5460
CREATE EXTERNAL RESOURCE "sparktest" PROPERTIES ( "type" = "spark", "spark.master" = "yarn", "spark.submit.deployMode" = "cluster", "spark.executor.memory" = "1g", "spark.yarn.queue" = "root.users.hdfs", "spark.hadoop.yarn.resourcemanager.address" = "xxx.xx.xx.xx:8032", "spark.hadoop.fs.defaultFS" = "hdfs://xxx.xx.xx.xx:8020", "working_dir" = "hdfs://xxx.xx.xx.xx:8020/tmp", "broker" = "broker_name", "broker.username" = "user123", "broker.password" = "pass123" ); GRANT USAGE_PRIV ON RESOURCE "sparktest" TO "user123"@"%"; GRANT USAGE_PRIV ON RESOURCE "sparktest" TO ROLE "roletest"; GRANT USAGE_PRIV ON RESOURCE * TO "user123"@"%"; GRANT USAGE_PRIV ON RESOURCE * TO ROLE "roletest"; LOAD LABEL testhive.tablespark ( DATA INFILE("hdfs://xxx.xx.xx.xx:8020/tmp/table2.txt") INTO TABLE tablespark COLUMNS TERMINATED BY "," (tmp_c1,tmp_c2,tmp_c3) SET ( id=tmp_c2, name=tmp_c1, username=tmp_c3 ) ) WITH RESOURCE 'sparktest' ( "spark.executor.memory" = "5g", "spark.shuffle.compress" = "true" ) PROPERTIES ( "timeout" = "3600" ); ERROR 1064 (HY000): Unexpected exception: null ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org