amplab/tachyon — pull request #71 by GraceH (2013-11-14 06:10:39+00:00)
Title: Fix the NPE in getClientBlockInfo while INode is a DIR

info.blockIds.size() doesn't check null pointer in getClientBlockInfo. It causes NPE while trying to getClientBlockInfo for a DIR. This problem can be reproduced by running following command:
```
$> bin/tachyon tfs location /
```
Now, it will check the INode type and return back an exception like
```
FileDoesNotExistException(message: File 1 is a folder.)
```
Any comment?