falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-229) Enable SSL for Falcon REST API
Date Mon, 28 Apr 2014 19:06:25 GMT

    [ https://issues.apache.org/jira/browse/FALCON-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983397#comment-13983397
] 

Venkatesh Seetharam commented on FALCON-229:
--------------------------------------------

Thanks [~sriksun] for the rebased patch. I applied it but 3 int tests fail. Appreciate if
you could look at it.

{code}
Failed tests:
  EntityManagerJerseyIT.testProcessDeleteAndSchedule:229 � ClientHandler java.ne...
  EntityManagerJerseyIT.testProcessInputUpdate:314->update:143 � ClientHandler j...
  EntityManagerJerseyIT.testUserWorkflowUpdate:281->update:132->update:143 � ClientHandler

Tests run: 113, Failures: 3, Errors: 0, Skipped: 0
{code}

{code}
-------------------------------------------------------------------------------
Test set: org.apache.falcon.resource.EntityManagerJerseyIT
-------------------------------------------------------------------------------
Tests run: 22, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 90.738 sec <<< FAILURE!
- in org.apache.falcon.resource.EntityManagerJerseyIT
testProcessDeleteAndSchedule(org.apache.falcon.resource.EntityManagerJerseyIT)  Time elapsed:
7.06 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed
out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:820)
	at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:709)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1218)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
	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.post(WebResource.java:553)
	at org.apache.falcon.resource.TestContext.scheduleProcess(TestContext.java:207)
	at org.apache.falcon.resource.EntityManagerJerseyIT.testProcessDeleteAndSchedule(EntityManagerJerseyIT.java:229)

testProcessInputUpdate(org.apache.falcon.resource.EntityManagerJerseyIT)  Time elapsed: 12.662
sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed
out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:820)
	at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:709)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1218)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
	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.post(WebResource.java:563)
	at org.apache.falcon.resource.EntityManagerJerseyIT.update(EntityManagerJerseyIT.java:143)
	at org.apache.falcon.resource.EntityManagerJerseyIT.testProcessInputUpdate(EntityManagerJerseyIT.java:314)

testUserWorkflowUpdate(org.apache.falcon.resource.EntityManagerJerseyIT)  Time elapsed: 11.605
sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed
out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:820)
	at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:709)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1218)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
	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.post(WebResource.java:563)
	at org.apache.falcon.resource.EntityManagerJerseyIT.update(EntityManagerJerseyIT.java:143)
	at org.apache.falcon.resource.EntityManagerJerseyIT.update(EntityManagerJerseyIT.java:132)
	at org.apache.falcon.resource.EntityManagerJerseyIT.testUserWorkflowUpdate(EntityManagerJerseyIT.java:281)
{code}

> Enable SSL for Falcon REST API
> ------------------------------
>
>                 Key: FALCON-229
>                 URL: https://issues.apache.org/jira/browse/FALCON-229
>             Project: Falcon
>          Issue Type: Sub-task
>    Affects Versions: 0.5
>            Reporter: Venkatesh Seetharam
>            Assignee: Srikanth Sundarrajan
>            Priority: Blocker
>              Labels: security
>         Attachments: FALCON-229-v2.patch, FALCON-229-v3.patch, FALCON-229.patch
>
>
> Good to have but not in the first iteration.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message