Gbase 8a数据加载常见错误

Gbase 8a数据加载常见错误

1.Login denied uri
测试用例:gbase> load data infile ‘ftp://gbase:gbase123@192.168.5.25//home/gbase/1.txt’ into table test.t1 data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: Expanding wildcard operation failed with error - Login denied : ftp://gbase:@ 192.168.5.25//home/gbase/1.txt
错误原因:gbase用户密码错误
2.failed to get table distribution information
测试用例:
gbase> load data infile ‘ftp://gbase:gbase@192.168.5.25//home/gbase/2.txt’ into table test.t2 data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: failed to get table distribution information.
报错原因:所涉及加载表不存在
3.Could not get file size
测试用例:
gbase> load data infile ‘ftp://gbase:gbase@192.168.5.25//home/gbase/3.txt’ into table test.t3data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: I/O operation on ftp://gbase:
@ 192.168.5.25//home/gbase/3.txt failed with error - 550 Could not get file size., File name ftp://gbase:
**@ 192.168.5.25//home/gbase/3.txt

错误原因:/home/gbase/4.txt 这个文件不存在
4.Remote file not found uri
测试用例:
gbase> load data infile ‘ftp://gbase:gbase@192.168.5.25//home/gbase/*.tbl’ into table test.tt data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: Expanding wildcard operation failed with error - Remote file not found uri : ftp://gbase:*****@ 192.168.5.25//home/gbase/%2a.tbl.

错误原因:/home/gbase/*.tbl 没有匹配到文件,通配符文件不存在
5.Too many bad records
测试用例:
load data infile ‘ftp://gbase:gbase@192.168.5.25//home/gbase/2.txt’
into table test.t4 data_format 3 max_bad_records 0;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: Task 262162 failed, 192.168.5.25:5050Failed to query in gnode:
DETAIL: (GBA-01-600) Gbase internal error: Task 262162, Too many bad records!

错误原因:错误数据行数超过max_bad_records指定值

  1. Timeout was reached
    错误原因:ftp服务器端超时
  2. Line length is more than gbase_loader_max_line_length
    测试用例:
    gbase> load data infile ‘ftp://gbase:gbase@192.168.5.25//home/gbase/len.txt’ into table test.length data_format 3;
    ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: Task 393223 failed, 192.168.5.25:5050Failed to query in gnode:
    DETAIL: (GBA-01-600) Gbase internal error: Line length 8388608 is more than gbase_loader_max_line_length ( 4194304 ) in file ‘ftp://gbase:*****@ 192.168.5.25//home/gbase/len.txt’
    错误原因:行长度超过参数gbase_loader_max_line_length值。
  3. Access denied to remote resource
    测试用例:
    gbase> load data infile ‘ftp://gbase:gbase@192.168.5.25/home/gbase/test/2.txt’ into table test.t2 data_format 3 max_bad_records 0;
    ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: I/O operation on ftp://gbase:@ 192.168.5.25/home/gbase/test/2.txt failed with error - Access denied to remote resource, File name ftp://gbase:@ 192.168.5.25/home/gbase/2.txt

错误原因:/home/gbase/test/2.txt路径错误
9 .text parser error
错误原因:表列数与文件列数不一致,文件列数多于表列数
10. data column size less than defined size
错误原因:文件列数少于表的列数

  • 0
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值