Hello,

I installed Apache Zeppelin 0.10.0 on RedHat 8, running with java 1.8_301.

When I try to play Java interpreter example <https://zeppelin.apache.org/docs/0.10.0/interpreter/java.html> coming from official documentation.

I get the following issue:

|line 6 : error while writing C1a879a6eb4864d60adaa926aa283ba21: C1a879a6eb4864d60adaa926aa283ba21.class (Permission denied) |

When I read StaticRepl.java <https://github.com/apache/zeppelin/blob/master/java/src/main/java/org/apache/zeppelin/java/StaticRepl.java> I can see usage of:

|JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();` |

Class is generated where Zeppelin is launched. On my case, I use Systemd launch method and correct the issue adding:

|WorkingDirectory=/path/to/my/folder/where/process/has/access |

I know that it is possible to change location using StandardJavaFileManager <https://stackoverflow.com/questions/31225547/how-to-set-the-class-folder-path-when-i-use-javacompiler-to-compile-code>, maybe it can be configured by property inside Interpreter.


I don't know if some other users get this issue and if it's a good idea to create a Jira.


Baptiste

Reply via email to