Git Product home page Git Product logo

cassandra-workshop-series's People

Contributors

bettinaswynnerton avatar clun avatar dependabot[bot] avatar erickramirezau avatar erickramirezds avatar guzelcihad avatar hadesarchitect avatar morrme avatar sonicdmg avatar tringuyen-yw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cassandra-workshop-series's Issues

404 error for URL in "week5-Cass-in-k8s/README.MD" "6. Create a KIND cluster" "1 master, 5 workers"

In the text:

We will create a Kubernetes cluster based on the following configuration 1 master, 5 workers to be able to spawn some multi nodes clusters.

The URL link for "following configuration" currently is:

https://github.com/DataStax-Academy/cassandra-workshop-series/blob/master/week5-Cass-in-k8s/01-kind-config.yaml

which resulted the 404 error.

I believe you meant to say:

https://github.com/DataStax-Academy/cassandra-workshop-series/blob/master/week5-Cass-in-k8s/setup-your-cluster/01-kind-config.yaml

My 2 cents!

Authentication issue with USE_ASTRA=false

I got an authentication error when Cassandra is local, with USE_ASTRA=false.

Trying to figure out a solution I created a fork and added some code, as shown below:

bampli/t1-astra@4cd61c5

The idea was to fulfill Cassandra security requirements but still got an error:

image

Any hints? How to connect with local Cassandra cluster with Kind?

python week4 ModuleNotFoundError: No module named 'controller'

When I try to run week4-python I got an error, as the 'controller' package could not be located. What am I doing wrong?

Steps:

  • goto Gitpod
  • pip install Flask flask-cors cassandra-driver
  • FLASK_ENV=development FLASK_APP=getting_started_with_astra.py flask run

Result:
gitpod /workspace/getting-started-with-astra-python $ FLASK_ENV=development FLASK_APP=getting_started_with_astra.py flask run

  • Serving Flask app "getting_started_with_astra.py" (lazy loading)
  • Environment: development
  • Debug mode: on
  • Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 149-766-813
    127.0.0.1 - - [25/Jul/2020 14:16:18] "GET / HTTP/1.1" 500 -
    Traceback (most recent call last):
    File "/workspace/getting-started-with-astra-python/getting_started_with_astra.py", line 3, in
    from controller.credentials_controller import credentials_controller
    ModuleNotFoundError: No module named 'controller'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/workspace/.pip-modules/lib/python3.8/site-packages/flask/cli.py", line 338, in call
self._flush_bg_loading_exception()
File "/workspace/.pip-modules/lib/python3.8/site-packages/flask/cli.py", line 326, in _flush_bg_loading_exception
reraise(*exc_info)
File "/workspace/.pip-modules/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/workspace/.pip-modules/lib/python3.8/site-packages/flask/cli.py", line 314, in _load_app
self._load_unlocked()
File "/workspace/.pip-modules/lib/python3.8/site-packages/flask/cli.py", line 330, in _load_unlocked
self._app = rv = self.loader()
File "/workspace/.pip-modules/lib/python3.8/site-packages/flask/cli.py", line 388, in load_app
app = locate_app(self, import_name, name)
File "/workspace/.pip-modules/lib/python3.8/site-packages/flask/cli.py", line 245, in locate_app
raise NoAppException(
flask.cli.NoAppException: While importing "getting-started-with-astra-python.getting_started_with_astra", an ImportError was raised:

Traceback (most recent call last):
File "/workspace/.pip-modules/lib/python3.8/site-packages/flask/cli.py", line 240, in locate_app
import(module_name)
File "/workspace/getting-started-with-astra-python/getting_started_with_astra.py", line 3, in
from controller.credentials_controller import credentials_controller
ModuleNotFoundError: No module named 'controller'

This is the dump() result:
image

Thanks for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.