             (install-tidb! node)
             
             (when (= node :n1)
-              ;(install-hbase! node)
+              (install-hbase! node)
               (start-hbase! node)
               (start-tso-server! node)
-              (Thread/sleep 5000))
+              (Thread/sleep 10000)
+              (setup-db! node))
             
             (jepsen/synchronize test)
             (start-tidb-server! node)
             
-            (Thread/sleep 1000)
             (jepsen/synchronize test)
             (info node "set up"))
     

               (stop-tidb-server! node)
               (when (= node :n1)
                 (stop-tso-server! node)
                 ; (stop-hbase! node)
                 )
               (info node "tore down"))))


          (c/exec :tar :xzf "tso-server.tar.gz")
          (c/exec :chmod :+x "tso-server")
          (c/exec :mv :-f "tso-server" "/root")
          
          (info node "installing interpreter")
          (c/exec :tar :xzf "interpreter.tar.gz")
          (c/exec :chmod :+x "interpreter")
          (c/exec :mv :-f "interpreter" "/root")
          
          (info node "installing themis")
          (c/exec :cp :-f "themis-coprocessor-1.0-SNAPSHOT-jar-with-dependencies.jar" "/root/hbase/lib")
          (c/exec :cp :-f "hbase-site.xml" "/root/hbase/conf")
