Esempio n. 1
0
 internal DebugCommand(DebugAdmin _enclosing, string name, string usageText, string
                       helpText)
 {
     this._enclosing = _enclosing;
     this.name       = name;
     this.usageText  = usageText;
     this.helpText   = helpText;
 }
Esempio n. 2
0
        public virtual void SetUp()
        {
            Configuration conf = new Configuration();

            cluster = new MiniDFSCluster.Builder(conf).NumDataNodes(1).Build();
            cluster.WaitActive();
            fs       = cluster.GetFileSystem();
            admin    = new DebugAdmin(conf);
            datanode = cluster.GetDataNodes()[0];
        }
Esempio n. 3
0
 internal VerifyBlockChecksumCommand(DebugAdmin _enclosing)
     : base(_enclosing)
 {
     this._enclosing = _enclosing;
 }
Esempio n. 4
0
        /// <exception cref="System.IO.IOException"/>
        public static void Main(string[] argsArray)
        {
            DebugAdmin debugAdmin = new DebugAdmin(new Configuration());

            System.Environment.Exit(debugAdmin.Run(argsArray));
        }
Esempio n. 5
0
 internal HelpCommand(DebugAdmin _enclosing)
     : base(_enclosing)
 {
     this._enclosing = _enclosing;
 }
Esempio n. 6
0
 internal RecoverLeaseCommand(DebugAdmin _enclosing)
     : base(_enclosing)
 {
     this._enclosing = _enclosing;
 }