<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Read HBase Table by using Spark/Scala in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Read-HBase-Table-by-using-Spark-Scala/m-p/164293#M126663</link>
    <description>&lt;P&gt;Please show me the codes to read HBase table in two ways:&lt;/P&gt;&lt;P&gt;a) Spark/Sala RELP, and&lt;/P&gt;&lt;P&gt;b) Scala project with build.sbt.&lt;/P&gt;&lt;P&gt;Let's say the table DDL and DML is as following from Tutorialspoint:&lt;/P&gt;&lt;P&gt;create 'emp', 'personal data', 'professional data'&lt;/P&gt;&lt;P&gt;put 'emp','1','personal data:name','raju'&lt;/P&gt;&lt;P&gt;put 'emp','1','personal data:city','hyderabad'&lt;/P&gt;&lt;P&gt;put 'emp','1','professional data:designation','manager'&lt;/P&gt;&lt;P&gt;put 'emp','1','professional data:salary','50000'&lt;/P&gt;&lt;P&gt;I have no problems to do it in Java (with Maven); however, I have difficulties to do in Spark/Scala for not finding objects. Can anybody shed some light on it?&lt;/P&gt;&lt;P&gt;09/07/16:&lt;/P&gt;&lt;P&gt;I read "&lt;A target="_blank" href="http://hortonworks.com/blog/spark-hbase-dataframe-based-hbase-connector/"&gt; SPARK-ON-HBASE: DATAFRAME BASED HBASE CONNECTOR&lt;/A&gt;" ( &lt;A target="_blank" href="https://github.com/hortonworks-spark/shc"&gt;Github&lt;/A&gt; ) and saw the parameters for running spark-shell. In addition, I referred the example Scala code in 80.3 of "Apache HBase Reference Guide", I was able to solve it. Please see attached if you want to have a quick start. Also, I am anxious to try HBase Connector with HDP 2.5. Thank you.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/7435-scala-hortonworks-community.zip"&gt;scala-hortonworks-community.zip&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2016 03:32:22 GMT</pubDate>
    <dc:creator>Howchoy</dc:creator>
    <dc:date>2016-08-04T03:32:22Z</dc:date>
  </channel>
</rss>

