java.io.IOException: tachyon.exception.TachyonException: Path /bug/test bad filename.xml is invalid.

JIRA | Peter McTaggart | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to load a file from local file system to Tachyon?

    Google Groups | 1 year ago | Jia Zou
    java.io.IOException: tachyon.exception.TachyonException: /tmp/HiBench/Kmeans/Input/cluster/part-00000
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Initializing Tachyon

    Google Groups | 1 year ago | Peter M
    java.io.IOException: tachyon.exception.TachyonException: Path /files/staging/data/test/ABC Data Readings.xml is invalid.
  4. 0

    Two symptoms are observed: 1. From command line: tachyon loadufs tachyon://n1:19998/file hdfs://n1:9000/file, where "file" is a file at the root of HDFS leads to error message: java.io.IOException: Uri is invalid: URI must be absolute at tachyon.client.TachyonFS.validateUri(TachyonFS.java:1010) at tachyon.client.TachyonFS.getFileStatus(TachyonFS.java:611) at tachyon.client.TachyonFS.exist(TachyonFS.java:407) at tachyon.client.UfsUtils.loadUnderFs(UfsUtils.java:160) at tachyon.client.UfsUtils.loadUfs(UfsUtils.java:79) at tachyon.client.UfsUtils.main(UfsUtils.java:221) Usage: java -cp target/tachyon-0.7.1-jar-with-dependencies.jar tachyon.client.UfsUtils <TachyonPath> <UfsPath> [<Optional ExcludePathPrefix, separated by ;>] Example: java -cp target/tachyon-0.7.1-jar-with-dependencies.jar tachyon.client.UfsUtils tachyon://127.0.0.1:19998/a hdfs://localhost:9000/b c Example: java -cp target/tachyon-0.7.1-jar-with-dependencies.jar tachyon.client.UfsUtils tachyon://127.0.0.1:19998/a file:///b c Example: java -cp target/tachyon-0.7.1-jar-with-dependencies.jar tachyon.client.UfsUtils tachyon://127.0.0.1:19998/a /b c In the TFS, all files under local FS /b will be registered under /a, except for those with prefix c 2. From spark-shell (where Tachyon is set up with HDFS as its UnderFS in tachyon-env.sh): val input = sc.textFile("tachyon://n1:19998/file") Any actions performed on the "input" RDD will lead to a similar error: java.io.IOException: Uri is invalid: URI must be absolute at tachyon.client.TachyonFS.validateUri(TachyonFS.java:1010) at tachyon.client.TachyonFS.getFileStatus(TachyonFS.java:611) at tachyon.client.TachyonFS.exist(TachyonFS.java:407) at tachyon.client.UfsUtils.loadUnderFs(UfsUtils.java:160) .... Current known workaround: the "file" cannot be located at the root of HDFS. There appears to be a bug related to parsing of filepath only at the root of HDFS.

    JIRA | 2 years ago | Lei Fan
    java.io.IOException: Uri is invalid: URI must be absolute

    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. tachyon.exception.TachyonException

      Path /bug/test bad filename.xml is invalid.

      at tachyon.client.FileSystemMasterClient.loadMetadata()
    2. Tachyon Project Core
      UfsUtils.main
      1. tachyon.client.FileSystemMasterClient.loadMetadata(FileSystemMasterClient.java:444)
      2. tachyon.client.TachyonFS.createFile(TachyonFS.java:319)
      3. tachyon.client.AbstractTachyonFS.createFile(AbstractTachyonFS.java:83)
      4. tachyon.client.TachyonFS.createFile(TachyonFS.java:66)
      5. tachyon.client.UfsUtils.loadUfs(UfsUtils.java:165)
      6. tachyon.client.UfsUtils.loadUfs(UfsUtils.java:79)
      7. tachyon.client.UfsUtils.main(UfsUtils.java:222)
      7 frames