Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14049

TestHttpFSServerWebServer fails on Windows because of missing winutils.exe

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      2018-11-02 15:00:51,780 WARN Shell - Did not find winutils.exe: {}
      java.io.FileNotFoundException: Could not locate Hadoop executable: D:\hadoop-2.9\hadoop-hdfs-project\hadoop-hdfs-httpfs\target\test-dir\bin\winutils.exe -see https://wiki.apache.org/hadoop/WindowsProblems
      at org.apache.hadoop.util.Shell.getQualifiedBinInner(Shell.java:612)
      at org.apache.hadoop.util.Shell.getQualifiedBin(Shell.java:585)
      at org.apache.hadoop.util.Shell.<clinit>(Shell.java:682)
      at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:78)
      at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1587)
      at org.apache.hadoop.fs.http.server.HttpFSServerWebServer.<init>(HttpFSServerWebServer.java:93)
      at org.apache.hadoop.fs.http.server.TestHttpFSServerWebServer.setUp(TestHttpFSServerWebServer.java:77)
      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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

        Attachments

        1. HDFS-14049.000.patch
          2 kB
          Íñigo Goiri
        2. HDFS-14049.001.patch
          1 kB
          Íñigo Goiri

          Activity

            People

            • Assignee:
              elgoiri Íñigo Goiri
              Reporter:
              elgoiri Íñigo Goiri
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: