阅读1591 返回首页    go 阿里云


常见错误说明__附录_大数据计算服务-阿里云

MaxCompute 常用错误信息说明

通常情况下,MaxCompute 各功能返回的异常信息满足如下格式定义:

  1. 异常编号:通用描述 - 上下文相关说明

例如,ODPS-0130131:Table not found - "myproject" "mytable"。其中异常编号(ODPS-0130131)和通用描述(Table not found)一一对应。上下文相关说明视情况尽可能给出方便定位异常的提示。对于异常编号的格式:

  1. ODPS-MMCCCCX

其中:

  • MM 是模块编号,2位整数
    • 01为SQL Task;
  • CCCC是异常代码,4位整数;
  • X表示异常的严重等级,1位整数。其中:1为最轻微错误,例如用户输入错误;9为最高等级,例如原子性的错误;

注意:

  • 目前,DataHubTunnel服务有独立的异常信息格式。

SQL异常类型登记表

错误信息 触发条件 严重级
ODPS-0110005:Unknown exception from metadata operation 在顶层捕获所有未知异常 5
ODPS-0110011:Authorization exception 权限不足 1
ODPS-0110021:Invalid parameters 参数有误 1
ODPS-0110031:Invalid object type 非法对象类型 1
ODPS-0110041:Invalid meta operation - AlreadyExistsException(message:Partition already exists, existed values 目前MaxCompute对操作的表没有加锁,这个错误是由Meta产生竞争导致,即向同一个分区同时多次操作读写操作容易产生此类错误。因此建议用户在MaxCompute还没有锁机制的情况下,先不要同时对一个表做操作。 1
ODPS-0110041:Invalid meta operation - No value returned from meta UDF 1
ODPS-0110061: Failed to run ddltask - AlreadyExistsException(message:Partition already exists, existed values:) 目前MaxCompute对操作的表没有加锁,这个错误是由Meta产生竞争导致,即向同一个分区同时多次操作读写操作容易产生此类错误。因此建议用户在MaxCompute还没有锁机制的情况下,先不要同时对一个表做操作。 1
ODPS-0110061: Failed to run ddltask - SimpleLock conflict failure, add partition is already on-going 当用户批量添加统一分区时,会出现此错误。MaxCompute仅会执行接收到的第一个添加分区命令,并忽略后续请求。 1
ODPS-0110131:StorageDescriptor compression exception StorageDescriptor 压缩异常 1
ODPS-0110141:Data version exception 数据版本异常 1
ODPS-0110999:Critical! Internal error happened in commit operation and rollback failed, possible breach of atomicity 无法回滚 9
ODPS-0120005:Unknown exception from processor 在顶层捕获所有未知异常 5
ODPS-0120011:Authorization exception 权限不足 1
ODPS-0120021:the delimitor must be the same in wm_concat 相同group中separator不同 1
ODPS-0121011:Invalid regular expression pattern 内建函数中的正则处理函数接收到了不能识别的正则表达式。 1
ODPS-0121021:Regexec call failed 匹配正则时引起的错误 1
ODPS-0121035:Illegal implicit type cast 类型转换错误。一般为不支持的隐式类型转换错误。通常情况下是由于违背隐式类型转换规则引起的。内建函数也有不同的隐式转换规则。 5
ODPS-0121045:Unsupported return type 不支持的返回值 5
ODPS-0121055:Empty argument value 参数是空串或者NULL 5
ODPS-0121065:Argument value out of range 参数值错误 5
ODPS-0121075:Invalid number of arguments 参数个数不合法 5
ODPS-0121081:Illegal argument type 参数基本类型错误 1
ODPS-0121095:Invalid arguments 其他参数错误 5
ODPS-0121105:Constant argument value expected 需要输入常数,但输入列名 5
ODPS-0121115:Column reference expected 需要输入列名,但输入常数 5
ODPS-0121125:Unsupported function or operation 不支持的UDF或其它操作 5
ODPS-0121135:Malloc memory failed 内存分配异常 5
ODPS-0121145:Data overflow 数据溢出,超出数据类型的值域范围。通常情况下有可能是”除零”错误或聚合函数,例如:sum导致的数据移出。 5
ODPS-0123019:Distributed file operation exception 磁盘读写异常 9
ODPS-0123023:Unsupported reduce type 不支持的Reduce 3
ODPS-0123031:Partition exception 分区异常 1
ODPS-0123043:buffer overflow 缓存溢出 3
ODPS-0123055:Script exception 脚本异常 5
ODPS-0123065:Join exception Join异常 5
ODPS-0123075:Hash exception 哈希异常 5
ODPS-0123081:Invalid datetime string datetime 字符串异常 1
ODPS-0123091:Illegal type cast 非法类型转换。通常情况下,是由于非法的显式类型转换造成的。 1
ODPS-0123111:Format string does not match datetime string 格式串不匹配日期字符串。用户在SQL中手动输入的日期格式不符合MaxCompute的格式要求,或者对DataTime相关内建函数使用不当。MaxCompute DataTime类型的显示格式可参考数据类型中的示例,或内建函数中有关日期函数的介绍。 1
ODPS-0123121:Mapjoin exception MAPJOIN异常。通常情况是Mapjoin的小表超过512MB的系统限制造成的。 1
ODPS-0123131:User defined function exception 自定义函数异常 1
ODPS-0130005:Unknown exception from parser 在顶层捕获所有未知异常 5
ODPS-0130013:Authorization exception 权限不足, 安全检查不通过 3
ODPS-0130025:Failed to I/O 输入输出异常 5
ODPS-0130031:Failed to drop table 删除表时发现源表不存在 1
ODPS-0130041:Statistics exception 统计信息相关异常 1
ODPS-0130051:Exception in sub query 子查询相关异常 1
ODPS-0130061:Invalid table 表不可用 1
ODPS-0130071:Semantic analysis exception - Invalid table alias or column reference 语法解析异常,列名错误,没有找到对应的列。 1
ODPS-0130071:Semantic analysis exception - Invalid column reference 语法解析异常,列引用错误,没有找到对应的列。 1
ODPS-0130071:Semantic analysis exception - Expression not in GROUP BY key 语法解析异常。在Select子句中,读取的列与Group By的列不完全一致。 1
ODPS-0130071:Semantic analysis exception - Partition not found 语法解析异常。没有找到所指定分区值的分区。 1
ODPS-0130071:Semantic analysis exception - SELECT DISTINCT and GROUP BY can not be in the same query Distinct和Group By不能出现在同一个Select子句中。 1
ODPS-0130071:Semantic analysis exception - Cannot insert into target table because column number/types are different 向目标表插入数据时,源表和目标表的列数量或类型不匹配。 1
ODPS-0130081:Invalid UDF reference UDF方法签名 1
ODPS-0130091:Invalid parameters UDF参数不合法 1
ODPS-0130101:Ambiguous data type 数据类型不合法 1
ODPS-0130111:Subquery partition pruning exception in条件判断语句中的子查询 动态分区优化异常 1
ODPS-0123031:Partition exception 分区异常 1
ODPS-0130121:Invalid argument type 非法参数类型。一般情况下,是内建函数接收到的参数类型不正确。 1
ODPS-0130131:Table not found 表不存在。在操作DDL或DML语句时,被操作的表并不存在。 1
ODPS-0130141:Illegal implicit type cast 不允许的隐式类型转换 1
ODPS-0130151:Illegal data type 无效的数据类型 1
ODPS-0130161:Parse exception 语法解析出错 1
ODPS-0130171:Creating view exception 创建视图异常 1
ODPS-0130181:Window function exception 窗口函数异常 1
ODPS-0130191:Invalid column or partition key 非法的列或分区键 1
ODPS-0130201:View not found 视图不存在 1
ODPS-0130211:Table or view already exists 表或视图已存在。出现这种错误一般是由于重复创建同名表或者view,即执行Create Table/View语句时,要创建的Table/View已经存在 1
ODPS-0130221:Invalid number of arguments 参数个法不合法 1
ODPS-0130231:Invalid view 视图状态无效 1
ODPS-0130241:Illegal union operation 无效的union操作。通常情况下是Union两边列的数量及类型不一致造成的。 1
ODPS-0130252:Cartesian product is not allowed 不支持笛卡尔积。MaxCompute在join的on连接中不支持不等值表达式。 2
ODPS-0130261:Invalid schema 非法的元数据 1
ODPS-0130271:Partition does not exist 分区不存在 1
ODPS-0140005:Unknown exception from planner 在顶层捕获所有未知异常 5
ODPS-0140011:Illegal type cast 不允许的显示式类型转换 1
ODPS-0140021:Illegal implicit type cast 不允许的隐式类型转换 1
ODPS-0140031:Invalid column reference 无效的列名或表名引表 1
ODPS-0140041:Invalid UDF reference UDF名不存在 1
ODPS-0140051:Invalid function 非法函数 1
ODPS-0140061:Invalid parameters 输入参数异常 1
ODPS-0140071:Unsupported operator 不支持的运算符 1
ODPS-0140081:Unsupported join type 小表 (left) outer join 大表或者 大表(right) outer join小表 1
ODPS-0140091:Unsupported stage type 不支持的执行计划类型 1
ODPS-0140105:Invalid multiple I/O 多路输出冲突 5
ODPS-0140011:Illegal type cast 不允许的显示式类型转换 1
ODPS-0140021:Illegal implicit type cast 不允许的隐式类型转换 1
ODPS-0140031:Invalid column reference 无效的列名或表名引表 1
ODPS-0140041:Invalid UDF reference UDF名不存在 1
ODPS-0140051:Invalid function 非法函数 1
ODPS-0140061:Invalid parameters 输入参数异常 1
ODPS-0140071:Unsupported operator 不支持的运算符 1
ODPS-0140081:Unsupported join type 小表 (left) outer join 大表或者 大表(right) outer join小表 1
ODPS-0140091:Unsupported stage type 不支持的执行计划类型 1
ODPS-0140105:Invalid multiple I/O 多路输出冲突 5
ODPS-0140133:Invalid structure 无法识别数据结构 3
ODPS-0140151:Can not do topologic sort, the stages is not a DAG 排序算法出现错误 1
ODPS-0140171:Sandbox violation exception 安全的沙箱模型异常 1
ODPS-0140181:Sql plan exception 由于某种原因导致的SQL作业无法生成执行计划。遇到这种错误,用户可以重试提交作业,多次提交仍失败,可通过工单系统联系我们。 1

ODPS Tunnel异常信息说明

Tunnel的异常信息通常如下所示:

  1. requestId=request_id, ErrorCode=InvalidArgument, ErrorMessage=Invalid argument

其中,requestId是标志用户请求的唯一标志,ErrorCode是表明错误类型,ErrorMessage是详细异常信息。常用的一场信息说明如下:

异常类型 异常信息 补充说明
AccessDenied Access Denied 权限不足。
CorruptedDataStream The data stream was corrupted, please try again later
DataUnderReplication The specified table data is under replication and you cannot initiate upload or download at this time. Please try again later 数据处于跨级群复制状态,无法操作。
DataVersionConflict The specified table has been modified since the upload or download initiated and table data is being replicated at this time. Please initiate another download or upload later 当前集群上的数据处于复制状态, 无法进行数据操作。
FlowExceeded Your flow quota is exceeded 数据长传/下载超过流量限制。
InConsistentBlockList The specified block list is not consistent with the uploaded block list on server side
IncompleteBody You did not provide the number of bytes specified by the Content-Length HTTP header
InternalServerError Service internal error, please try again later 服务内部错误。
InvalidArgument Invalid argument 参数不合法。
InvalidBlockID The specified block id is not valid 非法BlockID
InvalidColumnSpec The specified columns is not valid 非法列名
InvalidRowRange The specified row range is not valid
InvalidStatusChange You cannot change the specified upload or download status
InvalidURI Couldn’t parse the specified URI
InvalidUriSpec The specified uri spec is not valid
MalformedDataStream The data stream you provided was not well-formed or did not validate against schema
MalformedHeaderValue An HTTP header value was malformed
MalformedXML The XML you provided was not well-formed or did not validate against schema
MaxMessageLengthExceeded Your request was too big
MethodNotAllowed The specified method is not allowed against this resource
MissingContentLength You must provide the Content-Length HTTP header
MissingPartitionSpec You need to specify a partitionspec along with the specified table
MissingRequestBodyError The request body is missing
MissingRequiredHeaderError Your request was missing a required header
NoPermission You do not have enough privilege to complete the specified operation
NoSuchData The uploaded data within this uploaded no longer exists
NoSuchDownload The specified download id does not exist
NoSuchPartition The specified partition does not exist 指定的分区不存在
NoSuchProject The specified project name does not exist
NoSuchTable The specified table name does not exist
NoSuchUpload The specified upload id does not exist
NoSuchVolume The specified volume name does not exist
NoSuchVolumeFile The specified volume file does not exist
NoSuchVolumePartition The specified volume partition does not exist
NotImplemented A header you provided implies functionality that is not implemented
ObjectModified The specified object has been modified since the specified timestamp
RequestTimeOut Your socket connection to the server was not read from or written to within the timeout period
ServiceUnavailable Service is temporarily unavailable, Please try again later
StatusConflict You cannot complete the specified operation under the current upload or download status
TableModified The specified table has been modified since the download initiated. Try initiate another download
Unauthorized The request authorization header is invalid or missing
UnexpectedContent This request does not support content

最后更新:2016-12-12 17:41:33

  上一篇:go 计费常见问题__计量计费_大数据计算服务-阿里云
  下一篇:go 什么是大数据开发套件__产品简介_大数据开发套件-阿里云