wolfstudy commented on issue #5465: [Pulsar Functions] User class constructor 
throws exception
URL: https://github.com/apache/pulsar/issues/5465#issuecomment-546295197
 
 
   After I delete the files in the following two paths, the instance of 
function can be created normally.
   
   ```
   12:00:50.493 [public/default/test-serde-xiaolong-0] INFO  
org.apache.pulsar.functions.instance.JavaInstanceRunnable - Load JAR: 
/tmp/pulsar_functions/public/default/test-serde-xiaolong/0/pulsar-util-function-api-pack-0.10.2-all.jar
   12:00:50.548 [public/default/test-serde-xiaolong-0] WARN  
org.apache.pulsar.common.nar.NarClassLoader - 
/var/folders/qz/g2fh76dx5rj4q_fbkfh1q3th0000gn/T/pulsar-nar/pulsar-util-function-api-pack-0.10.2-all.jar-unpacked
 does not contain META-INF/bundled-dependencies!
   ```
   
   So, I guess after a while, the contents of these two folders may be lost.
   
   ```
   private final static String HASH_FILENAME = "nar-md5sum";
   ```
   
   But the `nar-md5sum` file should still exist, otherwise it will rewrite the 
contents of the entire folder.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to