title: HiveContext: Can't able to view temp table via JDBC client
body: <blockquote>
    <p>In pyspark, </p>
  </blockquote>
  
  <p>registered a temp table</p>
  
  <pre><code>from pyspark import HiveContext
  sqlContext = HiveContext(sc)
  df = sqlContext.sql("select * from test").collect()
  df.registerTempTable("testing")
  sqlContext.sql("show tables").show()
  +--------------------+-----------+
  |           tableName|isTemporary|
  +--------------------+-----------+
  |             testing|       true|
  |               check|      false|
  +--------------------+-----------+
  </code></pre>
  
  <p>I can able to view the temp table "testing" from pyspark</p>
  
  <p>I started spark thrift server</p>
  
  <p>Started JDBC client and connected to spark thrift server,</p>
  
  <pre><code>$ ./bin/beeline
  beeline&gt; !connect jdbc:hive2://ip:10000
  Connecting to jdbc:hive2://ip:10000
  Enter username for jdbc:hive2://ip: 
  Enter password for jdbc:hive2://ip:10000:
  16/03/06 13:17:41 INFO jdbc.Utils: Supplied authorities: :10000
  16/03/06 13:17:41 INFO jdbc.Utils: Resolved authority: :10000
  16/03/06 13:17:41 INFO jdbc.HiveConnection: Will try to open client transport with JDBC Uri: jdbc:hive2://ip:10000
  Connected to: Spark SQL (version 1.5.2)
  Driver: Spark Project Core (version 1.5.2)
  Transaction isolation: TRANSACTION_REPEATABLE_READ
  0: jdbc:hive2://ip.&gt; show tables;
  +-------------+--------------+--+
  |  tableName  | isTemporary  |
  +-------------+--------------+--+
  | check       | false        |
  +-------------+--------------+--+
  2 rows selected (0.842 seconds)
  0: jdbc:hive2://ip.&gt;
  </code></pre>
  
  <p>I can't able to view the temp table.
  Is there something that I am missing?</p>