Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-365

NPE when using xinetd for port forwarding to Knox

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 0.5.0
    • Server
    • None

    Description

      Has anyone had any success using a port forwarder (like xinetd) to forward 443 to knox gateway 8443?
      I keep getting this exception:
      2014-05-13 17:41:13,976 ERROR hadoop.gateway (GatewayServlet.java:service(122)) - Failed to execute filter: javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException: java.security.PrivilegedActionException: javax.servlet.ServletException: java.lang.NullPointerException
      My initial thought is that the knox url rewriting mechanism is expecting the port '8443' to exist?

      Attachments

        1. logs.zip
          5 kB
          Roshan Punnoose
        2. rewrite.xml.diff
          2 kB
          Roshan Punnoose

        Issue Links

          Activity

            People

              kminder Kevin Minder
              kminder Kevin Minder
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: