TitanDB is no longer active. The project is now Datastax Graph and I haven't heard or seen any updates in open source.
http://www.slideshare.net/MohamedTaherAlRefaie/graph-databases-tinkerpop-and-titan-db
I did install it last year and it kind of works. Follow this:
http://s3.thinkaurelius.com/docs/titan/1.0.0/getting-started.html
Use this page to change your configuration to point to your HDP HBase
http://s3.thinkaurelius.com/docs/titan/1.0.0/configuration.html#_example_configurations
Download 1.0.0 with Hadoop 2 https://github.com/thinkaurelius/titan/wiki/Downloads
Try
Spark is not used in TitanDB, Spark is used with TinkerPop.
I would suggested to try Apache TinkerPop with the Hadoop Gremlin
http://tinkerpop.apache.org/
See instructions
http://tinkerpop.apache.org/docs/current/reference/#hadoop-gremlin
I think that may server your needs.