----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51898/#review149039 -----------------------------------------------------------
ambari-server/src/main/resources/scripts/Ambaripreupload.py (line 344) <https://reviews.apache.org/r/51898/#comment216583> Why did you change Directory into mkdir. Directory is basically much more flexible in terms of some special cases, error handling etc. - Andrew Onischuk On Sept. 14, 2016, 8:11 p.m., Aravindan Vijayan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/51898/ > ----------------------------------------------------------- > > (Updated Sept. 14, 2016, 8:11 p.m.) > > > Review request for Ambari, Andrew Onischuk and Sumit Mohanty. > > > Bugs: AMBARI-18392 > https://issues.apache.org/jira/browse/AMBARI-18392 > > > Repository: ambari > > > Description > ------- > > Exception Trace > {code} > Error accessing file:/usr/hdp/2.5.1.0-28/oozie/share/lib/spark > azure: java.io.IOException: Error accessing > file:/usr/hdp/2.5.1.0-28/oozie/share/lib/spark > azure: at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1536) > azure: at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1574) > azure: at > org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:676) > azure: at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:357) > azure: at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:359) > azure: at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:359) > azure: at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:341) > azure: at > org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1986) > azure: at > org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1954) > azure: at > org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1919) > azure: at > org.apache.ambari.fast_hdfs_resource.Resource.createResource(Resource.java:216) > azure: at org.apache.ambari.fast_hdfs_resource.Runner.main(Runner.java:83) > azure: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > azure: at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > azure: at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > azure: at java.lang.reflect.Method.invoke(Method.java:498) > azure: at org.apache.hadoop.util.RunJar.run(RunJar.java:233) > azure: at org.apache.hadoop.util.RunJar.main(RunJar.java:148) > {code} > > RC > Not all the required directories were created on the DFS as part of the sys > prep thus both Application Timeline server and Resource Manager are failing. > > > Diffs > ----- > > ambari-server/src/main/resources/scripts/Ambaripreupload.py 09dcd7e > > Diff: https://reviews.apache.org/r/51898/diff/ > > > Testing > ------- > > Manual testing. > > > Thanks, > > Aravindan Vijayan > >