java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

Stack Overflow | ahajib | 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

    Windows : Read/Write to HDFS using Spring BOOT / winutils.exe missing

    Stack Overflow | 2 years ago
    java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
  2. 0

    Eclipse開発環境

    GitHub | 2 years ago | genhirano
    java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
  3. 0

    Debugging hadoop Wordcount program in eclipse in windows

    Stack Overflow | 2 years ago | user1668782
    java.io.IOException: Could not locate executable E:\hadoop\hadoop-HADOOP_HOME\hadoop-2.6.0\bin\bin\winutils.exe in the Hadoop binaries.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Windows Eclipse环境运行MapReduce出错 - Hadoop分布式数据分析平台-炼数成金-Dataguru专业数据分析社区

    dataguru.cn | 2 years ago
    java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
  6. 0

    Spark Streaming Kafka on Host Machine java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries

    Stack Overflow | 2 years ago | Amogh RAO
    java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

  1. johnxfly 1 times, last 3 months ago
9 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

    Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

    at org.apache.hadoop.util.Shell.getQualifiedBinPath()
  2. Hadoop
    UserGroupInformation.getCurrentUser
    1. org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:355)
    2. org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:370)
    3. org.apache.hadoop.util.Shell.<clinit>(Shell.java:363)
    4. org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:79)
    5. org.apache.hadoop.security.Groups.parseStaticMapping(Groups.java:104)
    6. org.apache.hadoop.security.Groups.<init>(Groups.java:86)
    7. org.apache.hadoop.security.Groups.<init>(Groups.java:66)
    8. org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:280)
    9. org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:271)
    10. org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:248)
    11. org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:763)
    12. org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:748)
    13. org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:621)
    13 frames
  3. Spark
    Utils$$anonfun$getCurrentUserName$1.apply
    1. org.apache.spark.util.Utils$$anonfun$getCurrentUserName$1.apply(Utils.scala:2162)
    2. org.apache.spark.util.Utils$$anonfun$getCurrentUserName$1.apply(Utils.scala:2162)
    2 frames
  4. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:120)
    1 frame
  5. Spark
    JavaSparkContext.<init>
    1. org.apache.spark.util.Utils$.getCurrentUserName(Utils.scala:2162)
    2. org.apache.spark.SparkContext.<init>(SparkContext.scala:301)
    3. org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:61)
    3 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  7. Py4J
    ConstructorCommand.execute
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:234)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379)
    3. py4j.Gateway.invoke(Gateway.java:214)
    4. py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:79)
    5. py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:68)
    5 frames
  8. Unknown
    py4j.GatewayConnectionun
    1. py4j.GatewayConnectionun(GatewayConnection.java:207)
    1 frame
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame