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

httpfs.sh run fails due to missing temp dir

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: httpfs
    • Labels:
      None

      Description

      Got this error when running httpfs.sh run in Pseudo-Distributed mode:

      Nov 25, 2016 1:27:33 PM org.apache.catalina.core.ApplicationContext log
      INFO: ERROR: S01: Dir [/Users/jzhuge/hadoop2/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/temp] does not exist
      Nov 25, 2016 1:27:33 PM org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Exception sending context initialized event to listener instance of class org.apache.hadoop.fs.http.server.HttpFSServerWebApp
      java.lang.RuntimeException: org.apache.hadoop.lib.server.ServerException: S01: Dir [/Users/jzhuge/hadoop2/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/temp] does not exist
              at org.apache.hadoop.lib.servlet.ServerWebApp.contextInitialized(ServerWebApp.java:161)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4276)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4779)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:780)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080)
              at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003)
              at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
              at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
              at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
              at org.apache.catalina.core.StandardService.start(StandardService.java:525)
              at org.apache.catalina.core.StandardServer.start(StandardServer.java:761)
              at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
              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:497)
              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      Caused by: org.apache.hadoop.lib.server.ServerException: S01: Dir [/Users/jzhuge/hadoop2/hadoop-dist/target/hadoop-3.0.0-alpha2-SNAPSHOT/temp] does not exist
              at org.apache.hadoop.lib.server.Server.verifyDir(Server.java:400)
              at org.apache.hadoop.lib.server.Server.init(Server.java:349)
              at org.apache.hadoop.fs.http.server.HttpFSServerWebApp.init(HttpFSServerWebApp.java:100)
              at org.apache.hadoop.lib.servlet.ServerWebApp.contextInitialized(ServerWebApp.java:158)
              ... 24 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jzhuge John Zhuge
                Reporter:
                jzhuge John Zhuge
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: