-
Notifications
You must be signed in to change notification settings - Fork 260
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
Features Registry Error with mssql #1075
Comments
Add this week's oncall @enya-yx to help |
@mansoorsyed11 |
@enya-yx No im planning to use an SQL server other than azure preview there is no document on connecting sql server to register the features. correct me if I'm wrong azure purview is optional if we use sql server to register the features according to your documentation? |
@enya-yx can please elaborate more on this problem and how to register the features in mssql. |
@mansoorsyed11 You need to setup a webapp and set some envs in its configuration so that it can connect to your sql server. Here's a doc that might be helpful: https://github.com/feathr-ai/feathr/blob/main/docs/dev_guide/build-and-push-feathr-registry-docker-image.md Currently, feathr only supports registering features through webapp instead of connecting to the sql server directly. |
add this week's on call @windoze who is expertise in register by sql |
@mansoorsyed11 Feathr doesn't support writing features into MSSQL database directly, a registry service needs to be deployed separately. |
Hey team @xiaoyongzhu, I'm trying to register the features in mssql im getting the below error. I have tried different formats of paths as below.
Format 1.
api_version: 1
feature_registry:
api_endpoint: mssql+pyodbc://userid:password@host:port/database?driver=ODBC+Driver+17+for+SQL+Server&autocommit=True
ERROR:
No connection adapters were found for 'mssql+pyodbc://userid:password@host:port/database?driver=ODBC+Driver+17+for+SQL+Server&autocommit=True/projects' .
Format 2.
api_version: 1
feature_registry:
api_endpoint: https: //mssql+pyodbc://userid:password@host:port/database?driver=ODBC+Driver+17+for+SQL+Server&autocommit=True
ERROR 2:
HTTPSConnectionPool(host='mssql+pyodbc', port=443): Max retries exceeded with url: //userid:password@host:1433/sqld-mlops-dev?driver=ODBC+Driver+17+for+SQL+Server&autocommit=True/projects (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fea17f46640>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Format 3 :
api_version: 1
feature_registry:
api_endpoint: mssql://userid:password@host:port/database
Error 3:
HTTPSConnectionPool(host='mssql+pyodbc', port=443): Max retries exceeded with url: //userid:password@host:1433/sqld-mlops-dev/projects (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fea17f46640>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Note: Like i tried different formats of api to connect sql its not working help me to solve this problem thanks @xiaoyongzhu .
The text was updated successfully, but these errors were encountered: