conf.setInt(StorageServiceConfigKeys.PROXY_RPC_PORT_KEY, 0);
cluster = new MiniAvatarCluster(conf, 2, true, null, null, 1, true);
fs = cluster.getFileSystem(0);
metaInfo = new RequestMetaInfo(conf.getInt(FSConstants.DFS_CLUSTER_ID,
RequestMetaInfo.NO_CLUSTER_ID), cluster.getNameNode(0).getNameserviceId(),
RequestMetaInfo.NO_NAMESPACE_ID, RequestMetaInfo.NO_APPLICATION_ID,
(UnixUserGroupInformation) UserGroupInformation.getUGI(conf));
proxy = new ClientProxyService(new ClientProxyCommons(conf, conf.get(