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

Hadoop QA commented on YARN-1405:
---------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12617535/YARN-1405.1.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-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/2617//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2617//console

This message is automatically generated.

> RM should crash and print permission error for nonwritable/readable local 
> path in yarn.resourcemanager.fs.state-store.uri
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-1405
>                 URL: https://issues.apache.org/jira/browse/YARN-1405
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.2.0
>            Reporter: Yesha Vora
>            Assignee: Jian He
>         Attachments: YARN-1405.1.patch, rm-threaddump.out
>
>
> Enable yarn.resourcemanager.recovery.enabled=true and Pass a local path to 
> yarn.resourcemanager.fs.state-store.uri. such as "file:///tmp/MYTMP"
> if the directory  /tmp/MYTMP is not readable or writable, RM should crash and 
> should print "Permission denied Error"
> Currently, RM throws "java.io.FileNotFoundException: File 
> file:/tmp/MYTMP/FSRMStateRoot/RMDTSecretManagerRoot does not exist" Error. RM 
> returns Exiting status 1 but RM process does not shutdown. 
> Snapshot of Resource manager log:
> 2013-09-27 18:31:36,621 INFO  security.NMTokenSecretManagerInRM 
> (NMTokenSecretManagerInRM.java:rollMasterKey(97)) - Rolling master-key for 
> nm-tokens
> 2013-09-27 18:31:36,694 ERROR resourcemanager.ResourceManager 
> (ResourceManager.java:serviceStart(640)) - Failed to load/recover state
> java.io.FileNotFoundException: File 
> file:/tmp/MYTMP/FSRMStateRoot/RMDTSecretManagerRoot does not exist
>         at 
> org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:379)
>         at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1478)
>         at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1518)
>         at 
> org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:564)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore.loadRMDTSecretManagerState(FileSystemRMStateStore.java:188)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore.loadState(FileSystemRMStateStore.java:112)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:635)
>         at 
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:855)
> 2013-09-27 18:31:36,697 INFO  util.ExitUtil (ExitUtil.java:terminate(124)) - 
> Exiting with status 1



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to