java.io.IOException: Can't get Master Kerberos principal for use as renewer

spark-user | Spyros Gasteratos | 3 years ago
  1. 0

    Accesing Hdfs from Spark gives TokenCache error "Can't get Master Kerberos principal for use as renewer"

    spark-user | 3 years ago | Spyros Gasteratos
    java.io.IOException: Can't get Master Kerberos principal for use as renewer
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Can't get Master Kerberos principal for use as renewer

    spark-user | 2 years ago | Finamore A.
    java.io.IOException: Can't get Master Kerberos principal for use as renewer
  4. 0

    Access bluemix object storage from local spark

    Stack Overflow | 8 months ago | John Corner
    java.io.IOException: No input paths specified in job

  1. harshg 1 times, last 8 months ago
6 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

    Can't get Master Kerberos principal for use as renewer

    at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal()
  2. Hadoop
    FileInputFormat.getSplits
    1. org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:116)
    2. org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:100)
    3. org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodes(TokenCache.java:80)
    4. org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:187)
    5. org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:251)
    5 frames
  3. Spark
    RDD$$anonfun$partitions$2.apply
    1. org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:140)
    2. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:207)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:205)
    3 frames
  4. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:120)
    1 frame
  5. Spark
    RDD$$anonfun$partitions$2.apply
    1. org.apache.spark.rdd.RDD.partitions(RDD.scala:205)
    2. org.apache.spark.rdd.MappedRDD.getPartitions(MappedRDD.scala:28)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:207)
    4. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:205)
    4 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:205)
    2. org.apache.spark.api.python.PythonRDD.getPartitions(PythonRDD.scala:46)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:207)
    4. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:205)
    4 frames
  8. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:120)
    1 frame
  9. Spark
    JavaRDD.collect
    1. org.apache.spark.rdd.RDD.partitions(RDD.scala:205)
    2. org.apache.spark.SparkContext.runJob(SparkContext.scala:898)
    3. org.apache.spark.rdd.RDD.collect(RDD.scala:608)
    4. org.apache.spark.api.java.JavaRDDLike$class.collect(JavaRDDLike.scala:243)
    5. org.apache.spark.api.java.JavaRDD.collect(JavaRDD.scala:27)
    5 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  11. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379)
    3. py4j.Gateway.invoke(Gateway.java:259)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:207)
    6 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:744)
    1 frame