Package org.apache.hive.hcatalog.templeton

Examples of org.apache.hive.hcatalog.templeton.AppConfig


          InterruptedException {
    UserGroupInformation ugi = UserGroupInformation.getLoginUser();
    return ugi.doAs(new PrivilegedExceptionAction<URI>() {
      @Override
      public URI run() throws IOException {
        AppConfig appConfig = Main.getAppConfigInstance();
        String fsTmpDir = appConfig.get(TMP_DIR_PROP);
        if(fsTmpDir == null || fsTmpDir.length() <= 0) {
          LOG.warn("Could not find 'hadoop.tmp.dir'; " + affectedMsg);
          return null;
        }
        FileSystem fs = FileSystem.get(appConfig);
View Full Code Here

TOP

Related Classes of org.apache.hive.hcatalog.templeton.AppConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.