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#getUserUnderfsTempFolder(long)}, and as
  * such should be referentially transparent with {@link Users#getUserUnderfsTempFolder(long)}. In
  * the context of {@code this}, this call will output the result of path concat of {@link
  * #mUnderfsWorkerFolder} with the provided {@literal userId}.
  *
  * <p>This method differs from {@link #getUserTempFolder(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 TException
  */
 public String getUserUnderfsTempFolder(long userId) throws TException {
   String ret = mUsers.getUserUnderfsTempFolder(userId);
   LOG.info("Return UserHdfsTempFolder for " + userId + " : " + ret);
   return ret;
 }