org.apache.hadoop.fs.swift.exceptions.SwiftConfigurationException: Invalid host name

Stack Overflow | Leons | 5 months ago
  1. 0

    SwiftConfigurationException: Invalid host name when accessing Swift from Bluemix Spark

    Stack Overflow | 5 months ago | Leons
    org.apache.hadoop.fs.swift.exceptions.SwiftConfigurationException: Invalid host name
  2. 0

    swift 1 driver no longer works?

    GitHub | 2 months ago | gadamc
    org.apache.hadoop.fs.swift.exceptions.SwiftConfigurationException: Invalid host name

    Root Cause Analysis

    1. org.apache.hadoop.fs.swift.exceptions.SwiftConfigurationException

      Invalid host name

      at org.apache.hadoop.fs.swift.util.SwiftUtils.validSchema()
    2. Apache Hadoop OpenStack support
      SwiftNativeFileSystem.initialize
      1. org.apache.hadoop.fs.swift.util.SwiftUtils.validSchema(SwiftUtils.java:222)
      2. org.apache.hadoop.fs.swift.http.SwiftRestClient.<init>(SwiftRestClient.java:510)
      3. org.apache.hadoop.fs.swift.http.SwiftRestClient.getInstance(SwiftRestClient.java:1914)
      4. org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore.initialize(SwiftNativeFileSystemStore.java:81)
      5. org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem.initialize(SwiftNativeFileSystem.java:129)
      5 frames
    3. Hadoop
      Path.getFileSystem
      1. org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2596)
      2. org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91)
      3. org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630)
      4. org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2612)
      5. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370)
      6. org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
      6 frames
    4. Hadoop
      FileInputFormat.getSplits
      1. org.apache.hadoop.mapred.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:256)
      2. org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:228)
      3. org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:313)
      3 frames
    5. Spark
      RDD$$anonfun$partitions$2.apply
      1. org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:199)
      2. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
      3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
      3 frames
    6. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:120)
      1 frame
    7. Spark
      RDD$$anonfun$partitions$2.apply
      1. org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
      2. org.apache.spark.rdd.MapPartitionsRDD.getPartitions(MapPartitionsRDD.scala:35)
      3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
      4. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
      4 frames
    8. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:120)
      1 frame
    9. Spark
      AbstractJavaRDDLike.partitions
      1. org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
      2. org.apache.spark.api.java.JavaRDDLike$class.partitions(JavaRDDLike.scala:64)
      3. org.apache.spark.api.java.AbstractJavaRDDLike.partitions(JavaRDDLike.scala:46)
      3 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      4. java.lang.reflect.Method.invoke(Method.java:507)
      4 frames
    11. Py4J
      GatewayConnection.run
      1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
      2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)
      3. py4j.Gateway.invoke(Gateway.java:259)
      4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
      5. py4j.commands.CallCommand.execute(CallCommand.java:79)
      6. py4j.GatewayConnection.run(GatewayConnection.java:209)
      6 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:785)
      1 frame