about spark on hbase problem

2021-08-17 Thread igyu
System.setProperty("java.security.krb5.conf", config.getJSONObject("auth").getString("krb5")) val conf = HBaseConfiguration.create() val zookeeper = config.getString("zookeeper") val port = config.getString("port") conf.set(HConstants.ZOOKEEPER_QUORUM, zookeeper)

[question] what's the Hbase-spark module different with other two spark on Hbase

2018-07-11 Thread nurseryboy
Dear All I saw there is one Hbase-spark module in Hbase code and saw there is one jira for this: https://issues.apache.org/jira/browse/HBASE-13992 In this jira it's told the Hbase-spark module code initially from https://github.com/cloudera-labs/SparkOnHBase And in anther discuss list it's

[question] what's the Hbase-spark module different with other two spark on Hbase

2018-07-11 Thread nurseryboy
Dear All I saw there is one Hbase-spark module in Hbase code and saw there is one jira for this: https://issues.apache.org/jira/browse/HBASE-13992 In this jira it's told the Hbase-spark module code initially from https://github.com/cloudera-labs/SparkOnHBase And in anther discuss list it's

[question] what's the Hbase-spark module different with other two spark on Hbase

2018-07-11 Thread nurseryboy
Dear All I saw there is one Hbase-spark module in Hbase code and saw there is one jira for this: https://issues.apache.org/jira/browse/HBASE-13992 In this jira it's told the Hbase-spark module code initially from https://github.com/cloudera-labs/SparkOnHBase And in anther discuss list it's

[question] what's the Hbase-spark module different with other two spark on Hbase

2018-07-11 Thread nurseryboy
Dear All I saw there is one Hbase-spark module in Hbase code and saw there is one jira for this: https://issues.apache.org/jira/browse/HBASE-13992 In this jira it's told the Hbase-spark module code initially from https://github.com/cloudera-labs/SparkOnHBase And in anther discuss list it's

Re: [question] what's the Hbase-spark module different with other two spark on Hbase

