Skip to content

Commit 721ace4

Browse files
committed
Rename batch to historical
1 parent 45d279c commit 721ace4

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

docs/administration/troubleshooting.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ docker ps
1515
```text
1616
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1717
d7447205bced jupyter/datascience-notebook:latest "tini -g -- start-no…" 2 minutes ago Up 2 minutes 0.0.0.0:8888->8888/tcp feast_jupyter_1
18-
8e49dbe81b92 gcr.io/kf-feast/feast-serving:latest "java -Xms1024m -Xmx…" 2 minutes ago Up 5 seconds 0.0.0.0:6567->6567/tcp feast_batch_serving_1
18+
8e49dbe81b92 gcr.io/kf-feast/feast-serving:latest "java -Xms1024m -Xmx…" 2 minutes ago Up 5 seconds 0.0.0.0:6567->6567/tcp feast_historical_serving_1
1919
b859494bd33a gcr.io/kf-feast/feast-serving:latest "java -jar /opt/feas…" 2 minutes ago Up About a minute 0.0.0.0:6566->6566/tcp feast_online_serving_1
2020
5c4962811767 gcr.io/kf-feast/feast-core:latest "java -jar /opt/feas…" 2 minutes ago Up 2 minutes 0.0.0.0:6565->6565/tcp feast_core_1
2121
1ba7239e0ae0 confluentinc/cp-kafka:5.2.1 "/etc/confluent/dock…" 2 minutes ago Up 2 minutes 0.0.0.0:9092->9092/tcp, 0.0.0.0:9094->9094/tcp feast_kafka_1
@@ -60,7 +60,7 @@ You will probably need to connect using the hostnames of services and standard F
6060
```bash
6161
export FEAST_CORE_URL=core:6565
6262
export FEAST_ONLINE_SERVING_URL=online_serving:6566
63-
export FEAST_BATCH_SERVING_URL=batch_serving:6567
63+
export FEAST_historical_serving_URL=historical_serving:6567
6464
```
6565

6666
### **Docker Compose \(from outside the docker cluster\)**
@@ -70,7 +70,7 @@ You will probably need to connect using `localhost` and standard ports:
7070
```bash
7171
export FEAST_CORE_URL=localhost:6565
7272
export FEAST_ONLINE_SERVING_URL=localhost:6566
73-
export FEAST_BATCH_SERVING_URL=localhost:6567
73+
export FEAST_historical_serving_URL=localhost:6567
7474
```
7575

7676
### **Google Kubernetes Engine \(GKE\)**
@@ -81,7 +81,7 @@ You will need to find the external IP of one of the nodes as well as the NodePor
8181
export FEAST_IP=$(kubectl describe nodes | grep ExternalIP | awk '{print $2}' | head -n 1)
8282
export FEAST_CORE_URL=${FEAST_IP}:32090
8383
export FEAST_ONLINE_SERVING_URL=${FEAST_IP}:32091
84-
export FEAST_BATCH_SERVING_URL=${FEAST_IP}:32092
84+
export FEAST_historical_serving_URL=${FEAST_IP}:32092
8585
```
8686

