falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pragya Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1744) filterBy fails with ClientHandlerException for a cluster with a large number of entities
Date Tue, 12 Jan 2016 11:38:39 GMT

     [ https://issues.apache.org/jira/browse/FALCON-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pragya Mittal updated FALCON-1744:
----------------------------------
    Description: 
filterBy query fails in environment with large number of entities submitted.

{noformat}
pragya.mittal@glvm1002:~$ falcon entity -type process -list | head -1
798
{noformat}

On hitting the following query, ClientHandlerException came.

{noformat}
falcon entity -type process -list -filterBy STATUS:SCHEDULED -numResults 3
Unable to connect to Falcon server, please check if the URL is correct and Falcon server is
up and running
Stacktrace:
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed
out
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
	at com.sun.jersey.api.client.Client.handle(Client.java:648)
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
	at com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:613)
	at org.apache.falcon.client.FalconClient.sendListRequest(FalconClient.java:1018)
	at org.apache.falcon.client.FalconClient.getEntityList(FalconClient.java:449)
	at org.apache.falcon.cli.FalconEntityCLI.entityCommand(FalconEntityCLI.java:297)
	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:164)
	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:108)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:152)
	at java.net.SocketInputStream.read(SocketInputStream.java:122)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
	... 9 more
{noformat}

  was:
filterBy query fails in environment with large number of entities submitted.

{noformat}
pragya.mittal@glvm1002:~$ falcon entity -type process -list | head -1
798
{noformat}

On hitting the following query, ClientHandlerException came.
{nofromat}
falcon entity -type process -list -filterBy STATUS:SCHEDULED -numResults 3
Unable to connect to Falcon server, please check if the URL is correct and Falcon server is
up and running
Stacktrace:
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed
out
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
	at com.sun.jersey.api.client.Client.handle(Client.java:648)
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
	at com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:613)
	at org.apache.falcon.client.FalconClient.sendListRequest(FalconClient.java:1018)
	at org.apache.falcon.client.FalconClient.getEntityList(FalconClient.java:449)
	at org.apache.falcon.cli.FalconEntityCLI.entityCommand(FalconEntityCLI.java:297)
	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:164)
	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:108)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:152)
	at java.net.SocketInputStream.read(SocketInputStream.java:122)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
	... 9 more
{noformat}


> filterBy fails with ClientHandlerException for a cluster with a large number of entities
> ----------------------------------------------------------------------------------------
>
>                 Key: FALCON-1744
>                 URL: https://issues.apache.org/jira/browse/FALCON-1744
>             Project: Falcon
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.9
>            Reporter: Pragya Mittal
>            Assignee: Narayan Periwal
>
> filterBy query fails in environment with large number of entities submitted.
> {noformat}
> pragya.mittal@glvm1002:~$ falcon entity -type process -list | head -1
> 798
> {noformat}
> On hitting the following query, ClientHandlerException came.
> {noformat}
> falcon entity -type process -list -filterBy STATUS:SCHEDULED -numResults 3
> Unable to connect to Falcon server, please check if the URL is correct and Falcon server
is up and running
> Stacktrace:
> com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read
timed out
> 	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
> 	at com.sun.jersey.api.client.Client.handle(Client.java:648)
> 	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
> 	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
> 	at com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:613)
> 	at org.apache.falcon.client.FalconClient.sendListRequest(FalconClient.java:1018)
> 	at org.apache.falcon.client.FalconClient.getEntityList(FalconClient.java:449)
> 	at org.apache.falcon.cli.FalconEntityCLI.entityCommand(FalconEntityCLI.java:297)
> 	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:164)
> 	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:108)
> Caused by: java.net.SocketTimeoutException: Read timed out
> 	at java.net.SocketInputStream.socketRead0(Native Method)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:152)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:122)
> 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
> 	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
> 	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
> 	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
> 	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
> 	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
> 	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
> 	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
> 	... 9 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message