Ejemplo n.º 1
0
 /**
  * Get the user temporary folder in the under file system of the specified user.
  *
  * <p>This method is a wrapper around {@link tachyon.Users#getUserUfsTempFolder(long)}, and as
  * such should be referentially transparent with {@link Users#getUserUfsTempFolder(long)}. In the
  * context of {@code this}, this call will output the result of path concat of {@link
  * #mUfsWorkerFolder} with the provided {@literal userId}.
  *
  * <p>This method differs from {@link #getUserLocalTempFolder(long)} in the context of where write
  * operations end up. This temp folder generated lives inside the {@link tachyon.UnderFileSystem},
  * and as such, will be stored remotely, most likely on disk.
  *
  * @param userId The id of the user
  * @return The user temporary folder in the under file system
  * @throws IOException
  */
 public String getUserUfsTempFolder(long userId) throws IOException {
   String ret = mUsers.getUserUfsTempFolder(userId);
   LOG.info("Return UserHdfsTempFolder for " + userId + " : " + ret);
   return ret;
 }