Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12862

Fix pom.xml to package hiveserver2.jsp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • HiveServer2
    • None

    Description

      In current master, we can confirm 404 HTTP status code when we access Web UI of HS2.

      • Web browser
        HTTP ERROR 404
        
        Problem accessing /hiveserver2.jsp. Reason:
        
            Servlet Not Initialized
        
        Caused by:
        javax.servlet.UnavailableException: Servlet Not Initialized
        	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:536)
        	(snip)
        
      • log file
        2016-01-13T22:26:03,787 WARN  [main]: servlet.Holder (Holder.java:doStart(90)) - 
        java.lang.ClassNotFoundException: org.apache.hive.generated.hiveserver2.hiveserver2_jsp
                at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_65]
                at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
                at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
                at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:424) ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
               (snip)
        

      When service and service-rpc were separated, handling of about the build hiveserver2.jsp is deleted.

      Attachments

        1. HIVE-12862.1.patch
          0.9 kB
          Shinichi Yamashita

        Issue Links

          Activity

            People

              sinchii Shinichi Yamashita
              sinchii Shinichi Yamashita
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: