Category : windows-subsystem-for-linux

I’m trying to connect to hive-server in my docker container with the command beeline -u jdbc:hive2://localhost:10000, but i get the erros: [email protected]_server:/opt# beeline -u jdbc:hive2://localhost:10000 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/hive/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/hadoop-2.7.4/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] ..

Read more

I am unable to mount docker.sock when creating a container in WSL 2: -v /var/run/docker.sock:/var/run/docker.sock I get the following error: docker: Error response from daemon: not a directory. When navigating to /var/run, I can clearly see docker.sock being present, so I am unsure about why I am getting this error. docker ps correctly shows all ..

Read more

After a recent Windows update (I’m now running 10.0.19041), I started receiving strange errors when attempting to start Docker Desktop (v19.03.14, build e820475). The error messages indicated issues interacting with WSL 2. After doing some extra digging, I noticed that when I run valid wsl.exe commands (e.g. wsl –set-default-version or wsl –set-version Ubuntu 2, there ..

Read more

I am running services inside a docker container using WSL. Each service is listening on a specific port – http://localhost/xxxx One particular service is using port 59920. I am launching a website from VS Code that calls an endpoint on that service to retrieve information. The website fails to launch with the following error: [HPM] ..

Read more

I was using WSL2 to run a node server, when I only pass port to listen, const https = require(‘https’); https.createServer(***).listen(3001); the lsof -i display something like this node 13347 0t0 TCP *:3001 (LISTEN) and for somehow, I can not access this server through the hostname mapped in the hostfile(/etc/hosts) 127.0.0.1 local.test.com when I change ..

Read more