2018-07-11 Thread Sean Busbey
The hbase-spark module in the HBase project (which hasn't yet made it into a release) is FWICT the eventual replacement for both the Cloudera Labs SparkOnHBase and the Hortonworks SHC. The code in the hbase-spark module started as an update of the SparkOnHBase code and then quickly expanded via

[question] what's the Hbase-spark module different with other two spark on Hbase

2018-07-11 Thread nurseryboy
Dear All I saw there is one Hbase-spark module in Hbase code and saw there is one jira for this: https://issues.apache.org/jira/browse/HBASE-13992 In this jira it's told the Hbase-spark module code initially from https://github.com/cloudera-labs/SparkOnHBase And in anther discuss list it's

[question] what's the Hbase-spark module different with other two spark on Hbase

2018-07-11 Thread nurseryboy
Dear All I saw there is one Hbase-spark module in Hbase code and saw there is one jira for this: https://issues.apache.org/jira/browse/HBASE-13992 In this jira it's told the Hbase-spark module code initially from https://github.com/cloudera-labs/SparkOnHBase And in anther discuss list it's

Re: How to set NameSpace while storing from Spark to HBase using saveAsNewAPIHadoopDataSet

2016-12-19 Thread Dhaval Modi
Replace with ":" Regards, Dhaval Modi On 19 December 2016 at 13:10, Rabin Banerjee <dev.rabin.baner...@gmail.com> wrote: > HI All, > > I am trying to save data from Spark into HBase using saveHadoopDataSet > API . Please refer the below code . Code is working fine

Re: How to set NameSpace while storing from Spark to HBase using saveAsNewAPIHadoopDataSet

2016-12-19 Thread Rabin Banerjee
Thanks , It worked !! On Mon, Dec 19, 2016 at 5:55 PM, Dhaval Modi <dhavalmod...@gmail.com> wrote: > > Replace with ":" > > Regards, > Dhaval Modi > > On 19 December 2016 at 13:10, Rabin Banerjee <dev.rabin.baner...@gmail.com > > wrote: > >&

How to set NameSpace while storing from Spark to HBase using saveAsNewAPIHadoopDataSet

2016-12-19 Thread Rabin Banerjee
HI All, I am trying to save data from Spark into HBase using saveHadoopDataSet API . Please refer the below code . Code is working fine .But the table is getting stored in the default namespace.how to set the NameSpace in the below code? wordCounts.foreachRDD ( rdd = { val conf

Re: Issues with Spark On Hbase Connector

2016-08-29 Thread Sachin Jain
View this message in context: http://apache-hbase.679495.n3. > nabble.com/Issues-with-Spark-On-Hbase-Connector-tp4082151p4082162.html > Sent from the HBase User mailing list archive at Nabble.com. >

Re: Issues with Spark On Hbase Connector

2016-08-29 Thread spats
Thanks Sachin. So it won't work with hbase 1.2.0 even if we use your code from shc branch? -- View this message in context: http://apache-hbase.679495.n3.nabble.com/Issues-with-Spark-On-Hbase-Connector-tp4082151p4082162.html Sent from the HBase User mailing list archive at Nabble.com.

Re: Issues with Spark On Hbase Connector

2016-08-29 Thread Sachin Jain
ortonworks.com > > > > FYI > > > > On Sun, Aug 28, 2016 at 6:45 PM, spats <spatil.sud...@gmail.com> wrote: > > > > > Regarding hbase connector by hortonworks > > > https://github.com/hortonworks-spark/shc, it would be great if someone > &g

Re: Issues with Spark On Hbase Connector

2016-08-28 Thread sudhir patil
ail.com> wrote: > > > Regarding hbase connector by hortonworks > > https://github.com/hortonworks-spark/shc, it would be great if someone > can > > answer these > > > > 1. What versions of Hbase & Spark expected? I could not run examples > > provided usi

Re: Issues with Spark On Hbase Connector

2016-08-28 Thread Ted Yu
can > answer these > > 1. What versions of Hbase & Spark expected? I could not run examples > provided using spark 1.6.0 & hbase 1.2.0 > 2. I get error when i run example provided here , any pointers on what i am > doing wrong? > > looks like spark not reading hb

Issues with Spark On Hbase Connector

2016-08-28 Thread spats
Regarding hbase connector by hortonworks https://github.com/hortonworks-spark/shc, it would be great if someone can answer these 1. What versions of Hbase & Spark expected? I could not run examples provided using spark 1.6.0 & hbase 1.2.0 2. I get error when i run example provided he

Re: Good connector libraries for Spark connecting to Hbase for Spark 1.3 Hbase 1.0

2016-04-22 Thread Sean Busbey
1.3, so I'd be interested in getting feedback. On Fri, Apr 22, 2016 at 7:01 PM, sudhir patil <spatil.sud...@gmail.com> wrote: > Connecting to kerborised hbase from spark is fixed in spark 1.4 , don't > think 1.3 works because kerberos issues. > https://issues.apache.org/jira/plugins

Re: Good connector libraries for Spark connecting to Hbase for Spark 1.3 Hbase 1.0

2016-04-22 Thread sudhir patil
Connecting to kerborised hbase from spark is fixed in spark 1.4 , don't think 1.3 works because kerberos issues. https://issues.apache.org/jira/plugins/servlet/mobile#issue/SPARK-6918 On Apr 23, 2016 5:35 AM, "Sean Busbey" <bus...@cloudera.com> wrote: > The HBase-Downs

Re: Good connector libraries for Spark connecting to Hbase for Spark 1.3 Hbase 1.0

2016-04-22 Thread Sean Busbey
The HBase-Downstreamer project has an example that uses the Java API for Spark Streaming on a secure cluster: https://github.com/saintstack/hbase-downstreamer#spark-streaming-test-application https://s.apache.org/apvQ We'd greatly like a Scala version. On Fri, Apr 22, 2016 at 4:16 PM, Nkechi

Re: Good connector libraries for Spark connecting to Hbase for Spark 1.3 Hbase 1.0

2016-04-22 Thread Nkechi Achara
echi Achara <nkach...@googlemail.com> > wrote: > > Hi, > > > > I am attempting to use both SpakOnHbase and Hbase-Spark, but I keep > > receiving dependency isues, and I am not sure if any of these connectors > > are available for Spark 1.3 / Hadoop 2.6 /

Re: Good connector libraries for Spark connecting to Hbase for Spark 1.3 Hbase 1.0

2016-04-22 Thread Sean Busbey
Are you attempting to use Spark's Java API or its Scala API? (or python, etc?) On Fri, Apr 22, 2016 at 2:24 PM, Nkechi Achara <nkach...@googlemail.com> wrote: > Hi, > > I am attempting to use both SpakOnHbase and Hbase-Spark, but I keep > receiving dependency isues, and I

Good connector libraries for Spark connecting to Hbase for Spark 1.3 Hbase 1.0

2016-04-22 Thread Nkechi Achara
Hi, I am attempting to use both SpakOnHbase and Hbase-Spark, but I keep receiving dependency isues, and I am not sure if any of these connectors are available for Spark 1.3 / Hadoop 2.6 / Hbase 1.0. Has anyone got a new library I can use, or a concrete example to use? Thanks, Keech

Re: [ERROR]: Spark 1.5.2 + Hbase 1.1 + Hive 1.2 + HbaseIntegration

2016-04-14 Thread Teng Qiu
forward you this mails, hope these can help you, you can take a look at this post http://www.abcn.net/2014/07/lighting-spark-with-hbase-full-edition.html 2016-03-04 3:30 GMT+01:00 Divya Gehlot <divya.htco...@gmail.com>: > Hi Teng, > > Thanks for the link you shared , helpe

Re: choosing between hbase-spark / spark-hbase

2016-04-10 Thread Ted Yu
ndency in maven repository, the > only dependency i can find is > > > org.apache.hbase > hbase-spark > 1.2.0-cdh5.7.0 > > > from cloudera maven repository, > > dependency specified in this page, was not able to resolve > > http://hbase.apache.org/h

Re: choosing between hbase-spark / spark-hbase

2016-04-10 Thread yeshwanth kumar
Thank you for the reply, i am having trouble in finding out the dependency in maven repository, the only dependency i can find is org.apache.hbase hbase-spark 1.2.0-cdh5.7.0 from cloudera maven repository, dependency specified in this page, was not able to resolve http

Re: choosing between hbase-spark / spark-hbase

2016-04-05 Thread Ted Yu
There are some outstanding bug fixes, e.g. HBASE-15333, for hbase-spark module. FYI On Tue, Apr 5, 2016 at 2:36 PM, Nkechi Achara <nkach...@googlemail.com> wrote: > So Hbase-spark is a continuation of the spark on hbase project, but within > the Hbase project. > They are not

Re: choosing between hbase-spark / spark-hbase

2016-04-05 Thread Nkechi Achara
So Hbase-spark is a continuation of the spark on hbase project, but within the Hbase project. They are not any significant differences apart from the fact that Spark on hbase is not updated. Dependent on the version you are using it would be more beneficial to use Hbase-Spark Kay On 5 Apr 2016 9

choosing between hbase-spark / spark-hbase

2016-04-05 Thread yeshwanth kumar
i have cloudera cluster, i am exploring spark with HBase, after going through this blog http://blog.cloudera.com/blog/2014/11/how-to-do-near-real-time-sessionization-with-spark-streaming-and-apache-hadoop/ i found two options for using Spark with HBase, Cloudera's Spark on HBase or Apache

Re: Spark on Hbase

2016-03-20 Thread Wojciech Indyk
Hello Rachana! I use HBase with Spark Streaming. My solution is to create a singleton with HConnection object for each JVM and refer there from foreachPartition(), creating table connection (it's cheap according to HBase documentation) for each streaming iteration. I close connections

Re: Spark on Hbase

2016-03-10 Thread anil gupta
Apart from Phoenix Spark connector. You can also have a look at: https://github.com/Huawei-Spark/Spark-SQL-on-HBase On Wed, Mar 9, 2016 at 4:58 PM, Divya Gehlot <divya.htco...@gmail.com> wrote: > I agree with Talat > As couldn't connect directly with Hbase > Connecting it

Re: Spark on Hbase

2016-03-09 Thread Divya Gehlot
onnection and broadcast the connection each API > call to get data from HBase is very expensive. I tried using > JavaHBaseContext (JavaHBaseContext hbaseContext = new JavaHBaseContext(jsc, > conf)) by using hbase-spark library in CDH 5.5 but I cannot import the > library from maven. Has a

Re: Spark on Hbase

2016-03-09 Thread Jean-Marc Spaggiari
baseTable); > > Since I cannot get the connection and broadcast the connection each API > > call to get data from HBase is very expensive. I tried using > > JavaHBaseContext (JavaHBaseContext hbaseContext = new > JavaHBaseContext(jsc, > > conf)) by using hbase-spark library in CD

Re: Spark on Hbase

2016-03-09 Thread Talat Uyarer
ast the connection each API call > to get data from HBase is very expensive. I tried using JavaHBaseContext > (JavaHBaseContext hbaseContext = new JavaHBaseContext(jsc, conf)) by using > hbase-spark library in CDH 5.5 but I cannot import the library from maven. > Has anyone been

Re: Spark on Hbase

2016-03-09 Thread Sean Busbey
very expensive. I tried using > JavaHBaseContext (JavaHBaseContext hbaseContext = new JavaHBaseContext(jsc, > conf)) by using hbase-spark library in CDH 5.5 but I cannot import the > library from maven. Has anyone been able to successfully resolve this > issue. > -- busbey

Spark on Hbase

2016-03-08 Thread Rachana Srivastava
API call to get data from HBase is very expensive.  I tried using JavaHBaseContext (JavaHBaseContext hbaseContext = new JavaHBaseContext(jsc, conf)) by using hbase-spark library in CDH 5.5 but I cannot import the library from maven.  Has anyone been able to successfully resolve this issue.

[ERROR]: Spark 1.5.2 + Hbase 1.1 + Hive 1.2 + HbaseIntegration

2016-02-29 Thread Divya Gehlot
Hi, I am getting error when I am trying to connect hive table (which is being created through HbaseIntegration) in spark Steps I followed : *Hive Table creation code *: CREATE EXTERNAL TABLE IF NOT EXISTS TEST(NAME STRING,AGE INT) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH