Exemplo n.º 1
0
        /// <exception cref="System.IO.IOException"/>
        public override IList <Org.Apache.Hadoop.Security.Token.Token <object> > GetDelegationTokens
            (string renewer)
        {
            //AbstractFileSystem
            Org.Apache.Hadoop.Security.Token.Token <DelegationTokenIdentifier> result = dfs.GetDelegationToken
                                                                                            (renewer == null ? null : new Text(renewer));
            IList <Org.Apache.Hadoop.Security.Token.Token <object> > tokenList = new AList <Org.Apache.Hadoop.Security.Token.Token
                                                                                            <object> >();

            tokenList.AddItem(result);
            return(tokenList);
        }