GP - gpfdist [....] http/1.0.400 path too long

 gpload failing with below err
"ERROR","08006","http response code 400 from gpfdist (.....): HTTP/1.0.400 path too long(...)"
This error appears only when multiple file are mentioned under FILE args in YAML file for gpload.
The concat of file and path should not exceed 1000 characters. This is a limitation set in code of gpfdist.

How do I avoid this issue?
Either use wildcards to specify the files or limit the number of files mentioned.
Example:
User could try to specify using wild cards:
FILE: 
   -/home/admin/mdw/tmp/file_*
or

If it should be all the files in a particular direcroty:
FILE:
   -/home/admin/mdw/tmp/*

Comments

Popular posts from this blog

GP - Kerberos errors and resolutions

How to set Optimizer at database level in greenplum

GP - SQL Joins