[jira] [Commented] (HBASE-21446) [hbase-connectors] Update spark and scala versions; add some doc on how to generate artifacts with different versions

2018-11-06 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-21446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677681#comment-16677681
 ] 

ASF GitHub Bot commented on HBASE-21446:


saintstack opened a new pull request #9: HBASE-21446 [hbase-connectors] Update 
spark and scala versions;
URL: https://github.com/apache/hbase-connectors/pull/9
 
 
   add some doc on how to generate artifacts with different versions


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> [hbase-connectors] Update spark and scala versions; add some doc on how to 
> generate artifacts with different versions
> -
>
> Key: HBASE-21446
> URL: https://issues.apache.org/jira/browse/HBASE-21446
> Project: HBase
>  Issue Type: Bug
>  Components: hbase-connectors, spark
>Reporter: stack
>Assignee: stack
>Priority: Major
> Fix For: connector-1.0.0
>
>
> Our spark version was 2.1.1. and scala 2.11.8. Update to 2.4.0/2.11.12.
> Add doc on how to generate artifacts that use different spark and scala.
> Scala 2.10.x and 2.12.x need work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-21446) [hbase-connectors] Update spark and scala versions; add some doc on how to generate artifacts with different versions

2018-11-06 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-21446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677683#comment-16677683
 ] 

ASF GitHub Bot commented on HBASE-21446:


saintstack closed pull request #9: HBASE-21446 [hbase-connectors] Update spark 
and scala versions;
URL: https://github.com/apache/hbase-connectors/pull/9
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/spark/README.md b/spark/README.md
index dcd11c7..acb46bc 100755
--- a/spark/README.md
+++ b/spark/README.md
@@ -1 +1,11 @@
 # Apache HBase Spark Connector
+
+## Scala and Spark Versions
+
+To generate an artifact for a different [spark 
version](https://mvnrepository.com/artifact/org.apache.spark/spark-core) and/or 
[scala version](https://www.scala-lang.org/download/all.html), pass 
command-line options as follows (changing version numbers appropriately):
+
+```
+$ mvn -Dspark.version=2.2.2 -Dscala.version=2.11.7 -Dscala.binary.version=2.11 
clean install
+```
+
+Spark 2.1.x, 2.2.x, 2.3.x, and 2.4.0 work as does scala 2.11.x. Scala 2.12.x 
and 2.10.x need work.
diff --git a/spark/hbase-spark/pom.xml b/spark/hbase-spark/pom.xml
index aed7da0..4554ceb 100644
--- a/spark/hbase-spark/pom.xml
+++ b/spark/hbase-spark/pom.xml
@@ -1,6 +1,5 @@
 
 
-2.11.8
+2.11.12
 2.11
 3.2.11
   


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> [hbase-connectors] Update spark and scala versions; add some doc on how to 
> generate artifacts with different versions
> -
>
> Key: HBASE-21446
> URL: https://issues.apache.org/jira/browse/HBASE-21446
> Project: HBase
>  Issue Type: Bug
>  Components: hbase-connectors, spark
>Reporter: stack
>Assignee: stack
>Priority: Major
> Fix For: connector-1.0.0
>
>
> Our spark version was 2.1.1. and scala 2.11.8. Update to 2.4.0/2.11.12.
> Add doc on how to generate artifacts that use different spark and scala.
> Scala 2.10.x and 2.12.x need work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)