spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj K (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-13061) Error in spark rest api application info for job names contains spaces
Date Wed, 10 Feb 2016 10:18:18 GMT

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

Devaraj K commented on SPARK-13061:
-----------------------------------

[~avihoo], I am trying to reproduce the issue but I see the id format as below when I submit
to standalone master and yarn cluster.
{code:xml}
[ {
  "id" : "app-20160210202703-0000",
  "name" : "Spark shell",
{code}

{code:xml}
}, {
  "id" : "application_1452616238844_0041",
  "name" : "Spark Pi",
{code}

Can you give more details like how you are able to get the id as 'Spark shell' and which process
REST api is returning like this?

> Error in spark rest api application info for job names contains spaces
> ----------------------------------------------------------------------
>
>                 Key: SPARK-13061
>                 URL: https://issues.apache.org/jira/browse/SPARK-13061
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.5.2
>            Reporter: Avihoo Mamka
>            Priority: Trivial
>              Labels: rest_api, spark
>
> When accessing spark rest api with application id to get job specific id status, a job
with name containing whitespaces are being encoded to '%20' and therefore the rest api returns
`no such app`.
> For example:
> http://spark.mysite.com:20888/proxy/application_1447676402999_1254/api/v1/applications/
returns:
> [ {
>   "id" : "Spark shell",
>   "name" : "Spark shell",
>   "attempts" : [ {
>     "startTime" : "2016-01-28T09:20:58.526GMT",
>     "endTime" : "1969-12-31T23:59:59.999GMT",
>     "sparkUser" : "",
>     "completed" : false
>   } ]
> } ]
> and then when accessing:
> http://spark.mysite.com:20888/proxy/application_1447676402999_1254/api/v1/applications/Spark
shell/
> the result returned is:
> unknown app: Spark%20shell



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message