Пример #1
0
        public void CanDeserializeCoreSettings()
        {
            var converter             = new PayloadConverter();
            var coreComponentSettings = converter.DeserializeCoreSettings(CoreSiteSettings);

            Assert.IsNotNull(coreComponentSettings);
            AssertSettingValue(coreComponentSettings, "hadoop.tmp.dir", "/hdfs/tmp");
            AssertSettingValue(coreComponentSettings, "fs.trash.interval", "60");
        }
 public void CanDeserializeCoreSettings()
 {
     var converter = new PayloadConverter();
     var coreComponentSettings = converter.DeserializeCoreSettings(CoreSiteSettings);
     Assert.IsNotNull(coreComponentSettings);
     AssertSettingValue(coreComponentSettings, "hadoop.tmp.dir", "/hdfs/tmp");
     AssertSettingValue(coreComponentSettings, "fs.trash.interval", "60");
 }