title: Zeppelin on WSL. java.io.IOException: Fail to launch interpreter process
body: <p>I am new to Zeppelin and want to install it on my Windows10Pro/WSL machine.
  These installation scripts are used <a href="https://github.com/x4ax/lxss-install-zeppelin" rel="nofollow noreferrer">https://github.com/x4ax/lxss-install-zeppelin</a> .</p>
  <p>Since it is three years old, I had to modify it a bit, so I have:</p>
  <ul>
  <li>Ubuntu 20.04, bash</li>
  <li>zeppelin-0.9.0-bin-all</li>
  <li>hadoop-3.3.0</li>
  <li>spark-3.0.1-bin-hadoop2.7</li>
  <li>I link python3 to python</li>
  </ul>
  <p>Everything is installed, hadoop and spark are successfully tested with provided scripts. At the end I managed to see &quot;<strong>Welcome to Zeppelin!</strong>&quot; landing page.</p>
  <p>First, I go to the provided tutorial python notes, &quot;<strong>1.IPython Basic</strong>&quot; and run first cell with %md only. I get the error message&quot;:
  &quot;</p>
  <blockquote>
  <p>org.apache.zeppelin.interpreter.InterpreterException: java.io.IOException: Fail to launch interpreter process:
  null
  at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:129)
  at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:271)
  at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:444)
  at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:72)
  at org.apache.zeppelin.scheduler.Job.run(Job.java:172)
  at org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:132)
  at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:182)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  Caused by: java.io.IOException: Fail to launch interpreter process:
  null
  at org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess.start(RemoteInterpreterManagedProcess.java:126)
  at org.apache.zeppelin.interpreter.ManagedInterpreterGroup.getOrCreateInterpreterProcess(ManagedInterpreterGroup.java:68)
  at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getOrCreateInterpreterProcess(RemoteInterpreter.java:104)
  at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:154)
  at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:126)
  ... 13 more</p>
  </blockquote>
  <p>Info from md-shared.log</p>
  <blockquote>
  <p>INFO [2021-01-14 18:54:46,610] ({RemoteInterpreterServer-Thread} RemoteInterpreterServer.java[run]:193) - Launching ThriftServer at 169.254.120.3:52579
  INFO [2021-01-14 18:54:47,785] ({RegisterThread} RemoteInterpreterServer.java[run]:609) - Registering interpreter process
  ERROR [2021-01-14 18:54:47,790] ({RegisterThread} RemoteInterpreterServer.java[run]:613) - Error while registering interpreter: RegisterInfo(host:169.254.120.3, port:52579, interpreterGroupId:md-shared_process), cause: {}
  java.lang.RuntimeException: java.io.IOException: org.apache.zeppelin.shaded.org.apache.thrift.transport.TTransportException: java.net.SocketException: Network is unreachable (connect failed)</p>
  </blockquote>
  <p>Which means that there is some network problem</p>
  <p>Steps to find solution:</p>
  <ol>
  <li>From logs I see the command like this, which is run by RemoteInterpreter java-object:</li>
  </ol>
  <blockquote>
  <p>/usr/local/zeppelin/bin/interpreter.sh -d /usr/local/zeppelin/interpreter/md -c 169.254.120.3 -p 52579 -r : -i md-shared_process -l /usr/local/zeppelin/local-repo/md -g md</p>
  </blockquote>
  <p>It runs silently.</p>
  <ol start="2">
  <li><p>zeppelin-daemon.sh start/stop run ok. 'status' also shows correct status. So, restart does not help.</p>
  </li>
  <li><p>Reinstall of zeppelin and of wsl did not help.</p>
  </li>
  <li><p>I also tested problem while firewall was shutdown.</p>
  </li>
  </ol>
  <p>I am puzzled.</p>