예제 #1
0
        public virtual void GetBackupNameServiceId()
        {
            Configuration conf = SetupAddress(DFSConfigKeys.DfsNamenodeBackupAddressKey);

            NUnit.Framework.Assert.AreEqual("nn1", DFSUtil.GetBackupNameServiceId(conf));
        }
예제 #2
0
 protected internal override string GetNameServiceId(Configuration conf)
 {
     return(DFSUtil.GetBackupNameServiceId(conf));
 }