안녕하세요.
아래와 같은 쿼리를 수행할때, 종종 에러가 발생하는데요.
default> insert into TB_GS_USER_VOC_DETAIL
> select '2016_05_01_01_raw' reg_date, json_extract_path_text(json_array_get(body.user_voc, 0), '$.voc_type') type, json_extract_path_text(json_array_get(body.user_voc, 0), '$.package_name')
> from tb_2016_05_01_01_raw
> where uri_path = '/gamemode/analysis/update/combination'
> and json_array_length(body.user_voc) = 2;
[=========================================>] 100% 201.504 sec
ERROR: internal error: No such file or directory: s3a://gamemode-tajo-home/tajo/warehouse/default/tb_gs_user_voc_detail/.staging/q_1464077150781_0066/RESULT
default> insert into TB_GS_USER_VOC_DETAIL
> select '2016_05_01_16_raw' reg_date, json_extract_path_text(json_array_get(body.user_voc, 0), '$.voc_type') type, json_extract_path_text(json_array_get(body.user_voc, 0), '$.package_name')
> from tb_2016_05_01_16_raw
> where uri_path = '/gamemode/analysis/update/combination'
> and json_array_length(body.user_voc) = 1;
[=========================================>] 100% 182.809 sec
ERROR: internal error: Status Code: 404, AWS Service: Amazon S3, AWS Request ID: 8756B11E447477EF, AWS Error Code: null, AWS Error Message: Not Found
같은 쿼리를 다시 수행해보면 에러가 안나는데...
어떤 원인이 있을까요?
tb_2016_05_01_16_raw 테이블은 아래 쿼리로 생성합니다.
create external table if not exists tb_2016_05_01_16_raw (*) using json with ('compression.codec'='org.apache.hadoop.io.compress.GzipCodec', 'text.error-tolerance.max-num' = '-1') location 's3://gamemode-statistics/raw/2016-05-01-16';