public _DataNode_169(DatanodeProtocolClientSideTranslatorPB namenode, Configuration
                      baseArg1, IList <StorageLocation> baseArg2, SecureDataNodeStarter.SecureResources
                      baseArg3)
     : base(baseArg1, baseArg2, baseArg3)
 {
     this.namenode = namenode;
 }
Exemple #2
0
        /// <exception cref="System.Exception"/>
        public virtual void Init(DaemonContext context)
        {
            System.Console.Error.WriteLine("Initializing secure datanode resources");
            // Create a new HdfsConfiguration object to ensure that the configuration in
            // hdfs-site.xml is picked up.
            Configuration conf = new HdfsConfiguration();

            // Stash command-line arguments for regular datanode
            args      = context.GetArguments();
            resources = GetSecureResources(conf);
        }