> On 一月 12, 2016, 4:59 a.m., Matt wrote: > > I do not have much context on this one. > > > > Does the validation fail only because of the underscore in [RAM_DISK]?
Yes, dfs.datanode.data.dir should accept the underscore in [RAM_DISK]. If remove the underscore,the validation will succeed - yao ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42155/#review113931 ----------------------------------------------------------- On 一月 12, 2016, 2:06 a.m., yao lei wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42155/ > ----------------------------------------------------------- > > (Updated 一月 12, 2016, 2:06 a.m.) > > > Review request for Ambari, Andriy Babiichuk and Matt. > > > Bugs: AMBARI-14605 > https://issues.apache.org/jira/browse/AMBARI-14605 > > > Repository: ambari > > > Description > ------- > > HDFS now support four kinds of heterogeneous storage types: ARCHIVE, DISK, > SSD and RAM_DISK. > If we configure dfs.datanode.data.dir as [RAM_DISK]/anydir,it fails to > validate. > please see > https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html#Configuration > A > > > Diffs > ----- > > ambari-web/app/utils/validator.js 82c9f47 > ambari-web/test/utils/validator_test.js 5591aee > > Diff: https://reviews.apache.org/r/42155/diff/ > > > Testing > ------- > > Manually Tested. > But Ambari Web Unit Test fails in trunk for other reasons described in > https://builds.apache.org/job/Ambari-trunk-test-patch/4848//artifact/patch-work/testrun_ambari-web.txt > > > Thanks, > > yao lei > >
