[
https://issues.apache.org/jira/browse/FALCON-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816855#comment-13816855
]
Venkatesh Seetharam commented on FALCON-159:
--------------------------------------------
I applied this path and ran mvn clean verify but got 2 issues.
1. checkstyle error with whitespace on line 75
2. Integration test failure in
org.apache.falcon.resource.EntityManagerJerseyIT#testVersion
This should be a simple fix.
{code}
EntityManagerJerseyIT.testVersion:350
expected:<{Version:"0.4-incubating-SNAPSHOT-rb7e678bb1e36d8f38f95794a578f84c1b5a15c4d",Mode:"embedded"}>
but was:<<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 500 Internal Server Error</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /falcon-webapp/api/admin/version. Reason:
<pre> Internal Server Error</pre></p><hr /><i><small>Powered by
Jetty://</small></i><br/>
{code}
> Version API endpoint does not emit valid JSON
> ---------------------------------------------
>
> Key: FALCON-159
> URL: https://issues.apache.org/jira/browse/FALCON-159
> Project: Falcon
> Issue Type: Bug
> Components: prism
> Affects Versions: 0.3
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Fix For: 0.4
>
> Attachments: FALCON-159.patch, FALCON-159_2.patch
>
>
> {{/api/admin/version}} endpoint emits
> {noformat}
> {Version:"0.4-incubating-SNAPSHOT-rb47788d1112fcf949c22a3860934167237b395b0",Mode:"distributed"}
> {noformat}
> which is not valid JSON. It should be
> {noformat}
> {"Version":"0.4-incubating-SNAPSHOT-rb47788d1112fcf949c22a3860934167237b395b0","Mode":"distributed"}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1#6144)