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

Hadoop QA commented on AMBARI-20472:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12858995/AMBARI-20472.patch
  against trunk revision .

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler 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 
contrib/fast-hdfs-resource.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/11046//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/11046//console

This message is automatically generated.

> MapRed History server start does not create directories in HDFS when WEBHDFS 
> is disabled.
> -----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20472
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20472
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Di Li
>            Assignee: Di Li
>             Fix For: trunk
>
>         Attachments: AMBARI-20472.patch
>
>
> MapRed HistoryServer start logic (implemented in yarn.py) creates various 
> dirs in HDFS. The dir creation only runs thru when WEBHDFS is enabled. When 
> WEBHDFS is disabled, HdfsResource calls bailed with NPE as the following one.
> Creating: Resource [source=null, target=/app-logs, type=directory, 
> action=create, owner=yarn, group=hadoop, mode=777, recursiveChown=false, 
> recursiveChmod=true, changePermissionforParents=false, manageIfExists=false]
> Exception occurred, Reason: null
> java.lang.NullPointerException
>       at org.apache.hadoop.fs.FileSystem.fixRelativePart(FileSystem.java:2211)
>       at 
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1300)
>       at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1426)
>       at org.apache.ambari.fast_hdfs_resource.Runner.main(Runner.java:80)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to