freeznet opened a new issue #11781: URL: https://github.com/apache/pulsar/issues/11781
**Describe the bug** When uploading a large file to the package management service, the downloaded file is not the same file when uploaded. The downloaded file has the same size as the uploaded file, but with different content. ``` root@pulsar-broker-0:/pulsar# bin/pulsar-admin packages upload function://public/default/temp-function@3.0 --path /pulsar/test.dat --description temp-function Warning: Nashorn engine is planned to be removed from a future JDK release "The package 'function://public/default/temp-function@3.0' uploaded from path '/pulsar/test.dat' successfully" root@pulsar-broker-0:/pulsar# bin/pulsar-admin packages download function://public/default/temp-function@3.0 --path /pulsar/test-download.dat Warning: Nashorn engine is planned to be removed from a future JDK release "The package 'function://public/default/java-function@3.0' downloaded to path '/pulsar/test-download.dat' successfully" root@pulsar-broker-0:/pulsar# ls -l -rw-r--r-- 1 root root 20480 Aug 25 12:38 test-download.dat -rw-r--r-- 1 root root 20480 Aug 25 12:38 test.dat root@pulsar-broker-0:/pulsar# md5sum ./test.dat 33c611a33e04978379c746c58df4dcc8 ./test.dat root@pulsar-broker-0:/pulsar# md5sum ./test-download.dat adf958f499c8686abe45624cce3cc5bb ./test-download.dat ``` **To Reproduce** Steps to reproduce the behavior: 1. enable `enablePackagesManagement` in broker.conf 2. upload a large file with `pulsar-admin packages upload` 3. download the package with `pulsar-admin packages download` 4. check the file's `md5sum` **Expected behavior** Download the same file from the package management service **Additional context** Add any other context about the problem here. -- 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-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org