Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3389

Getting input dependency list on the UI throws NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0, 5.2.0
    • Component/s: None
    • Labels:
      None

      Description

      I was testing 5.1 rc1. I submitted the cron-schedule example coordinator, clicked on one of the coordinator jobs on the Oozie Web UI, but the details of the job were not displayed. I noticed the following NPE in the server log:

      2018-11-21 15:45:00,019 ERROR CoordActionMissingDependenciesXCommand:517 - SERVER[Budapests-MacBook-Pro-10.local] USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] XException, 
      org.apache.oozie.command.CommandException: E1028: Coord input logic error. null
          at org.apache.oozie.command.coord.CoordActionMissingDependenciesXCommand.execute(CoordActionMissingDependenciesXCommand.java:126)
          at org.apache.oozie.command.coord.CoordActionMissingDependenciesXCommand.execute(CoordActionMissingDependenciesXCommand.java:38)
          at org.apache.oozie.command.XCommand.call(XCommand.java:291)
          at org.apache.oozie.CoordinatorEngine.getCoordActionMissingDependencies(CoordinatorEngine.java:910)
          at org.apache.oozie.servlet.V2JobServlet.getCoordActionMissingDependencies(V2JobServlet.java:336)
          at org.apache.oozie.servlet.BaseJobServlet.doGet(BaseJobServlet.java:370)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
          at org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:305)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772)
          at org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:171)
          at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:594)
          at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:553)
          at org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:176)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
          at org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
          at org.eclipse.jetty.server.Server.handle(Server.java:534)
          at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
          at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
          at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
          at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
          at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
      

        Attachments

        1. OOZIE-3389.001.patch
          16 kB
          Andras Piros
        2. OOZIE-3389.002.patch
          16 kB
          Andras Piros

          Issue Links

            Activity

              People

              • Assignee:
                andras.piros Andras Piros
                Reporter:
                asasvari Attila Sasvári
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: