閱讀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 什麼是大數據開發套件__產品簡介_大數據開發套件-阿裏雲