[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-09-19 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14140381#comment-14140381
 ] 

Hudson commented on YARN-2363:
--

SUCCESS: Integrated in Hadoop-Yarn-trunk #685 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/685/])
YARN-2363. Submitted applications occasionally lack a tracking URL. Contributed 
by Jason Lowe (jlowe: rev 9ea7b6c063c0bdd4551962e21d0173f671e9df03)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java


 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe
Assignee: Jason Lowe
 Fix For: 2.6.0

 Attachments: YARN-2363.patch


 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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


[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-09-19 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14140533#comment-14140533
 ] 

Hudson commented on YARN-2363:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1901 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1901/])
YARN-2363. Submitted applications occasionally lack a tracking URL. Contributed 
by Jason Lowe (jlowe: rev 9ea7b6c063c0bdd4551962e21d0173f671e9df03)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java


 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe
Assignee: Jason Lowe
 Fix For: 2.6.0

 Attachments: YARN-2363.patch


 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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


[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-09-19 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14140587#comment-14140587
 ] 

Hudson commented on YARN-2363:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #1876 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1876/])
YARN-2363. Submitted applications occasionally lack a tracking URL. Contributed 
by Jason Lowe (jlowe: rev 9ea7b6c063c0bdd4551962e21d0173f671e9df03)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java


 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe
Assignee: Jason Lowe
 Fix For: 2.6.0

 Attachments: YARN-2363.patch


 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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


[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-09-18 Thread Jonathan Eagles (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14139269#comment-14139269
 ] 

Jonathan Eagles commented on YARN-2363:
---

+1. This will be a big help to users, [~jlowe].

 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe
Assignee: Jason Lowe
 Attachments: YARN-2363.patch


 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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


[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-09-18 Thread Jason Lowe (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14139395#comment-14139395
 ] 

Jason Lowe commented on YARN-2363:
--

Thanks for the reviews, [~mitdesai], [~sjlee0], and [~jeagles]!  Committing 
this.

 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe
Assignee: Jason Lowe
 Attachments: YARN-2363.patch


 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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


[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-09-16 Thread Sangjin Lee (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14135777#comment-14135777
 ] 

Sangjin Lee commented on YARN-2363:
---

LGTM. We also see this quite a bit, and it would be great to get this 
committed. Thanks!

 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe
Assignee: Jason Lowe
 Attachments: YARN-2363.patch


 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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


[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-07-28 Thread Jason Lowe (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14076292#comment-14076292
 ] 

Jason Lowe commented on YARN-2363:
--

Most application submits result in a proxy tracking URL, but occasionally the 
client sees a transient N/A URL.  Here's a snippet of Pig client output where 
a MapReduce job was submitted with no tracking URL received:

{noformat}
2014-07-23 19:19:16,658 [JobControl] INFO 
org.apache.hadoop.mapred.ResourceMgrDelegate - Submitted application 
application_1403199204249_357708 to ResourceManager at
xx/xx:xx
2014-07-23 19:19:16,660 [JobControl] INFO  org.apache.hadoop.mapreduce.Job - 
The url to track the job: N/A
{noformat}

I believe this can occur if the client tries to get an application report just 
as the app is submitted.  YarnClientImpl.submitApplication won't return until 
the app is past the NEW_SAVING state, but if the client slips in while the app 
is in the SUBMITTED state then I think we could end up with no tracking URL due 
to the lack of a current attempt.  From RMAppImpl.createAndGetApplicationReport:

{code}
  String trackingUrl = UNAVAILABLE;
  String host = UNAVAILABLE;
  String origTrackingUrl = UNAVAILABLE;
[...]
  if (allowAccess) {
if (this.currentAttempt != null) {
  currentApplicationAttemptId = this.currentAttempt.getAppAttemptId();
  trackingUrl = this.currentAttempt.getTrackingUrl();
  origTrackingUrl = this.currentAttempt.getOriginalTrackingUrl();
{code}

So if we don't have a current attempt we'll return N/A as the tracking URL.  
Arguably we should return the proxied URL which will redirect to the RM app 
page if there is no tracking URL set yet so at least the client/user has a URL 
that can be used to track the application.


 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe

 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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


[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-07-28 Thread Mit Desai (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14076984#comment-14076984
 ] 

Mit Desai commented on YARN-2363:
-

patch looks good to me.
+1 (non-binding)

 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe
Assignee: Jason Lowe
 Attachments: YARN-2363.patch


 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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


[jira] [Commented] (YARN-2363) Submitted applications occasionally lack a tracking URL

2014-07-28 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14077087#comment-14077087
 ] 

Hadoop QA commented on YARN-2363:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12658270/YARN-2363.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/4462//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/4462//console

This message is automatically generated.

 Submitted applications occasionally lack a tracking URL
 ---

 Key: YARN-2363
 URL: https://issues.apache.org/jira/browse/YARN-2363
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.4.0
Reporter: Jason Lowe
Assignee: Jason Lowe
 Attachments: YARN-2363.patch


 Sometimes when an application is submitted the client receives no tracking 
 URL.  More details in the first comment.



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