You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error "-ERR Protocol error: too big inline request" exists in both the redis-cli pipe operation and the Bash script RESP loader.
The Texas data set is 84547 and REDIS_INLINE_MAX_SIZE is set to 65536(64k) which is preventing the success of the import. Note the size value $84547 in the shell script.
Objective: Need to figure out how to send more than 64k in a single geoadd transmission
Reference data
Bash script using RESP
root@be52e2b94e4f:/home# sh file2resp.sh geoadd Texas /home/Texas.data
REDIS Server at: 172.17.0.2
REDIS Port: 6379
File exists: /home/Texas.data
-ERR unknown command '-e'
-ERR unknown command '$6'
-ERR wrong number of arguments for 'geoadd' command
-ERR unknown command '$5'
-ERR unknown command 'Texas'
-ERR unknown command '$84547'
-ERR Protocol error: too big inline request
root@be52e2b94e4f:/home# sh file2resp.sh geoadd Texas /home/Texas.data
REDIS Server at: 172.17.0.2
REDIS Port: 6379
File exists: /home/Texas.data
RESP contains: *3
$6
geoadd
$5
Texas
$84547
Transmitting to RESIS Server...
-ERR unknown command '-e'
-ERR unknown command '$6'
-ERR wrong number of arguments for 'geoadd' command
-ERR unknown command '$5'
-ERR unknown command 'Texas'
-ERR unknown command '$84547'
-ERR Protocol error: too big inline request
Load using Redis pipe from within the shell of the Docker container.
root@be52e2b94e4f:/home# cat /home/LoadAirportData.cmd | /usr/local/bin/redis-cli --pipe -h 172.17.0.2
All data transferred. Waiting for the last reply...
Last reply received from server.
errors: 0, replies: 61
The text was updated successfully, but these errors were encountered:
The error "-ERR Protocol error: too big inline request" exists in both the redis-cli pipe operation and the Bash script RESP loader.
The Texas data set is 84547 and REDIS_INLINE_MAX_SIZE is set to 65536(64k) which is preventing the success of the import. Note the size value
$84547
in the shell script.Objective: Need to figure out how to send more than 64k in a single geoadd transmission
Reference data
Bash script using RESP
root@be52e2b94e4f:/home# sh file2resp.sh geoadd Texas /home/Texas.data
REDIS Server at: 172.17.0.2
REDIS Port: 6379
File exists: /home/Texas.data
-ERR unknown command '-e'
-ERR unknown command '$6'
-ERR wrong number of arguments for 'geoadd' command
-ERR unknown command '$5'
-ERR unknown command 'Texas'
-ERR unknown command '$84547'
-ERR Protocol error: too big inline request
root@be52e2b94e4f:/home# sh file2resp.sh geoadd Texas /home/Texas.data
REDIS Server at: 172.17.0.2
REDIS Port: 6379
File exists: /home/Texas.data
RESP contains: *3
$6
geoadd
$5
Texas
$84547
Transmitting to RESIS Server...
-ERR unknown command '-e'
-ERR unknown command '$6'
-ERR wrong number of arguments for 'geoadd' command
-ERR unknown command '$5'
-ERR unknown command 'Texas'
-ERR unknown command '$84547'
-ERR Protocol error: too big inline request
Load using Redis pipe from within the shell of the Docker container.
root@be52e2b94e4f:/home# cat /home/LoadAirportData.cmd | /usr/local/bin/redis-cli --pipe -h 172.17.0.2
All data transferred. Waiting for the last reply...
Last reply received from server.
errors: 0, replies: 61
The text was updated successfully, but these errors were encountered: