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

Hudson commented on AMBARI-20472:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7084 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/7084/])
AMBARI-20472 MapRed History server start does not create directories in (dili: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=395adf5af992fb43c13d1aa6092cca23c133ec66])
* (edit) 
contrib/fast-hdfs-resource/src/main/java/org/apache/ambari/fast_hdfs_resource/Runner.java
* (edit) 
ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-START/files/fast-hdfs-resource.jar
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/files/fast-hdfs-resource.jar


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