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 setup feast

See original GitHub issue

Summary

Hi, I am trying to set up Feast on a kubernetes cluster by following the instructions on https://github.com/feast-dev/feast/blob/master/infra/charts/feast/README.md. I have added a secret for the postgres pasword, but when I run helm test test-release it fails.

I have also tried to test by following the example on https://github.com/feast-dev/feast/blob/master/examples/basic/basic.ipynb. Here it stops at the ingestion part. I stays at 0% for 20 min before I get and error message

  File "/home/autilibrain/anaconda3/lib/python3.7/site-packages/feast/client.py", line 790, in ingest
    producer.print_results()
  File "/home/autilibrain/anaconda3/lib/python3.7/site-packages/feast/loaders/abstract_producer.py", line 74, in print_results
    else f"\nLast exception:\n{self.last_exception}"
TypeError: Type cimpl.KafkaError doesn't define __format__`

Serving test pod log:

Feature set updated/created: "customer_transactions:0"
Waiting for feature set to be ready for ingestion...
100%|██████████| 5/5 [00:01<00:00,  4.83rows/s]
Ingestion complete!

Ingestion statistics:
Success: 5/5
Removing temporary file(s)...
Ingested dataframe: 
                          datetime  customer_id  daily_transactions  \
0 2020-05-22 08:21:28.029530+00:00            0            0.380651   
1 2020-05-22 08:21:28.029554+00:00            1            0.167942   
2 2020-05-22 08:21:28.029556+00:00            2            0.519692   

   total_transactions  
0                   0  
1                   1  
2                   2  
Traceback (most recent call last):
  File "<stdin>", line 48, in <module>
  File "/usr/local/lib/python3.7/site-packages/feast/client.py", line 658, in get_online_features
    entity_rows=entity_rows,
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.NOT_FOUND
	details = "Unable to retrieve feature from Redis"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

0reactions
masonlrcommented, Jul 31, 2020

Thanks for the discussion above, this helped me to get through the same redis auth problem. (I know it’s not supported but I’m testing via helm v3 using docker-desktop k8s.)

I copied values.yaml locally and changed https://github.com/feast-dev/feast/blob/7f9aa0c161cdcde1f5bcea450beeeb1ab55aa7d6/infra/charts/feast/values.yaml#L25-L27 to

redis:
  # redis.enabled -- Flag to install Redis
  enabled: true
  usePassword: false

and installed with

# assumes feast-postgresql secret has been created
helm install dev feast-charts/feast --set feast-core.postgresql.existingSecret=feast-postgresql --set postgresql.existingSecret=feast-postgresql -f values.yaml

I’ve just updated the guide to remove Redis authentication

@woop are you referring to https://github.com/feast-dev/feast/blob/7f9aa0c161cdcde1f5bcea450beeeb1ab55aa7d6/infra/charts/feast/values-batch-serving.yaml#L31-L32?

Read more comments on GitHub >

github_iconTop Results From Across the Web

is feast not working / having issues for you? - 99images
Please check your mobile storage space. If you don't have enough space in your disk, the app can't be installed. Verify that the...
Read more >
Quickstart - Feast
Quickstart · Step 1: Install Feast · Step 2: Create a feature repository · Step 3: Run sample workflow · Step 4: Browse...
Read more >
The Feast - GOG SUPPORT CENTER
General troubleshooting · 1) Select the game in "Owned games", click the customization button in the top bar →Manage installation →Configure →Language. ·...
Read more >
Error while trying to run the Feast.FeatureStore() function
I am not exactly sure what module do I have to install in python for this or what's the best way to overcome...
Read more >
The Feast | FINAL FANTASY XIV, The Lodestone
Abandoning Matches. Players who abandon a match will receive a penalty. Players so penalized will be unable to register for Frontline campaigns or...
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