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

Cluster submission fails with java.lang.IllegalArgumentException in distributed mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.8
    • prism
    • None
    • QA

    Description

      While submitting cluster in distributed mode user name is evaluated to null resulting in java.lang.IllegalArgumentException is thrown. Below is the stack trace :

      2015-09-18 07:24:57,029 INFO  - [2114764908@qtp-341853399-6 - 2601b654-8924-4305-80cb-d623287eeadf:] ~ Audit: pragya@10.14.119.81 performed http://192.168.138.236:16000/api/entities/list/cluster?numResults=2147483647&user.name=pragya (192.168.138.236) at 2015-09-18T07:24Z (AUDIT:48)
      2015-09-18 07:24:58,995 INFO  - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Logging in pragya (CurrentUser:65)
      2015-09-18 07:24:58,995 INFO  - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Request from authenticated user: pragya, URL=/api/entities/submit/cluster?user.name=pragya, doAs user: null (FalconAuthenticationFilter:185)
      2015-09-18 07:24:59,021 INFO  - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Parsed Entity: FeedSLATest-corp-2dea3d9a (EntityParser:94)
      2015-09-18 07:24:59,023 DEBUG - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Executing http://192.168.138.236:15000/secure/sync/submit/cluster?colo=ua1& (HTTPChannel:91)
      2015-09-18 07:24:59,073 INFO  - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Configuring client with /mnt/falcon/prism/conf/prism.keystore (SecureHTTPChannel:56)
      2015-09-18 07:24:59,140 ERROR - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Request failed (HTTPChannel:123)
      java.lang.IllegalArgumentException: One or more of query value parameters are null
              at com.sun.jersey.api.uri.UriBuilderImpl.queryParam(UriBuilderImpl.java:433)
              at com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:436)
              at org.apache.falcon.resource.channel.HTTPChannel.invoke(HTTPChannel.java:102)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:139)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:577)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:141)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure1.run(SchedulableEntityManagerProxy.java:1)
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
              at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit(SchedulableEntityManagerProxy.java:119)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2015-09-18 07:24:59,196 DEBUG - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Executing http://10.14.119.81:15000/secure/sync/submit/cluster?colo=ua2& (HTTPChannel:91)
      2015-09-18 07:24:59,197 INFO  - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Configuring client with /mnt/falcon/prism/conf/prism.keystore (SecureHTTPChannel:56)
      2015-09-18 07:24:59,246 ERROR - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Request failed (HTTPChannel:123)
      java.lang.IllegalArgumentException: One or more of query value parameters are null
              at com.sun.jersey.api.uri.UriBuilderImpl.queryParam(UriBuilderImpl.java:433)
              at com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:436)
              at org.apache.falcon.resource.channel.HTTPChannel.invoke(HTTPChannel.java:102)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:139)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:577)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:141)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure1.run(SchedulableEntityManagerProxy.java:1)
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
              at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51)
              at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit(SchedulableEntityManagerProxy.java:119)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      
      

      Attachments

        1. FALCON-1465.patch
          2 kB
          Ajay Yadav

        Activity

          People

            ajayyadava Ajay Yadav
            pragya.mittal Pragya Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: