You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug] 修复 Java UDF 编译错误导致 Byzer Notebook 中的 job 不能被正确终止的问题。Fix a Java UDF compilation error that caused the Job in Byzer Notebook to fail to terminate correctly.
#1699
Closed
chncaesar opened this issue
Feb 22, 2022
· 1 comment
Login byze.org/trial, and submit the following code
REGISTERScriptUDF.`` AS echoFun WHERE
and lang="java"
and udfType="udf"
and code='''importjava.util.HashMap;
importjava.util.Map;
public classTest {
public Map<String, String> apply(String s) {
Map m =newHashMap<>();
m.put(s, s);
return m;
}
}
'''
select echoFun("a") as output;
Notebook keeps running, and there's no error log.
However , exception can be found in logs/engine.log
/streaming/udf/java/sun283382a5e4f666a0ad0b3436c7d6a8bd/UDF.java:7: error: class Test is public, should be declared in a file named Test.java
The text was updated successfully, but these errors were encountered:
Lindsaylin
changed the title
Java UDF compilation error does not stop job from running in Notebook
[Bug] 修复 Java UDF 编译错误导致 Byzer Notebook 中的 job 不能被正确终止的问题。Fix a Java UDF compilation error that caused the Job in Byzer Notebook to fail to terminate correctly.
Mar 30, 2022
Steps to reproduce
The text was updated successfully, but these errors were encountered: