[jira] [Commented] (HADOOP-9453) Configuration.loadResource should skip empty resources

2015-05-08 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-9453:
---

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply 
the patch during dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12586475/HADOOP-9453-002.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / c39012f |
| Console output | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/6553/console |


This message was automatically generated.

 Configuration.loadResource should skip empty resources
 --

 Key: HADOOP-9453
 URL: https://issues.apache.org/jira/browse/HADOOP-9453
 Project: Hadoop Common
  Issue Type: Improvement
  Components: conf
Affects Versions: 3.0.0
Reporter: Steve Loughran
Priority: Minor
 Attachments: HADOOP-9453-002.patch, HADOOP-9453.patch


 YARN-535 shows that having a 0-byte {yarn-site}} file (created due to the 
 test itself) breaks configuration loads, as it is a default resource that no 
 longer parses.
 The resource loader code skips missing files -it should do the same for 
 0-byte files.



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


[jira] [Commented] (HADOOP-9453) Configuration.loadResource should skip empty resources

2015-03-09 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-9453:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12586475/HADOOP-9453-002.patch
  against trunk revision de1101c.

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/5893//console

This message is automatically generated.

 Configuration.loadResource should skip empty resources
 --

 Key: HADOOP-9453
 URL: https://issues.apache.org/jira/browse/HADOOP-9453
 Project: Hadoop Common
  Issue Type: Improvement
  Components: conf
Affects Versions: 3.0.0
Reporter: Steve Loughran
Priority: Minor
 Attachments: HADOOP-9453-002.patch, HADOOP-9453.patch


 YARN-535 shows that having a 0-byte {yarn-site}} file (created due to the 
 test itself) breaks configuration loads, as it is a default resource that no 
 longer parses.
 The resource loader code skips missing files -it should do the same for 
 0-byte files.



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


[jira] [Commented] (HADOOP-9453) Configuration.loadResource should skip empty resources

2013-04-09 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HADOOP-9453:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12577803/HADOOP-9453.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}.  The javadoc tool did not generate any 
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 1.3.9) 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-common-project/hadoop-common.

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

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

This message is automatically generated.

 Configuration.loadResource should skip empty resources
 --

 Key: HADOOP-9453
 URL: https://issues.apache.org/jira/browse/HADOOP-9453
 Project: Hadoop Common
  Issue Type: Improvement
  Components: conf
Affects Versions: 3.0.0
Reporter: Steve Loughran
Priority: Minor
 Attachments: HADOOP-9453.patch


 YARN-535 shows that having a 0-byte {yarn-site}} file (created due to the 
 test itself) breaks configuration loads, as it is a default resource that no 
 longer parses.
 The resource loader code skips missing files -it should do the same for 
 0-byte files.

--
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-9453) Configuration.loadResource should skip empty resources

2013-04-03 Thread Steve Loughran (JIRA)

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

Steve Loughran commented on HADOOP-9453:


Stack trace on a load (with HADOOP-9447 applied to identify resource at fault)

{code}
org.apache.hadoop.yarn.applications.unmanagedamlauncher.TestUnmanagedAMLauncher 
 Time elapsed: 515 sec   ERROR!
java.lang.RuntimeException: Error parsing 'yarn-site.xml' : 
org.xml.sax.SAXParseException: Premature end of file.
at 
org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2050)
at 
org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1899)
at 
org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1816)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:719)
at 
org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:738)
at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:948)
at org.apache.hadoop.security.Groups.init(Groups.java:62)
at 
org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:182)
at 
org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:244)
at 
org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:213)
at 
org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:674)
at 
org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:582)
at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:458)
at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:439)
at 
org.apache.hadoop.fs.FileContext.getLocalFSFileContext(FileContext.java:425)
at 
org.apache.hadoop.yarn.server.MiniYARNCluster.init(MiniYARNCluster.java:93)
at 
org.apache.hadoop.yarn.applications.unmanagedamlauncher.TestUnmanagedAMLauncher.setup(TestUnmanagedAMLauncher.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
{code}

 Configuration.loadResource should skip empty resources
 --

 Key: HADOOP-9453
 URL: https://issues.apache.org/jira/browse/HADOOP-9453
 Project: Hadoop Common
  Issue Type: Improvement
  Components: conf
Affects Versions: 3.0.0
Reporter: Steve Loughran
Priority: Minor

 YARN-535 shows that having a 0-byte {yarn-site}} file (created due to the 
 test itself) breaks configuration loads, as it is a default resource that no 
 longer parses.
 The resource loader code skips missing files -it should do the same for 
 0-byte files.

--
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