GitHub user 10110346 opened a pull request: https://github.com/apache/kafka/pull/3235
MINOR: Running the ConsumerIteratorTest unit testsï¼TMP directory has not been deleted when an exception occurs OS:Windows 7 After the running ConsumerIteratorTest unit tests, the TMP directory '..\AppData\Local\Temp\kafka-6579284700084877567\version-2' has not been deleted Exception information: at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1126) at org.apache.kafka.common.utils.Utils$2.visitFile(Utils.java:575) at org.apache.kafka.common.utils.Utils$2.visitFile(Utils.java:564) at java.nio.file.Files.walkFileTree(Files.java:2670) at java.nio.file.Files.walkFileTree(Files.java:2742) at org.apache.kafka.common.utils.Utils.delete(Utils.java:564) at org.apache.kafka.test.TestUtils$1.run(TestUtils.java:182) [2017-06-05 11:03:32,552] ERROR Error deleting C:\Users\10110346\AppData\Local\Temp\kafka-5691323213778461274 (org.apache.kafka.test.TestUtils:184) java.nio.file.FileSystemException: C:\Users\10110346\AppData\Local\Temp\kafka-5691323213778461274\version-2\log.1: å¦ä¸ä¸ªç¨åºæ£å¨ä½¿ç¨æ¤æ件ï¼è¿ç¨æ æ³è®¿é®ã You can merge this pull request into a Git repository by running: $ git pull https://github.com/10110346/kafka lx-wip-0x605 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3235.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3235 ---- commit 64ac8cb29124cbe0306b21543d5f965a0b492aa2 Author: liuxian <liu.xi...@zte.com.cn> Date: 2017-06-05T03:17:26Z Running the ConsumerIteratorTest unit testsï¼TMP directory has not been deleted when an exception occurs ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---