PANIC: unprotected error in call to Lua API (/usr/local/aliyun_acjail/config.lua:88: bad argument #1 to 'gsub' (string expected, got nil)) MaxCompute中这个sql在本地跑都是ok的,部署好后,开始上线补数据了,爆了这个bug,怎么解决?文档 2023-05-05 11:29:08 INFO Current task status:RUNNING 2023-05-05 11:29:08 INFO Start execute shell on node sh-base-biz-gateway06.cloud.et15. 2023-05-05 11:29:08 INFO Current working dir /home/admin/alisatasknode/taskinfo/20230505/phoenix/11/29/02/c8iy0bcessow8egaikswp2wr 2023-05-05 11:29:08 INFO Full Command .. 2023-05-05 11:29:08 INFO ------------------------- 2023-05-05 11:29:08 INFO /opt/taobao/tbdpapp/odpswrapper/odpswrapper.py /home/admin/alisatasknode/taskinfo//20230505/phoenix/11/29/02/c8iy0bcessow8egaikswp2wr//行销公司促销核心数据指标表ads_company_activity_key_num key1=20230503 key2=20220503 2023-05-05 11:29:08 INFO ------------------------- 2023-05-05 11:29:08 INFO List of passing environment .. 2023-05-05 11:29:08 INFO ------------------------- 2023-05-05 11:29:08 INFO SKYNET_ENDPOINT=http://service.odps.aliyun.com/api: 2023-05-05 11:29:08 INFO SKYNET_PTYPE=10: 2023-05-05 11:29:08 INFO SKYNET_ACTIONID=1: 2023-05-05 11:29:08 INFO TASK_WHITE_LIST=service.odps.aliyun.com:*,rm-uf607ostxhmf4z433.mysql.rds.aliyuncs.com:3306,101.200.95.248:3306,hnyxym.mysql.polardb.rds.aliyuncs.com:3128,hgprecn-cn-lbj32d0ti00b-cn-shanghai.hologres.aliyuncs.com:80,hgprecn-cn-lbj32d0ti00b-cn-shanghai-internal.hologres.aliyuncs.com:80,hgprecn-cn-lbj32d0ti00b-cn-shanghai-vpc-st.hologres.aliyuncs.com:80: 2023-05-05 11:29:08 INFO SKYNET_RERUN_MODE=1: 2023-05-05 11:29:08 INFO SKYNET_FLOW_PARAVALUE=: 2023-05-05 11:29:08 INFO SKYNET_ONDUTY=201455745671698242: 2023-05-05 11:29:08 INFO SKYNET_SYSTEMID=: 2023-05-05 11:29:08 INFO CALC_ENGINE_IDENTIFIER=ksf_yxlm: 2023-05-05 11:29:08 INFO SKYNET_SOURCEID=800026400058: 2023-05-05 11:29:08 INFO SKYNET_PARAVALUE=key1=20230503 key2=20220503: 2023-05-05 11:29:08 INFO SKYNET_TASKID=809728717781: 2023-05-05 11:29:08 INFO SKYNET_TENANT_ID=438623358341377: 2023-05-05 11:29:08 INFO SKYNET_ID=700005882552: 2023-05-05 11:29:08 INFO SKYNET_JOBID=800262775962: 2023-05-05 11:29:08 INFO SKYNET_NODENAME=行销公司促销核心数据指标表ads_company_activity_key_num: 2023-05-05 11:29:08 INFO SKYNET_CYCTYPE=0: 2023-05-05 11:29:08 INFO SKYNET_DSC_JOB_VERSION=2: 2023-05-05 11:29:08 INFO SKYNET_TASK_INPUT={}: 2023-05-05 11:29:08 INFO SKYNET_FLOWNAME=ATCLOUD_FLOW: 2023-05-05 11:29:08 INFO FILE_ID=700005882552: 2023-05-05 11:29:08 INFO SKYNET_TIMEZONE=GMT+8: 2023-05-05 11:29:08 INFO SKYNET_EXENAME=/opt/taobao/tbdpapp/odpswrapper/odpswrapper.py: 2023-05-05 11:29:08 INFO IS_NEW_SCHEDULE=true: 2023-05-05 11:29:08 INFO SKYNET_DAGTYPE=3: 2023-05-05 11:29:08 INFO FILE_VERSION=2: 2023-05-05 11:29:08 INFO SKYNET_SOURCENAME=group_438623358341377: 2023-05-05 11:29:08 INFO SKYNET_SYSTEM_ENV=prod: 2023-05-05 11:29:08 INFO SKYNET_GMTDATE=20230504: 2023-05-05 11:29:08 INFO SKYNET_ENVTYPE=1: 2023-05-05 11:29:08 INFO SKYNET_BIZDATE=20230503: 2023-05-05 11:29:08 INFO SKYNET_CYCTIME=20230504002100: 2023-05-05 11:29:08 INFO SKYNET_FAILOVER_HANDLER=1: 2023-05-05 11:29:08 INFO SKYNET_DAG_INPUT={}: 2023-05-05 11:29:08 INFO SKYNET_ONDUTY_WORKNO=20145574567169824
代码中的注释去掉一下试试,所有的,因为DataWorks的生产环境会编译这个注释,有影响。这些, 此回答整理自钉群“MaxCompute开发者社区2群”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
MaxCompute(原ODPS)是一项面向分析的大数据计算服务,它以Serverless架构提供快速、全托管的在线数据仓库服务,消除传统数据平台在资源扩展性和弹性方面的限制,最小化用户运维投入,使您经济并高效的分析处理海量数据。