Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-2275

Unable to list instances of an extension

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk, 0.10
    • trunk, 0.11
    • extensions
    • None

    Description

      pragya.mittal@falcon1001:~$ falcon extension -instances -extensionName new-ext1 -jobName new-job1
      ERROR: Bad Request;Unable to get instance for org.apache.falcon.workflow.engine.FalconWorkflowEngine
      

      Stack trace :

      2017-02-07 10:52:09,973 ERROR - [1004540855@qtp-1229202732-8 - 56871345-1444-4a93-89da-c43ae4303dbc:pragya.mittal:GET//extension/instances/new-job1] ~ Failed to get instances status (AbstractInstanceManager:186)
      org.apache.falcon.FalconException: Unable to get instance for org.apache.falcon.workflow.engine.FalconWorkflowEngine
              at org.apache.falcon.util.ReflectionUtils.getInstanceByClassName(ReflectionUtils.java:52)
              at org.apache.falcon.workflow.WorkflowEngineFactory.getNativeWorkflowEngine(WorkflowEngineFactory.java:118)
              at org.apache.falcon.workflow.WorkflowEngineFactory.getWorkflowEngine(WorkflowEngineFactory.java:55)
              at org.apache.falcon.resource.AbstractEntityManager.getWorkflowEngine(AbstractEntityManager.java:1426)
              at org.apache.falcon.resource.AbstractInstanceManager.getStatus(AbstractInstanceManager.java:181)
              at org.apache.falcon.resource.proxy.ExtensionManagerProxy.getInstances(ExtensionManagerProxy.java:138)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      
              at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
              at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      Caused by: java.lang.ClassNotFoundException: org.apache.falcon.workflow.engine.FalconWorkflowEngine
              at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              at org.apache.falcon.util.ReflectionUtils.getInstanceByClassName(ReflectionUtils.java:44)
      

      Attachments

        Issue Links

          Activity

            People

              pracheer Pracheer Agarwal
              pragya.mittal Pragya Mittal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: