Skip to content

feast-feature-server ModuleNotFoundError: No module named 'feast.embedded_go' #3265

Closed

Description

@jaeoheeail

Expected Behavior

Install feature-server helm-chart, I expect to see the pod running and not have any module import errors

Current Behavior

feature-server is unhealthy.

Traceback (most recent call last):
  File "/usr/local/bin/feast", line 5, in <module>
    from feast.cli import cli
  File "/usr/local/lib/python3.8/site-packages/feast/__init__.py", line 7, in <module>
    from feast.infra.offline_stores.bigquery_source import BigQuerySource
  File "/usr/local/lib/python3.8/site-packages/feast/infra/offline_stores/bigquery_source.py", line 8, in <module>
    from feast.feature_logging import LoggingDestination
  File "/usr/local/lib/python3.8/site-packages/feast/feature_logging.py", line 8, in <module>
    from feast.embedded_go.type_map import FEAST_TYPE_TO_ARROW_TYPE, PA_TIMESTAMP_TYPE
ModuleNotFoundError: No module named 'feast.embedded_go'

Steps to reproduce

Use the instructions to deploy feature-server using helm: https://github.com/feast-dev/feast/tree/master/infra/charts/feast-feature-server

Create a file called feature_store.yaml with the content below:

project: test_feast
provider: aws
online_store:
  type: dynamodb
  region: xxx
registry:
  registry_type: sql
  path: postgresql://user:[password@x.x.x.x](mailto:password@x.x.x.x):5432/registry
offline_store: null
entity_key_serialization_version: 2

Run: helm install feast-feature-server feast-charts/feast-feature-server --set feature_store_yaml_base64=$(base64 feature_store.yaml)

Specifications

  • Version: Chart version 0.25.1
  • Platform: Kubernetes version 1.22.11
  • Subsystem:

Possible Solution

Add __init__.py file at https://github.com/feast-dev/feast/tree/master/sdk/python/feast/embedded_go

Activity

  1. added
    priority/p0
    on Oct 3, 2022
  2. adchia commented on Oct 3, 2022

    @adchia
    Collaborator

    @felixwang9817 might be because you switched this Dockerfile over without e.g. enabling COMPILE_GO=true or something?

  3. adchia commented on Oct 4, 2022

    @adchia
    Collaborator

    @kevjumba Probably best to revert Felix's change (since otherwise the docker image becomes unnecessarily large with the go toolchain) and instead ensure we push the docker images after the sdk is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions