code: public VDirectory getRoot(ApplicationDefinition appDef) {
  	    VDirectory root = null;
  	    String tenantName = appDef.getTenantName();
  	    if(Utils.isEmpty(tenantName)) tenantName = TenantService.instance().getDefaultTenantName();
  	    //Tenant tenant = Tenant.getTenant(appDef);
  	    synchronized (m_tenantAppRoots) {
  	        Map<String, VDirectory> appRoots = m_tenantAppRoots.get(tenantName);
  	        if (appRoots == null) {
  	            appRoots = new HashMap<>();
  	            m_tenantAppRoots.put(tenantName, appRoots);
  	        }
              root = appRoots.get(appDef.getAppName());
  	        if (root == null) {
  	    	    Tenant tenant = Tenant.getTenant(appDef);
  	            root = new VDirectory(tenant, "OLAP").getDirectory("applications").getDirectory(appDef.getAppName());
  	            assert root != null;
  	            appRoots.put(appDef.getAppName(), root);
  	        }
  	    }
  	    return root;
  	}
docs: Returns $root/applications/<appName> from correct keyspace/OLAP CF