java.io.IOException: Unable to delete directory /tmp/karaf420566567662495474/caches/pan/data-1/cache/bundle12/data/config.

Pentaho BI Platform Tracking | Alexander Schurman | 4 months ago
  1. 0

    On the HELP documentation, there is a new property included in Pentaho 6.1 https://help.pentaho.com/Documentation/6.1/0P0/100/Karaf_Performance_Tuning The parameter called **pentaho.karaf.root.transient=true** is used when non ADMIN uses need to execute PDI Jobs and transformations but the Install Folder has READ ONLY. The error reported is the following: {code} Deleting configuration from org.pentaho.features.cfg Deleting configuration from pentaho.marketplace.di.cfg Deleting configuration from jmx.acl.cfg Deleting configuration from mondrian.cfg Deleting configuration from org.apache.karaf.command.acl.system.cfg Deleting configuration from org.apache.karaf.webconsole.cfg Deleting configuration from org.pentaho.caching-default.cfg Deleting configuration from jmx.acl.osgi.compendium.cm.cfg Deleting configuration from org.apache.karaf.command.acl.scope_bundle.cfg 11:44:22,350 ERROR [KarafBoot] Unable to delete karaf directory /tmp/karaf420566567662495474 java.io.IOException: Unable to delete directory /tmp/karaf420566567662495474/caches/pan/data-1/cache/bundle12/data/config. at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1337) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.pentaho.platform.osgi.KarafBoot$1.run(KarafBoot.java:136) at java.lang.Thread.run(Thread.java:745) {code} Other errors like {code} Deleting configuration from jmx.acl.org.apache.karaf.security.jmx.cfg Deleting configuration from org.pentaho.caching-default.cfg Deleting configuration from jmx.acl.osgi.compendium.cm.cfg Deleting configuration from org.ops4j.pax.url.mvn.cfg Deleting configuration from org.apache.karaf.management.cfg Deleting configuration from org.apache.karaf.command.acl.scope_bundle.cfg Deleting configuration from pentaho.metaverse.cfg Deleting configuration from jmx.acl.org.apache.karaf.bundle.cfg Deleting configuration from org.apache.karaf.command.acl.shell.cfg 12:51:47,204 ERROR [KarafBoot] Unable to delete karaf directory /tmp/karaf7576566762912840191 java.io.FileNotFoundException: File does not exist: /tmp/karaf7576566762912840191/caches/pan/data-1/cache/bundle12/data/config/org/apache/karaf/management.config at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1915) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.pentaho.platform.osgi.KarafBoot$1.run(KarafBoot.java:136) at java.lang.Thread.run(Thread.java:745) {code} This does not happen ALWAYS, it happens randomly.

    Pentaho BI Platform Tracking | 4 months ago | Alexander Schurman
    java.io.IOException: Unable to delete directory /tmp/karaf420566567662495474/caches/pan/data-1/cache/bundle12/data/config.
  2. 0

    T-SPARQL test fail

    GitHub | 2 years ago | skodape
    java.io.IOException: Unable to delete file: C:\Users\Petyr\AppData\Local\Temp\7708574074026886311\dataUnits\test_env_72636635\values.id
  3. 0

    Running tests on Windows intermittently throws IOException

    GitHub | 3 years ago | sospirited
    java.io.IOException: Unable to delete directory libs\javascript\br-libs\ct-core\tests\test-unit\js-test-driver\bundles.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JUnit 4 test case passes when debugged but fails when ran

    Stack Overflow | 5 years ago | hSherlock
    java.io.IOException: Unable to delete file: \apps\Codes\MP2\LandingStrips\inprocess\12345\testTarDir\myfile.txt
  6. 0

    Build not working in Windows

    GitHub | 2 years ago | hypery2k
    java.io.IOException: Unable to delete file: _test-js-multilevel\main2.test.js

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Unable to delete directory /tmp/karaf420566567662495474/caches/pan/data-1/cache/bundle12/data/config.

      at org.apache.commons.io.FileUtils.deleteDirectory()
    2. Commons IO
      FileUtils.deleteDirectory
      1. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1337)
      2. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      3. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      4. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      5. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      6. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      7. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      8. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      9. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      10. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      11. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      12. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      13. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      14. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      15. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      16. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      17. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      18. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      19. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      20. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      21. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      22. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      22 frames
    3. org.pentaho.platform
      KarafBoot$1.run
      1. org.pentaho.platform.osgi.KarafBoot$1.run(KarafBoot.java:136)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame