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

entity/instance Rest API - make keys for filterBy param case insensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.6
    • webapp
    • None

    Description

      A restAPI call like http://<falconNode>:15000/api/instance/list/process/rawEmailIngestProcess?filterBy=status:RUNNING failed with following error. Where as http://172.18.145.164:15000/api/instance/list/process/rawEmailIngestProcess?filterBy=STATUS:RUNNING succeeded.

      org.apache.falcon.FalconWebException at org.apache.falcon.FalconWebException.newInstanceException(FalconWebException.java:77) at org.apache.falcon.resource.AbstractInstanceManager.validateInstanceFilterByClause(AbstractInstanceManager.java:119) at org.apache.falcon.resource.AbstractInstanceManager.getStatus(AbstractInstanceManager.java:146) at org.apache.falcon.resource.InstanceManager.getStatus(InstanceManager.java:99) at org.apache.falcon.resource.AbstractInstanceManager.getInstances(AbstractInstanceManager.java:133) at org.apache.falcon.resource.InstanceManager.getInstances(InstanceManager.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at 
      

      Attachments

        1. FALCON-858.patch
          1.0 kB
          Balu Vellanki

        Activity

          People

            bvellanki Balu Vellanki
            bvellanki Balu Vellanki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified