You can do it in several ways. The easiest one is to read the HBase table with Spark HBase connector (https://github.com/hortonworks-spark/shc) and to join the two dataframes. Another option is to map you dataframe and foreach line perform a Get request to HBase. Here you can find an example of performing a Get request to HBase via Java code.