Example usage for org.apache.hadoop.fs DelegationTokenRenewer getInstance

List of usage examples for org.apache.hadoop.fs DelegationTokenRenewer getInstance

Introduction

In this page you can find the example usage for org.apache.hadoop.fs DelegationTokenRenewer getInstance.

Prototype

public static synchronized DelegationTokenRenewer getInstance() 

Source Link

Usage

From source file:com.bigstep.datalake.TokenAspect.java

License:Apache License

private synchronized void addRenewAction(final T webhdfs) {
    if (dtRenewer == null) {
        dtRenewer = DelegationTokenRenewer.getInstance();
    }/*ww  w.j  a  v a 2  s  .  c  om*/

    action = dtRenewer.addRenewAction(webhdfs);
}