Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .prow/scripts/test-end-to-end-batch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,15 @@ set +e
pytest bq-batch-retrieval.py --junitxml=${LOGS_ARTIFACT_PATH}/python-sdk-test-report.xml
TEST_EXIT_CODE=$?

if [[ ${TEST_EXIT_CODE} != 0 ]]; then
echo "[DEBUG] Printing logs"
ls -ltrh /var/log/feast*
cat /var/log/feast-serving-warehouse.log /var/log/feast-core.log

echo "[DEBUG] Printing Python packages list"
pip list
fi

cd ${ORIGINAL_DIR}
exit ${TEST_EXIT_CODE}

Expand Down
13 changes: 13 additions & 0 deletions .prow/scripts/test-end-to-end.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ sleep 20
tail -n10 /var/log/kafka.log
kafkacat -b localhost:9092 -L

if [[ ${SKIP_BUILD_JARS} != "true" ]]; then
echo "
============================================================
Building jars for Feast
Expand All @@ -81,6 +82,9 @@ mvn --quiet --batch-mode --define skipTests=true clean package

ls -lh core/target/*jar
ls -lh serving/target/*jar
else
echo "[DEBUG] Skipping building jars"
fi

echo "
============================================================
Expand Down Expand Up @@ -225,5 +229,14 @@ set +e
pytest basic-ingest-redis-serving.py --junitxml=${LOGS_ARTIFACT_PATH}/python-sdk-test-report.xml
TEST_EXIT_CODE=$?

if [[ ${TEST_EXIT_CODE} != 0 ]]; then
echo "[DEBUG] Printing logs"
ls -ltrh /var/log/feast*
cat /var/log/feast-serving-online.log /var/log/feast-core.log

echo "[DEBUG] Printing Python packages list"
pip list
fi

cd ${ORIGINAL_DIR}
exit ${TEST_EXIT_CODE}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [v0.4.6](https://github.com/gojek/feast/tree/v0.4.6) (2020-02-26)

[Full Changelog](https://github.com/gojek/feast/compare/v0.4.5...v0.4.6)

**Merged pull requests:**
- Rename metric name for request latency in feast serving [\#488](https://github.com/gojek/feast/pull/488) ([davidheryanto](https://github.com/davidheryanto))
- Allow use of secure gRPC in Feast Python client [\#459](https://github.com/gojek/feast/pull/459) ([Yanson](https://github.com/Yanson))
- Extend WriteMetricsTransform in Ingestion to write feature value stats to StatsD [\#486](https://github.com/gojek/feast/pull/486) ([davidheryanto](https://github.com/davidheryanto))
- Remove transaction from Ingestion [\#480](https://github.com/gojek/feast/pull/480) ([imjuanleonard](https://github.com/imjuanleonard))
- Fix fastavro version used in Feast to avoid Timestamp delta error [\#490](https://github.com/gojek/feast/pull/490) ([davidheryanto](https://github.com/davidheryanto))
- Fail Spotless formatting check before tests execute [\#487](https://github.com/gojek/feast/pull/487) ([ches](https://github.com/ches))
- Reduce refresh rate of specification refresh in Serving to 10 seconds [\#481](https://github.com/gojek/feast/pull/481) ([woop](https://github.com/woop))

## [v0.4.5](https://github.com/gojek/feast/tree/v0.4.5) (2020-02-14)

[Full Changelog](https://github.com/gojek/feast/compare/v0.4.4...v0.4.5)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import feast.ingestion.options.ImportOptions;
import feast.ingestion.options.OptionCompressor;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
Expand Down
2 changes: 1 addition & 1 deletion datatypes/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Dependency Coordinates
<dependency>
<groupId>dev.feast</groupId>
<artifactId>datatypes-java</artifactId>
<version>0.4.5-SNAPSHOT</version>
<version>0.4.6-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion examples/basic/basic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"outputs": [],
"source": [
"days = [datetime.utcnow().replace(hour=0, minute=0, second=0, microsecond=0).replace(tzinfo=utc) \\\n",
" - timedelta(day) for day in range(31)]\n",
" - timedelta(day) for day in range(3)][::-1]\n",
"\n",
"customers = [1001, 1002, 1003, 1004, 1005]"
]
Expand Down
2 changes: 1 addition & 1 deletion infra/charts/feast/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: A Helm chart to install Feast on kubernetes
name: feast
version: 0.4.5
version: 0.4.6
6 changes: 3 additions & 3 deletions infra/charts/feast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The following table lists the configurable parameters of the Feast chart and the
| `feast-core.prometheus-statsd-exporter.*` | Refer to this [link](charts/feast-core/charts/prometheus-statsd-exporter/values.yaml |
| `feast-core.replicaCount` | No of pods to create | `1`
| `feast-core.image.repository` | Repository for Feast Core Docker image | `gcr.io/kf-feast/feast-core`
| `feast-core.image.tag` | Tag for Feast Core Docker image | `0.4.5`
| `feast-core.image.tag` | Tag for Feast Core Docker image | `0.4.6`
| `feast-core.image.pullPolicy` | Image pull policy for Feast Core Docker image | `IfNotPresent`
| `feast-core.prometheus.enabled` | Add annotations to enable Prometheus scraping | `false`
| `feast-core.application.yaml` | Configuration for Feast Core application | Refer to this [link](charts/feast-core/values.yaml)
Expand Down Expand Up @@ -126,7 +126,7 @@ The following table lists the configurable parameters of the Feast chart and the
| `feast-serving-online.core.enabled` | Flag for Feast Serving to use Feast Core in the same Helm release | `true`
| `feast-serving-online.replicaCount` | No of pods to create | `1`
| `feast-serving-online.image.repository` | Repository for Feast Serving Docker image | `gcr.io/kf-feast/feast-serving`
| `feast-serving-online.image.tag` | Tag for Feast Serving Docker image | `0.4.5`
| `feast-serving-online.image.tag` | Tag for Feast Serving Docker image | `0.4.6`
| `feast-serving-online.image.pullPolicy` | Image pull policy for Feast Serving Docker image | `IfNotPresent`
| `feast-serving-online.prometheus.enabled` | Add annotations to enable Prometheus scraping | `true`
| `feast-serving-online.application.yaml` | Application configuration for Feast Serving | Refer to this [link](charts/feast-serving/values.yaml)
Expand Down Expand Up @@ -168,7 +168,7 @@ The following table lists the configurable parameters of the Feast chart and the
| `feast-serving-batch.core.enabled` | Flag for Feast Serving to use Feast Core in the same Helm release | `true`
| `feast-serving-batch.replicaCount` | No of pods to create | `1`
| `feast-serving-batch.image.repository` | Repository for Feast Serving Docker image | `gcr.io/kf-feast/feast-serving`
| `feast-serving-batch.image.tag` | Tag for Feast Serving Docker image | `0.4.5`
| `feast-serving-batch.image.tag` | Tag for Feast Serving Docker image | `0.4.6`
| `feast-serving-batch.image.pullPolicy` | Image pull policy for Feast Serving Docker image | `IfNotPresent`
| `feast-serving-batch.prometheus.enabled` | Add annotations to enable Prometheus scraping | `true`
| `feast-serving-batch.application.yaml` | Application configuration for Feast Serving | Refer to this [link](charts/feast-serving/values.yaml)
Expand Down
2 changes: 1 addition & 1 deletion infra/charts/feast/charts/feast-core/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: A Helm chart for core component of Feast
name: feast-core
version: 0.4.5
version: 0.4.6
2 changes: 1 addition & 1 deletion infra/charts/feast/charts/feast-serving/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: A Helm chart for serving component of Feast
name: feast-serving
version: 0.4.5
version: 0.4.6
6 changes: 3 additions & 3 deletions infra/charts/feast/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies:
- name: feast-core
version: 0.4.5
version: 0.4.6
condition: feast-core.enabled
- name: feast-serving
alias: feast-serving-batch
version: 0.4.5
version: 0.4.6
condition: feast-serving-batch.enabled
- name: feast-serving
alias: feast-serving-online
version: 0.4.5
version: 0.4.6
condition: feast-serving-online.enabled
4 changes: 3 additions & 1 deletion infra/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,6 @@ services:
ZOOKEEPER_CLIENT_PORT: 2181

db:
image: postgres:12-alpine
image: postgres:12-alpine
ports:
- "5432:5342"
7 changes: 7 additions & 0 deletions ingestion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,12 @@
<version>2.8.1</version>
</dependency>

<!-- For calculation of percentiles in feature values -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.6.1</version>
</dependency>

</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

/** Options passed to Beam to influence the job's execution environment */
public interface ImportOptions extends PipelineOptions, DataflowPipelineOptions, DirectOptions {

@Required
@Description(
"JSON string representation of the FeatureSet that the import job will process, in BZip2 binary format."
Expand Down Expand Up @@ -83,4 +84,13 @@ public interface ImportOptions extends PipelineOptions, DataflowPipelineOptions,
int getStatsdPort();

void setStatsdPort(int StatsdPort);

@Description(
"Fixed window size in seconds (default 30) to apply before aggregation of numerical value of features"
+ "and writing the aggregated value to StatsD. Refer to feast.ingestion.transform.metrics.WriteFeatureValueMetricsDoFn"
+ "for details on the metric names and types.")
@Default.Integer(30)
int getWindowSizeInSecForFeatureValueMetric();

void setWindowSizeInSecForFeatureValueMetric(int seconds);
}
Loading