8787
`netcat`, `telnet`, or even `curl` can be used to test whether all services are available and ports are open, but `grpc_cli` is the most powerful. It can be installed from [here](https://github.com/grpc/grpc/blob/master/doc/command_line_tool.md).
@@ -107,7 +107,7 @@ ListProjects
107107
### Testing Feast Batch Serving and Online Serving
108108

109109
```bash
110-
grpc_cli ls ${FEAST_BATCH_SERVING_URL} feast.serving.ServingService
110+
grpc_cli ls ${FEAST_historical_serving_URL} feast.serving.ServingService
111111
```
112112

113113
```text
@@ -145,7 +145,7 @@ In order to print the logs from these services, please run the commands below.
145145
```
146146

147147
```text
148-
docker logs -f feast_batch_serving_1
148+
docker logs -f feast_historical_serving_1
149149
```
150150

151151
```text

docs/getting-started/deploying-feast/docker-compose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Configure the `.env` file based on your environment. At the very least you have
8080
| Parameter | Description |
8181
| :--- | :--- |
8282
| `FEAST_CORE_GCP_SERVICE_ACCOUNT_KEY` | This should be your service account file name, for example `key.json`. |
83-
| `FEAST_BATCH_SERVING_GCP_SERVICE_ACCOUNT_KEY` | This should be your service account file name, for example `key.json` |
83+
| `FEAST_historical_serving_GCP_SERVICE_ACCOUNT_KEY` | This should be your service account file name, for example `key.json` |
8484
| `FEAST_JUPYTER_GCP_SERVICE_ACCOUNT_KEY` | This should be your service account file name, for example `key.json` |
8585

8686
### 3.3 Configure Historical Serving

docs/installation/gke.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ For this guide we will use `NodePort` for exposing Feast services. In order to d
8080
export FEAST_IP=$(kubectl describe nodes | grep ExternalIP | awk '{print $2}' | head -n 1)
8181
export FEAST_CORE_URL=${FEAST_IP}:32090
8282
export FEAST_ONLINE_SERVING_URL=${FEAST_IP}:32091
83-
export FEAST_BATCH_SERVING_URL=${FEAST_IP}:32092
83+
export FEAST_historical_serving_URL=${FEAST_IP}:32092
8484
```
8585

8686
Add firewall rules to open up ports on your Google Cloud Platform project:

examples/basic/basic.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"FEAST_ONLINE_SERVING_URL = os.getenv('FEAST_ONLINE_SERVING_URL', 'localhost:6566')\n",
4444
"\n",
4545
"# Feast Batch Serving allows for the retrieval of historical feature data\n",
46-
"FEAST_BATCH_SERVING_URL = os.getenv('FEAST_BATCH_SERVING_URL', 'localhost:6567')"
46+
"FEAST_historical_serving_URL = os.getenv('FEAST_historical_serving_URL', 'localhost:6567')"
4747
]
4848
},
4949
{
@@ -592,7 +592,7 @@
592592
"metadata": {},
593593
"outputs": [],
594594
"source": [
595-
"batch_client = Client(core_url=FEAST_CORE_URL, serving_url=FEAST_BATCH_SERVING_URL)"
595+
"batch_client = Client(core_url=FEAST_CORE_URL, serving_url=FEAST_historical_serving_URL)"
596596
]
597597
},
598598
{

examples/feast-xgboost-churn-prediction-tutorial/Telecom Customer Churn Prediction (with Feast and XGBoost).ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6752,7 +6752,7 @@
67526752
"FEAST_ONLINE_SERVING_URL = os.getenv('FEAST_ONLINE_SERVING_URL', 'localhost:6566')\n",
67536753
"\n",
67546754
"# Feast Batch Serving allows for the retrieval of historical feature data\n",
6755-
"FEAST_BATCH_SERVING_URL = os.getenv('FEAST_BATCH_SERVING_URL', 'localhost:6567')"
6755+
"FEAST_historical_serving_URL = os.getenv('FEAST_historical_serving_URL', 'localhost:6567')"
67566756
]
67576757
},
67586758
{
@@ -7187,7 +7187,7 @@
71877187
" def __init__(self, features, target, model_path=None):\n",
71887188
" # Set up Feast clients to retrieve training and online serving data\n",
71897189
" self._feast_online_client = Client(serving_url=os.environ['FEAST_ONLINE_SERVING_URL'])\n",
7190-
" self._feast_batch_client = Client(serving_url=os.environ['FEAST_BATCH_SERVING_URL'],\n",
7190+
" self._feast_batch_client = Client(serving_url=os.environ['FEAST_historical_serving_URL'],\n",
71917191
" core_url=os.environ['FEAST_CORE_URL'])\n",
71927192
" \n",
71937193
" # Path to either save models after training or load models for serving\n",

infra/charts/feast/charts/feast-jupyter/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
value: "{{ .Release.Name }}-feast-core:6565"
3939
- name: FEAST_ONLINE_SERVING_URL
4040
value: "{{ .Release.Name }}-feast-online-serving:6566"
41-
- name: FEAST_BATCH_SERVING_URL
41+
- name: FEAST_historical_serving_URL
4242
value: "{{ .Release.Name }}-feast-batch-serving:6566"
4343
{{- if .Values.gcpServiceAccount.enabled }}
4444
- name: GOOGLE_APPLICATION_CREDENTIALS

infra/charts/feast/templates/tests/test-feast-batch-serving.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ spec:
7070
entity_rows_df = df.copy(deep=True).rename(columns={"datetime": "event_timestamp"})[["event_timestamp", "customer_id"]]
7171
pandavro.to_avro("entity_rows.avro", entity_rows_df)
7272
73-
batch_serving_job = client.get_historical_features(
73+
historical_serving_job = client.get_historical_features(
7474
entity_rows="file://entity_rows.avro",
7575
feature_refs=[
7676
f"{project}/daily_transactions:1",
7777
f"{project}/total_transactions:1",
7878
]
7979
)
80-
result_df = batch_serving_job.to_dataframe()
80+
result_df = historical_serving_job.to_dataframe()
8181
8282
print("Retrieved dataframe: ")
8383
print(result_df)

0 commit comments

Comments
 (0)