harrywang edited a comment on issue #12723: URL: https://github.com/apache/superset/issues/12723#issuecomment-805413251
I just did the following to make it work: 1. change to master branch `git checkout master` 2. change redis from 3.2 to latest in `docker-compose-non-dev.yml` <img width="307" alt="Screen Shot 2021-03-23 at 9 51 25 PM" src="https://user-images.githubusercontent.com/595772/112242317-f9577580-8c21-11eb-807f-db9c1fdd04c7.png"> Otherwise, the following redia error: <img width="576" alt="Screen Shot 2021-03-23 at 10 13 22 PM" src="https://user-images.githubusercontent.com/595772/112244200-4db02480-8c25-11eb-921b-915fbd47808e.png"> <img width="1038" alt="Screen Shot 2021-03-23 at 10 13 30 PM" src="https://user-images.githubusercontent.com/595772/112244211-50127e80-8c25-11eb-8c92-ce060665d6b6.png"> ``` 1:M 24 Mar 02:14:57.587 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 24 Mar 02:14:57.587 # Server started, Redis version 3.2.12 1:M 24 Mar 02:14:57.588 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 1:M 24 Mar 02:14:57.588 # Can't handle RDB format version 9 1:M 24 Mar 02:14:57.588 # Fatal error loading the DB: Invalid argument. Exiting. ``` 3. use `docker-compose -f docker-compose-non-dev.yml up` to start the server 4. wait sometime and superset_init exited with 0 is expected - it does not affect the server: <img width="468" alt="Screen Shot 2021-03-23 at 9 47 56 PM" src="https://user-images.githubusercontent.com/595772/112242376-1d1abb80-8c22-11eb-8393-75ff66cc196f.png"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
