-
Notifications
You must be signed in to change notification settings - Fork 299
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
No result for Movielens 100K Worked Example #23
Comments
I have also an another question if possible: why seldon use both zookeeper and etcd while things are possible relying only on just etcd? Thank you in advance for your answer. |
Can you rerun the ml100k job: cd kubernetes/conf/examples/ml100k And provide the logs? Regards zookeeper and etcd. We only use zookeeper in Seldon. Etcd is part of Kubernetes. |
I'm not getting the official tutorial output either . I'm running Kubernetes locally via MiniKube . job "ml100k-import" created` `$kubectl get jobs -l name=ml100k-import NAME DESIRED SUCCESSFUL AGE Than when i run
This is it all : `$ bin/seldon-cli api --client-name ml100k --endpoint /js/recommendations --item 50 --limit 4 File "/opt/conda/lib/python2.7/site-packages/setuptools-18.5-py2.7.egg/pkg_resources/init.py", line 742, in run_script File "/opt/conda/lib/python2.7/site-packages/setuptools-18.5-py2.7.egg/pkg_resources/init.py", line 1667, in run_script When i run $Kubectl get pods i notice $kubectl describe pod seldon-server-553220162-23o53 12m 6s 48 {default-scheduler } Warning FailedScheduling pod (seldon-server-553220162-23o53) failed to fit in any node Knowing that i run `Name: minikubevm OutOfDisk False Tue, 02 Aug 2016 18:13:33 +0900 Tue, 02 Aug 2016 15:43:49 +0900 KubeletHasSufficientDisk kubelet has sufficient disk space available default influxdb-grafana-xl5ec 0 (0%) 0 (0%) 0 (0%) 0 (0%) 5m (0%) 0 (0%) 3642Mi (62%) 0 (0%) So does that mean i can't run this demo on Minikube ? |
It does look like a memory issue. Can you try increasing e.g. |
Yes , it worked with 10GB memory allocation . I got the desired output after executing but when i wanted to go through it step by step and reached the step to setup the schema using JSON:
Same error even though the file does exist under the seldon-server/docker/examples/ml100k directory , i retried with writing the whole path in the command but still same error msg that No such file or directory ! ? Same error with the following steps , but instead its "Invalid file[items.csv]" My machine is a MAC OSX ELCAPITAN , 16GB memory, so to "ensure we have a namesever for external DNS (seems to be required for local Docker running of Kubernetes)" I also tried Here's the whole log for the JSON schema: `connecting to zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181 [SUCCEEDED] File "/opt/conda/bin/seldon-cli", line 4, in I can't spot a problem somewhere else ? `$kubectl get services --all-namespaces default kafka-service 10.0.0.87 9092/TCP 6h Same error with the Movie Lens 10M demo also . Thank you in advance . |
I think this is because you are trying to run a command in the seldon-control container and it does not have access to the local files on your system. One way would be to move the required files to a location that seldon-control can access such as the /seldon-data if you are running with hostPath. We should make this clearer in the documentation. |
I'm running commands from my terminal as an admin not from seldon-control container bash terminal .
I'm sorry i didn't get the last line , when i create /seldon-data directory on my minikube vm it tells me File already exists . I get that seldon-data is a volume shared between seldon-server container and seldon-control container : conf seldon-server me$ kubectl exec seldon-control ls /seldon-data conf Also the users.csv is empty when created ? so i edited it to Thank you in advance . |
The main thing is you need to create the files in /seldon-data where seldon-control can see them. Create a folder /seldon-data/ml100k. cat <(echo 'id,title,release,url') <(cat ml-100k/u.item.utf8 | awk -F '|' '{printf("%d,"%s","%s","%s"\n",$1,$2,$3,$5)}') > /seldon-data/ml100k/items.csv and: seldon-cli attr --action apply --client-name ml100k --json /seldon-data/ml100k/attrs.json You can then run MF and setup algs as described. seldon-cli import --action actions --client-name ml100k --file-path /seldon-data/ml100k/actions.csv |
I am trying to run ml100k example. All things are all right but when I tape
seldon-cli api --client-name ml100k --endpoint /js/recommendations --item 50 --limit 4
and get this resultwhich is different from what is mentioned in the tutorial.
Could you help me please?
Nadia
The text was updated successfully, but these errors were encountered: