[jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing

2012-11-05 Thread Eli Collins (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491115#comment-13491115
 ] 

Eli Collins commented on HADOOP-8951:
-

I'd use the following in case this is ever called from tests:

{code}
ExitUtil#terminate(0, Not a valid JAR:  + file.getCanonicalPath());
{code}


 RunJar to fail with user-comprehensible error message if jar missing
 

 Key: HADOOP-8951
 URL: https://issues.apache.org/jira/browse/HADOOP-8951
 Project: Hadoop Common
  Issue Type: Improvement
  Components: util
Affects Versions: 1.1.0, 2.0.2-alpha
Reporter: Steve Loughran
Assignee: Steve Loughran
Priority: Minor
 Fix For: 1.2.0, 2.0.3-alpha

 Attachments: HADOOP-8951.patch


 When the RunJar JAR is missing or not a file, exit with a meaningful message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing

2012-10-23 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13482252#comment-13482252
 ] 

Hudson commented on HADOOP-8951:


Integrated in Hadoop-Yarn-trunk #12 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/12/])
Moved HADOOP-8951 from trunk to release 2.0.3 section in CHANGES.txt 
(Revision 1400929)
HADOOP-8951. RunJar to fail with user-comprehensible error message if jar 
missing. Contributed by Steve Loughran. (Revision 1400921)

 Result = FAILURE
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1400929
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1400921
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/RunJar.java


 RunJar to fail with user-comprehensible error message if jar missing
 

 Key: HADOOP-8951
 URL: https://issues.apache.org/jira/browse/HADOOP-8951
 Project: Hadoop Common
  Issue Type: Improvement
  Components: util
Affects Versions: 1.1.0, 2.0.2-alpha
Reporter: Steve Loughran
Assignee: Steve Loughran
Priority: Minor
 Fix For: 1.2.0, 2.0.3-alpha

 Attachments: HADOOP-8951.patch


 When the RunJar JAR is missing or not a file, exit with a meaningful message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing

2012-10-23 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13482302#comment-13482302
 ] 

Hudson commented on HADOOP-8951:


Integrated in Hadoop-Hdfs-trunk #1204 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1204/])
Moved HADOOP-8951 from trunk to release 2.0.3 section in CHANGES.txt 
(Revision 1400929)
HADOOP-8951. RunJar to fail with user-comprehensible error message if jar 
missing. Contributed by Steve Loughran. (Revision 1400921)

 Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1400929
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1400921
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/RunJar.java


 RunJar to fail with user-comprehensible error message if jar missing
 

 Key: HADOOP-8951
 URL: https://issues.apache.org/jira/browse/HADOOP-8951
 Project: Hadoop Common
  Issue Type: Improvement
  Components: util
Affects Versions: 1.1.0, 2.0.2-alpha
Reporter: Steve Loughran
Assignee: Steve Loughran
Priority: Minor
 Fix For: 1.2.0, 2.0.3-alpha

 Attachments: HADOOP-8951.patch


 When the RunJar JAR is missing or not a file, exit with a meaningful message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing

2012-10-23 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13482337#comment-13482337
 ] 

Hudson commented on HADOOP-8951:


Integrated in Hadoop-Mapreduce-trunk #1234 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1234/])
Moved HADOOP-8951 from trunk to release 2.0.3 section in CHANGES.txt 
(Revision 1400929)
HADOOP-8951. RunJar to fail with user-comprehensible error message if jar 
missing. Contributed by Steve Loughran. (Revision 1400921)

 Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1400929
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1400921
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/RunJar.java


 RunJar to fail with user-comprehensible error message if jar missing
 

 Key: HADOOP-8951
 URL: https://issues.apache.org/jira/browse/HADOOP-8951
 Project: Hadoop Common
  Issue Type: Improvement
  Components: util
Affects Versions: 1.1.0, 2.0.2-alpha
Reporter: Steve Loughran
Assignee: Steve Loughran
Priority: Minor
 Fix For: 1.2.0, 2.0.3-alpha

 Attachments: HADOOP-8951.patch


 When the RunJar JAR is missing or not a file, exit with a meaningful message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing

2012-10-22 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13481379#comment-13481379
 ] 

Steve Loughran commented on HADOOP-8951:


HADOOP-8950 shows that a stack trace showing unzip failed isn't immediately 
meaningful to people who aren't used to reading stack traces.

I propose having a sanity check that looks for the arg[1] file existing and 
having the {{isFile()}} nature; exiting with text and an error if not.

 RunJar to fail with user-comprehensible error message if jar missing
 

 Key: HADOOP-8951
 URL: https://issues.apache.org/jira/browse/HADOOP-8951
 Project: Hadoop Common
  Issue Type: Improvement
  Components: util
Affects Versions: 1.1.0, 2.0.2-alpha
Reporter: Steve Loughran
Priority: Minor

 When the RunJar JAR is missing or not a file, exit with a meaningful message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing

2012-10-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13481454#comment-13481454
 ] 

Hudson commented on HADOOP-8951:


Integrated in Hadoop-trunk-Commit #2905 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/2905/])
HADOOP-8951. RunJar to fail with user-comprehensible error message if jar 
missing. Contributed by Steve Loughran. (Revision 1400921)

 Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1400921
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/RunJar.java


 RunJar to fail with user-comprehensible error message if jar missing
 

 Key: HADOOP-8951
 URL: https://issues.apache.org/jira/browse/HADOOP-8951
 Project: Hadoop Common
  Issue Type: Improvement
  Components: util
Affects Versions: 1.1.0, 2.0.2-alpha
Reporter: Steve Loughran
Assignee: Steve Loughran
Priority: Minor
 Attachments: HADOOP-8951.patch


 When the RunJar JAR is missing or not a file, exit with a meaningful message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing

2012-10-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13481472#comment-13481472
 ] 

Hudson commented on HADOOP-8951:


Integrated in Hadoop-trunk-Commit #2906 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/2906/])
Moved HADOOP-8951 from trunk to release 2.0.3 section in CHANGES.txt 
(Revision 1400929)

 Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1400929
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt


 RunJar to fail with user-comprehensible error message if jar missing
 

 Key: HADOOP-8951
 URL: https://issues.apache.org/jira/browse/HADOOP-8951
 Project: Hadoop Common
  Issue Type: Improvement
  Components: util
Affects Versions: 1.1.0, 2.0.2-alpha
Reporter: Steve Loughran
Assignee: Steve Loughran
Priority: Minor
 Fix For: 1.2.0, 2.0.3-alpha

 Attachments: HADOOP-8951.patch


 When the RunJar JAR is missing or not a file, exit with a meaningful message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira