Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texas data is throwing a "too big inline request" #1

Open
Majestic3691 opened this issue Jan 11, 2018 · 0 comments
Open

Texas data is throwing a "too big inline request" #1

Majestic3691 opened this issue Jan 11, 2018 · 0 comments

Comments

@Majestic3691
Copy link
Owner

Majestic3691 commented Jan 11, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant