question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to retrieve feature from Redis

See original GitHub issue

Team, Thanks for the great progress on this project. Looks very promising. I am trying to evaluate its current capabilities but ran into an issue running through the quickstart. I am trying to set up a minimum GCP environment to play and experiment. I followed the quickstart material and everything seems to be provisioned and running well. I was able to load your example data and the GCP consoles all look green and good. However, when I try to access the data via the python serving api, I receive an error about “Unable to retrieve feature from Redis”. Any insights into what might cause this and/or how I could go about diagnosing and debugging?

python3 - <<EOF
> from feast.sdk.client import Client
> from feast.sdk.resources.feature_set import FeatureSet
> 
> feast_client = Client(core_url="${FEAST_CORE_URI}", serving_url="${FEAST_SERVING_URI}")
> feature_set = FeatureSet(entity="entity_1", features=["entity_1.feature_1", "entity_1.feature_2"])
> 
> print(feast_client.get_serving_data(feature_set, entity_keys=["0","1"]))
> EOF

Traceback (most recent call last):
  File "<stdin>", line 7, in <module>
  File "/Users/sam/anaconda3/lib/python3.7/site-packages/feast/sdk/client.py", line 269, in get_serving_data
    feature_set, self._serving_service_stub.QueryFeatures(request), start, end
  File "/Users/sam/anaconda3/lib/python3.7/site-packages/grpc/_channel.py", line 565, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/Users/sam/anaconda3/lib/python3.7/site-packages/grpc/_channel.py", line 467, in _end_unary_response_blocking
    raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
        status = StatusCode.INTERNAL
        details = "Unable to retrieve feature from Redis"
        debug_error_string = "{"created":"@1568054518.425475000","description":"Error received from peer ipv4:XXX.XXX.XXX.XXX:6565","file":"src/core/lib/surface/call.cc","file_line":1052,"grpc_message":"Unable to retrieve feature from Redis","grpc_status":13}"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
NicholaiStaalungcommented, Nov 6, 2019

@sbryfcz did you solve it? Im having the same issue. Did the config exactly like mentioned above or at least i followed the same steps. @pradithya i did a curl https://${FEAST_SERVING_REDIS_HOST}:6379 from inside the gke-feast-default-pool and it just hangs.

Thanks for the interest @NicholaiStaalung!

I would recommend moving to Feast 0.3. You can find more information on installing it on this PR: #289

We’ve added quite a bit of functionality since Feast 0.1. We will be moving that over to the master branch shortly.

@woop thanks but i keep running into errors. Are you updating the quickstart guide? I cant find any in 0.3-dev.

Thanks for building Feast. Much needed!

0reactions
woopcommented, Dec 16, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to retrieve feature from Redis · Issue #246 - GitHub
However, when I try to access the data via the python serving api, I receive an error about "Unable to retrieve feature from...
Read more >
Recover a failed cluster | Redis Documentation Center
When a Redis Enterprise Software cluster fails, you must use the cluster configuration file and database data to recover the cluster.
Read more >
MISCONF Redis is configured to save RDB snapshots
Basically I understand that the problem is that redis is not able to save data on the disk, but have no idea how...
Read more >
Redis CLI
This topic covers the different aspects of redis-cli , starting from the simplest and ending with the more advanced features.
Read more >
Configure Redis clustering - Premium Azure Cache for Redis
With Redis Cluster, you get the following benefits: ... is experiencing failures or are unable to communicate with the rest of the cluster....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found