You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "xiaomi-box (via GitHub)" <gi...@apache.org> on 2023/12/08 01:48:56 UTC

[I] [Bug] User-defined java udf jvm oom The be node exits unexpectedly [doris]

xiaomi-box opened a new issue, #28161:
URL: https://github.com/apache/doris/issues/28161

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   doris 2.2.0
   
   ### What's Wrong?
   
   User-defined java udf jvm oom The be node exits unexpectedly
   
   
   ### What You Expected?
   
   Supports the normal use of java udf, the doris service is normal, and the memory does not continue to grow
   
   ### How to Reproduce?
   
   ## java code
   import org.apache.hadoop.hive.ql.exec.UDF;
   
   /**
    * 将格式化后的json恢复原来的样子
    */
   public class TrimJson extends UDF {
       public String evaluate(String value) {
           String newVal = value.replace("\\", "")
                   .replace("\"{", "{")
                   .replace("}\"", "}")
                   .replace("\"[","[")
                   .replace("]\"","]")
                   ;
           return newVal;
   
       }
   }
   
   ## CREATE FUNCTION
   CREATE FUNCTION report.trim_json(String) RETURNS String PROPERTIES (
       "file"="file:///mnt/apache-doris-2.0.2-bin-x64/be/lib/java_extensions/test-udf/doris_udf-1.0-SNAPSHOT.jar",
       "symbol"="com.xx.function.TrimJson",
       "always_nullable"="true",
       "type"="JAVA_UDF"
   );
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] User-defined java udf jvm oom The be node exits unexpectedly [doris]

Posted by "zhangstar333 (via GitHub)" <gi...@apache.org>.
zhangstar333 commented on issue #28161:
URL: https://github.com/apache/doris/issues/28161#issuecomment-1851206880

   seems need this PR: https://github.com/apache/doris/pull/25151


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] User-defined java udf jvm oom The be node exits unexpectedly [doris]

Posted by "xiaomi-box (via GitHub)" <gi...@apache.org>.
xiaomi-box commented on issue #28161:
URL: https://github.com/apache/doris/issues/28161#issuecomment-1846436320

   The jmap dump analysis shows that the number of java instances continues to increase without decreasing


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] User-defined java udf jvm oom The be node exits unexpectedly [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #28161: [Bug]  User-defined java udf jvm oom The be node exits unexpectedly
URL: https://github.com/apache/doris/issues/28161


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] User-defined java udf jvm oom The be node exits unexpectedly [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #28161:
URL: https://github.com/apache/doris/issues/28161#issuecomment-3287229006

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] User-defined java udf jvm oom The be node exits unexpectedly [doris]

Posted by "LemonLiTree (via GitHub)" <gi...@apache.org>.
LemonLiTree commented on issue #28161:
URL: https://github.com/apache/doris/issues/28161#issuecomment-1846494624

   Send be.out


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org