amplab/tachyon — pull request #82 by GraceH (2013-12-03 01:52:45+00:00)
Title: Fix IAE in TachyonFS.createAndGetUserUnderfsTempFolder

Now if the user tries to write some files with TRY_TRHOUGH (i.e., onto the under file system HDFS), some java.lang.IllegalArgumentException is there, introduced by PR#77. here lists the stack trace.
```
java.lang.IllegalArgumentException (java.lang.IllegalArgumentException: tachyon.home is not configured.)

tachyon.CommonUtils.illegalArgumentException(CommonUtils.java:167)
tachyon.conf.Utils.getProperty(Utils.java:32)tachyon.conf.CommonConf.(CommonConf.java:37)
tachyon.conf.CommonConf.get(CommonConf.java:58)
tachyon.UnderFileSystemHdfs.(UnderFileSystemHdfs.java:60)
tachyon.UnderFileSystemHdfs.getClient(UnderFileSystemHdfs.java:52)
tachyon.UnderFileSystem.get(UnderFileSystem.java:51)
tachyon.client.TachyonFS.createAndGetUserUnderfsTempFolder(TachyonFS.java:311)
tachyon.client.FileOutStream.(FileOutStream.java:60)tachyon.client.TachyonFile.getOutStream(TachyonFile.java:77)
```

The problem is that TachyonFS tries to createAndGetUserUnderfsTempFolder over the underFS according to the scheme. Then, it read the fs.hdfs.impl using CommonUtils. However, CommonUtils only work for both Master and Worker instance, the tachyon.home is not necessary for the client side. Consequently, we will see the IAE above.

Here submits quick fix on this problem to make the client workable.