All Apache Thrift tutorials require that you have:
Generated the tutorial.thrift file as discussed here
thrift --gen erl tutorial.thrift
Followed all prerequesets listed