java.lang.IllegalArgumentException

java.net.URISyntaxException: Relative path in absolute URI: hdfs:spark05:9000/test/ucsc.hg19.fasta

Solutions on the web6474

  • via GitHub by car2008
    , 10 months ago
    java.net.URISyntaxException: Relative path in absolute URI: hdfs:spark05:9000/test/ucsc.hg19.fasta
  • via gmane.org by Unknown author, 1 year ago
    java.net.URISyntaxException: Relative path in absolute URI: hdfs://10.40.0.156:9000.oldlogs
  • via Google Groups by Neerja Bhatnagar, 1 year ago
    java.net.URISyntaxException: Relative path in absolute URI: hdfs://10.40.0.156:9000.oldlogs
  • Stack trace

    • java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs:spark05:9000/test/ucsc.hg19.fasta at org.apache.hadoop.fs.Path.initialize(Path.java:206) at org.apache.hadoop.fs.Path.<init>(Path.java:172) at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:244) at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.setInputPaths(FileInputFormat.java:467) at org.apache.spark.SparkContext$$anonfun$newAPIHadoopFile$2.apply(SparkContext.scala:1102) at org.apache.spark.SparkContext$$anonfun$newAPIHadoopFile$2.apply(SparkContext.scala:1095) at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150) at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111) at org.apache.spark.SparkContext.withScope(SparkContext.scala:714) at org.apache.spark.SparkContext.newAPIHadoopFile(SparkContext.scala:1095) at org.bdgenomics.adam.rdd.ADAMContext.loadFasta(ADAMContext.scala:469) at org.bdgenomics.adam.rdd.ADAMContext.loadSequence(ADAMContext.scala:636) at org.bdgenomics.avocado.cli.Avocado$$anonfun$3.apply(Avocado.scala:202) at org.bdgenomics.avocado.cli.Avocado$$anonfun$3.apply(Avocado.scala:202) at org.apache.spark.rdd.Timer.time(Timer.scala:57) at org.bdgenomics.avocado.cli.Avocado.run(Avocado.scala:201) at org.bdgenomics.utils.cli.BDGSparkCommand$class.run(BDGCommand.scala:54) at org.bdgenomics.avocado.cli.Avocado.run(Avocado.scala:82) at org.bdgenomics.utils.cli.BDGCommandCompanion$class.main(BDGCommand.scala:32) at org.bdgenomics.avocado.cli.Avocado$.main(Avocado.scala:52) at org.bdgenomics.avocado.cli.Avocado.main(Avocado.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731) at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181) at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) Caused by: java.net.URISyntaxException: Relative path in absolute URI: hdfs:spark05:9000/test/ucsc.hg19.fasta at java.net.URI.checkPath(URI.java:1823) at java.net.URI.<init>(URI.java:745) at org.apache.hadoop.fs.Path.initialize(Path.java:203)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Once, 2 weeks ago
    40 more bugmates